Searched refs:idbuf (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/arch/m68k/sun3/prom/ |
H A D | misc.c | 51 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the 52 * format type. 'num_bytes' is the number of bytes that your idbuf 56 prom_get_idprom(char *idbuf, int num_bytes) prom_get_idprom() argument 69 idbuf[i] = c; prom_get_idprom() 72 return idbuf[0]; prom_get_idprom()
|
/linux-4.4.14/arch/sparc/prom/ |
H A D | misc_32.c | 91 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the 92 * format type. 'num_bytes' is the number of bytes that your idbuf 96 prom_get_idprom(char *idbuf, int num_bytes) prom_get_idprom() argument 102 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) prom_get_idprom() 103 return idbuf[0]; prom_get_idprom()
|
H A D | misc_64.c | 147 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the 148 * format type. 'num_bytes' is the number of bytes that your idbuf 151 unsigned char prom_get_idprom(char *idbuf, int num_bytes) prom_get_idprom() argument 158 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) prom_get_idprom() 159 return idbuf[0]; prom_get_idprom()
|
/linux-4.4.14/arch/sh/drivers/pci/ |
H A D | pci-dreamcast.c | 56 char idbuf[16]; gapspci_init() local 67 idbuf[i] = inb(GAPSPCI_REGS+i); gapspci_init() 69 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) gapspci_init()
|
/linux-4.4.14/arch/m68k/sun3x/ |
H A D | prom.c | 151 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the 152 * format type. 'num_bytes' is the number of bytes that your idbuf 156 prom_get_idprom(char *idbuf, int num_bytes) prom_get_idprom() argument 162 idbuf[i] = ((char *)SUN3X_IDPROM)[i]; prom_get_idprom() 164 return idbuf[0]; prom_get_idprom()
|
/linux-4.4.14/drivers/input/joystick/ |
H A D | sidewinder.c | 593 unsigned char *idbuf = NULL; /* [SW_LENGTH] */ sw_connect() local 601 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); sw_connect() 602 if (!sw || !buf || !idbuf) { sw_connect() 634 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ sw_connect() 635 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ sw_connect() 648 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ sw_connect() 695 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); sw_connect() 706 sw_3dp_id(idbuf, comment, sizeof(comment)); sw_connect() 716 sw_print_packet("ID", j * 3, idbuf, 3); sw_connect() 723 sw_print_packet("ID", j * 3, idbuf, 3); sw_connect() 787 kfree(idbuf); sw_connect()
|
/linux-4.4.14/drivers/net/wireless/orinoco/ |
H A D | hw.c | 463 struct hermes_idstring idbuf; orinoco_hw_program_rids() local 528 idbuf.len = cpu_to_le16(strlen(priv->desired_essid)); orinoco_hw_program_rids() 529 memcpy(&idbuf.val, priv->desired_essid, sizeof(idbuf.val)); orinoco_hw_program_rids() 533 &idbuf); orinoco_hw_program_rids() 541 &idbuf); orinoco_hw_program_rids() 549 idbuf.len = cpu_to_le16(strlen(priv->nick)); orinoco_hw_program_rids() 550 memcpy(&idbuf.val, priv->nick, sizeof(idbuf.val)); orinoco_hw_program_rids() 553 &idbuf); orinoco_hw_program_rids() 1282 struct hermes_idstring idbuf; orinoco_hw_trigger_scan() local 1285 idbuf.len = cpu_to_le16(len); orinoco_hw_trigger_scan() 1286 memcpy(idbuf.val, ssid->ssid, len); orinoco_hw_trigger_scan() 1291 &idbuf); orinoco_hw_trigger_scan()
|
Completed in 285 milliseconds