Lines Matching refs:u_char
511 u_char *gep; /* Start of GEP sequence block in SROM */
512 u_char *rst; /* Start of reset sequence in SROM */
523 u_char mc; /* Media Code */
524 u_char ext; /* csr13-15 valid when set */
853 u_char *rst; /* Pointer to Type 5 reset info */
854 u_char ibn; /* Infoblock number */
878 u_char addr[ETH_ALEN];
958 static short srom_rd(u_long address, u_char offset);
961 static void srom_address(u_int command, u_long address, u_char offset);
969 static void srom_exec(struct net_device *dev, u_char *p);
970 static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr);
971 static void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr);
976 static void mii_address(u_char addr, u_long ioaddr);
979 static int mii_get_oui(u_char phyaddr, u_long ioaddr);
1002 static int type0_infoblock(struct net_device *dev, u_char count, u_char *p);
1003 static int type1_infoblock(struct net_device *dev, u_char count, u_char *p);
1004 static int type2_infoblock(struct net_device *dev, u_char count, u_char *p);
1005 static int type3_infoblock(struct net_device *dev, u_char count, u_char *p);
1006 static int type4_infoblock(struct net_device *dev, u_char count, u_char *p);
1007 static int type5_infoblock(struct net_device *dev, u_char count, u_char *p);
1008 static int compact_infoblock(struct net_device *dev, u_char count, u_char *p);
1047 static int (*dc_infoblock[])(struct net_device *dev, u_char, u_char *) = {
1991 static u_char de4x5_irq[] = EISA_ALLOWED_IRQ_LIST;
1997 u_char irq, regval; in de4x5_eisa_probe()
2123 u_char pb; in srom_search()
2164 j += (u_char) *((u_char *)&lp->srom + SROM_HWADD + i); in srom_search()
2171 last.addr[i] = (u_char)*((u_char *)&lp->srom + SROM_HWADD + i); in srom_search()
2197 u_char pb, pbus = 0, dev_num, dnum = 0, timer; in de4x5_pci_probe()
3449 reg = mii_rd((u_char)reg, lp->phy[lp->active].addr, DE4X5_MII) & mask; in test_mii_reg()
4038 k += (u_char) tmp; in get_hw_addr()
4039 dev->dev_addr[i++] = (u_char) tmp; in get_hw_addr()
4042 dev->dev_addr[i++] = (u_char) tmp; in get_hw_addr()
4044 dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; in get_hw_addr()
4045 dev->dev_addr[i] = (u_char) lp->srom.ieee_addr[i]; i++; in get_hw_addr()
4047 dev->dev_addr[i] = *((u_char *)&lp->srom + i); i++; in get_hw_addr()
4048 dev->dev_addr[i] = *((u_char *)&lp->srom + i); i++; in get_hw_addr()
4051 k += (u_char) (tmp = inb(EISA_APROM)); in get_hw_addr()
4052 dev->dev_addr[i++] = (u_char) tmp; in get_hw_addr()
4054 dev->dev_addr[i++] = (u_char) tmp; in get_hw_addr()
4064 chksum = (u_char) tmp; in get_hw_addr()
4070 chksum = (u_char) inb(EISA_APROM); in get_hw_addr()
4151 for (tmp=0,i=0; i<ETH_ALEN; i++) tmp += (u_char)dev->dev_addr[i]; in test_bad_enet()
4195 srom_rd(u_long addr, u_char offset) in srom_rd()
4223 srom_address(u_int command, u_long addr, u_char offset) in srom_address()
4293 u_char *p; in srom_infoleaf_info()
4309 count = *((u_char *)&lp->srom + 19); in srom_infoleaf_info()
4310 p = (u_char *)&lp->srom + 26; in srom_infoleaf_info()
4340 u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; in srom_init()
4341 u_char count; in srom_init()
4380 srom_exec(struct net_device *dev, u_char *p) in srom_exec()
4384 u_char count = (p ? *p++ : 0); in srom_exec()
4418 u_char count = 0; in dc21140_infoleaf()
4419 u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; in dc21140_infoleaf()
4456 u_char count = 0; in dc21142_infoleaf()
4457 u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; in dc21142_infoleaf()
4491 u_char count = 0; in dc21143_infoleaf()
4492 u_char *p = (u_char *)&lp->srom + lp->infoleaf_offset; in dc21143_infoleaf()
4526 compact_infoblock(struct net_device *dev, u_char count, u_char *p) in compact_infoblock()
4529 u_char flags, csr6; in compact_infoblock()
4566 type0_infoblock(struct net_device *dev, u_char count, u_char *p) in type0_infoblock()
4569 u_char flags, csr6, len = (*p & BLOCK_LEN)+1; in type0_infoblock()
4606 type1_infoblock(struct net_device *dev, u_char count, u_char *p) in type1_infoblock()
4609 u_char len = (*p & BLOCK_LEN)+1; in type1_infoblock()
4645 type2_infoblock(struct net_device *dev, u_char count, u_char *p) in type2_infoblock()
4648 u_char len = (*p & BLOCK_LEN)+1; in type2_infoblock()
4686 type3_infoblock(struct net_device *dev, u_char count, u_char *p) in type3_infoblock()
4689 u_char len = (*p & BLOCK_LEN)+1; in type3_infoblock()
4728 type4_infoblock(struct net_device *dev, u_char count, u_char *p) in type4_infoblock()
4731 u_char flags, csr6, len = (*p & BLOCK_LEN)+1; in type4_infoblock()
4773 type5_infoblock(struct net_device *dev, u_char count, u_char *p) in type5_infoblock()
4776 u_char len = (*p & BLOCK_LEN)+1; in type5_infoblock()
4802 mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_rd()
4815 mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_wr()
4853 mii_address(u_char addr, u_long ioaddr) in mii_address()
4916 mii_get_oui(u_char phyaddr, u_long ioaddr) in mii_get_oui()
5317 printk("ID Block CRC: %02x\n", (u_char)(p->id_block_crc)); in de4x5_dbg_srom()
5318 printk("SROM version: %02x\n", (u_char)(p->version)); in de4x5_dbg_srom()
5319 printk("# controllers: %02x\n", (u_char)(p->num_controllers)); in de4x5_dbg_srom()
5337 (u_char)skb->data[12], in de4x5_dbg_rx()
5338 (u_char)skb->data[13], in de4x5_dbg_rx()
5343 printk("%02x ",(u_char)skb->data[i+j]); in de4x5_dbg_rx()