Home
last modified time | relevance | path

Searched refs:idbuf (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/arch/m68k/sun3/prom/
Dmisc.c57 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()
/Linux-v6.6/arch/sh/drivers/pci/
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()
/Linux-v6.6/arch/sparc/prom/
Dmisc_32.c97 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()
Dmisc_64.c152 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()
/Linux-v6.6/arch/m68k/sun3x/
Dprom.c155 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()
/Linux-v6.6/drivers/input/joystick/
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, 3); in sw_connect()
[all …]
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/
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; in orinoco_hw_trigger_scan() local
1291 idbuf.len = cpu_to_le16(len); in orinoco_hw_trigger_scan()
[all …]
/Linux-v6.6/fs/afs/
Dvolume.c320 char idbuf[16]; in afs_update_volume_status() local
328 idsz = sprintf(idbuf, "%llu", volume->vid); in afs_update_volume_status()
330 vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz); in afs_update_volume_status()