Home
last modified time | relevance | path

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

/linux/arch/m68k/sun3/prom/
A 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/arch/sh/drivers/pci/
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()
/linux/arch/sparc/prom/
A 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()
A 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/drivers/input/joystick/
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()
683 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect()
696 sw_3dp_id(idbuf, comment, sizeof(comment)); in sw_connect()
706 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
713 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
[all …]
/linux/arch/m68k/sun3x/
A 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/drivers/net/wireless/intersil/orinoco/
A Dhw.c463 struct hermes_idstring idbuf; in orinoco_hw_program_rids() local
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()
1286 struct hermes_idstring idbuf; in orinoco_hw_trigger_scan() local
1289 idbuf.len = cpu_to_le16(len); in orinoco_hw_trigger_scan()
1290 memcpy(idbuf.val, ssid->ssid, len); in orinoco_hw_trigger_scan()
[all …]
/linux/fs/afs/
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 16 milliseconds