Home
last modified time | relevance | path

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

/linux-2.4.37.9/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.4.37.9/arch/m68k/sun3x/
Dprom.c165 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
171 idbuf[i] = ((char *)SUN3X_IDPROM)[i]; in prom_get_idprom()
173 return idbuf[0]; in prom_get_idprom()
/linux-2.4.37.9/arch/sparc/prom/
Dmisc.c116 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
122 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
123 return idbuf[0]; in prom_get_idprom()
/linux-2.4.37.9/arch/sparc64/prom/
Dmisc.c127 prom_get_idprom(char *idbuf, int num_bytes) in prom_get_idprom() argument
133 if(!prom_getproperty(prom_root_node, "idprom", idbuf, num_bytes)) in prom_get_idprom()
134 return idbuf[0]; in prom_get_idprom()
/linux-2.4.37.9/arch/sh/kernel/
Dpci-dc.c185 char idbuf[16]; in gapspci_init() local
188 idbuf[i]=inb(GAPSPCI_REGS+i); in gapspci_init()
190 if(strncmp(idbuf, "GAPSPCI_BRIDGE_2", 16)) in gapspci_init()
/linux-2.4.37.9/drivers/char/joystick/
Dsidewinder.c566 unsigned char idbuf[SW_LENGTH]; in sw_connect() local
602 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Read ID. This initializes the stick */ in sw_connect()
603 m |= sw_guess_mode(idbuf, j); /* ID packet should carry mode info [3DP] */ in sw_connect()
612 j = sw_read_packet(gameport, idbuf, SW_LENGTH, i); /* Retry reading ID */ in sw_connect()
659 sprintf(comment, " [AC %s]", sw_get_bits(idbuf,38,1,3) ? "off" : "on"); in sw_connect()
667 if (j == 160) sw_3dp_id(idbuf, comment); in sw_connect()
677 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
683 sw_print_packet("ID", j * 3, idbuf, 3); in sw_connect()
/linux-2.4.37.9/drivers/net/wireless/
Dorinoco.c738 struct hermes_idstring idbuf; in __orinoco_program_rids() local
785 idbuf.len = cpu_to_le16(strlen(priv->desired_essid)); in __orinoco_program_rids()
786 memcpy(&idbuf.val, priv->desired_essid, sizeof(idbuf.val)); in __orinoco_program_rids()
790 &idbuf); in __orinoco_program_rids()
797 &idbuf); in __orinoco_program_rids()
804 idbuf.len = cpu_to_le16(strlen(priv->nick)); in __orinoco_program_rids()
805 memcpy(&idbuf.val, priv->nick, sizeof(idbuf.val)); in __orinoco_program_rids()
808 &idbuf); in __orinoco_program_rids()