Home
last modified time | relevance | path

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

/linux-2.6.39/arch/m68k/sun3/prom/
Dmisc.c56 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
69 idbuf[i] = c; in prom_get_idprom()
72 return idbuf[0]; in prom_get_idprom()
/linux-2.6.39/arch/sh/drivers/pci/
Dpci-dreamcast.c56 char idbuf[16]; in gapspci_init() local
67 idbuf[i] = inb(GAPSPCI_REGS+i); in gapspci_init()
69 if (strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) in gapspci_init()
/linux-2.6.39/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.c157 unsigned char prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
164 if (!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
165 return idbuf[0]; in prom_get_idprom()
/linux-2.6.39/arch/m68k/sun3x/
Dprom.c157 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
163 idbuf[i] = ((char *)SUN3X_IDPROM)[i]; in prom_get_idprom()
165 return idbuf[0]; in prom_get_idprom()
/linux-2.6.39/drivers/input/joystick/
Dsidewinder.c594 unsigned char *idbuf = NULL; /* [SW_LENGTH] */ in sw_connect() local
602 idbuf = kmalloc(SW_LENGTH, GFP_KERNEL); in sw_connect()
603 if (!sw || !buf || !idbuf) { in sw_connect()
635 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
636 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ in sw_connect()
649 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect()
696 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect()
707 sw_3dp_id(idbuf, comment, sizeof(comment)); in sw_connect()
717 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
724 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
[all …]
/linux-2.6.39/drivers/net/wireless/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()
1282 struct hermes_idstring idbuf; in orinoco_hw_trigger_scan() local
1285 idbuf.len = cpu_to_le16(len); in orinoco_hw_trigger_scan()
[all …]