Home
last modified time | relevance | path

Searched refs:idbuf (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/arch/m68k/sun3/prom/
H A Dmisc.c52 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
53 * format type. 'num_bytes' is the number of bytes that your idbuf
57 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
70 idbuf[i] = c; in prom_get_idprom()
73 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-6.6/arch/m68k/sun3/prom/
H A Dmisc.c52 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
53 * format type. 'num_bytes' is the number of bytes that your idbuf
57 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
70 idbuf[i] = c; in prom_get_idprom()
73 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-5.10/arch/m68k/sun3x/
H A Dprom.c151 /* 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) in prom_get_idprom() argument
162 idbuf[i] = ((char *)SUN3X_IDPROM)[i]; in prom_get_idprom()
164 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-5.10/arch/sparc/prom/
H A Dmisc_32.c92 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
93 * format type. 'num_bytes' is the number of bytes that your idbuf
97 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
103 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
104 return idbuf[0]; in prom_get_idprom()
H A Dmisc_64.c148 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
149 * format type. 'num_bytes' is the number of bytes that your idbuf
152 unsigned char prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
159 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
160 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-5.10/arch/sh/drivers/pci/
H A Dpci-dreamcast.c53 char idbuf[16]; in gapspci_init() local
64 idbuf[i] = inb(GAPSPCI_REGS+i); in gapspci_init()
66 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) in gapspci_init()
/kernel/linux/linux-6.6/arch/m68k/sun3x/
H A Dprom.c150 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
151 * format type. 'num_bytes' is the number of bytes that your idbuf
155 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
161 idbuf[i] = ((char *)SUN3X_IDPROM)[i]; in prom_get_idprom()
163 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-6.6/arch/sh/drivers/pci/
H A Dpci-dreamcast.c53 char idbuf[16]; in gapspci_init() local
64 idbuf[i] = inb(GAPSPCI_REGS+i); in gapspci_init()
66 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) in gapspci_init()
/kernel/linux/linux-6.6/arch/sparc/prom/
H A Dmisc_32.c92 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
93 * format type. 'num_bytes' is the number of bytes that your idbuf
97 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
103 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
104 return idbuf[0]; in prom_get_idprom()
H A Dmisc_64.c148 /* Get the idprom and stuff it into buffer 'idbuf'. Returns the
149 * format type. 'num_bytes' is the number of bytes that your idbuf
152 unsigned char prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
159 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
160 return idbuf[0]; in prom_get_idprom()
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dsidewinder.c577 unsigned char *idbuf = NULL; /* [SW_LENGTH] */ in sw_connect() local
585 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
586 if (!sw || !buf || !idbuf) { in sw_connect()
618 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
619 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ in sw_connect()
632 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect()
682 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect()
695 sw_3dp_id(idbuf, comment, sizeof(comment)); in sw_connect()
705 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
712 sw_print_packet("ID", j * 3, idbuf, in sw_connect()
[all...]
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Dsidewinder.c574 unsigned char *idbuf = NULL; /* [SW_LENGTH] */ in sw_connect() local
582 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
583 if (!sw || !buf || !idbuf) { in sw_connect()
615 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
616 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ in sw_connect()
629 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect()
680 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect()
693 sw_3dp_id(idbuf, comment, sizeof(comment)); in sw_connect()
703 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
710 sw_print_packet("ID", j * 3, idbuf, in sw_connect()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/
H A Dhw.c463 struct hermes_idstring idbuf; in orinoco_hw_program_rids() local
528 idbuf.len = cpu_to_le16(strlen(priv->desired_essid)); in orinoco_hw_program_rids()
529 memcpy(&idbuf.val, priv->desired_essid, sizeof(idbuf.val)); in orinoco_hw_program_rids()
533 &idbuf); in orinoco_hw_program_rids()
541 &idbuf); in orinoco_hw_program_rids()
549 idbuf.len = cpu_to_le16(strlen(priv->nick)); in orinoco_hw_program_rids()
550 memcpy(&idbuf.val, priv->nick, sizeof(idbuf.val)); in orinoco_hw_program_rids()
553 &idbuf); in orinoco_hw_program_rids()
1284 struct hermes_idstring idbuf; orinoco_hw_trigger_scan() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/
H A Dhw.c463 struct hermes_idstring idbuf; in orinoco_hw_program_rids() local
528 idbuf.len = cpu_to_le16(strlen(priv->desired_essid)); in orinoco_hw_program_rids()
529 memcpy(&idbuf.val, priv->desired_essid, sizeof(idbuf.val)); in orinoco_hw_program_rids()
533 &idbuf); in orinoco_hw_program_rids()
541 &idbuf); in orinoco_hw_program_rids()
549 idbuf.len = cpu_to_le16(strlen(priv->nick)); in orinoco_hw_program_rids()
550 memcpy(&idbuf.val, priv->nick, sizeof(idbuf.val)); in orinoco_hw_program_rids()
553 &idbuf); in orinoco_hw_program_rids()
1288 struct hermes_idstring idbuf; orinoco_hw_trigger_scan() local
[all...]
/kernel/linux/linux-6.6/fs/afs/
H A Dvolume.c340 char idbuf[24]; in afs_update_volume_status() local
348 idsz = snprintf(idbuf, sizeof(idbuf), "%llu", volume->vid); in afs_update_volume_status()
350 vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz); in afs_update_volume_status()
/kernel/linux/linux-5.10/fs/afs/
H A Dvolume.c305 char idbuf[16]; in afs_update_volume_status() local
313 idsz = sprintf(idbuf, "%llu", volume->vid); in afs_update_volume_status()
315 vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz); in afs_update_volume_status()

Completed in 9 milliseconds