Searched refs:phyreg (Results 1 – 4 of 4) sorted by relevance
/linux-2.4.37.9/drivers/ieee1394/ |
D | pcilynx.c | 370 char phyreg[7]; in generate_own_selfid() local 373 phyreg[0] = lynx->phy_reg0; in generate_own_selfid() 375 phyreg[i] = get_phy_reg(lynx, i); in generate_own_selfid() 381 lsid = 0x80400000 | ((phyreg[0] & 0xfc) << 22); in generate_own_selfid() 382 lsid |= (phyreg[1] & 0x3f) << 16; /* gap count */ in generate_own_selfid() 383 lsid |= (phyreg[2] & 0xc0) << 8; /* max speed */ in generate_own_selfid() 384 lsid |= (phyreg[6] & 0x01) << 11; /* contender (phy dependent) */ in generate_own_selfid() 386 lsid |= (phyreg[6] & 0x10) >> 3; /* initiated reset */ in generate_own_selfid() 388 for (i = 0; i < (phyreg[2] & 0xf); i++) { /* ports */ in generate_own_selfid() 389 if (phyreg[3 + i] & 0x4) { in generate_own_selfid() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | forcedeth.c | 1735 u32 control_1000, status_1000, phyreg; in nv_update_linkspeed() local 1832 phyreg = readl(base + NvRegRandomSeed); in nv_update_linkspeed() 1833 phyreg &= ~(0x3FF00); in nv_update_linkspeed() 1835 phyreg |= NVREG_RNDSEED_FORCE3; in nv_update_linkspeed() 1837 phyreg |= NVREG_RNDSEED_FORCE2; in nv_update_linkspeed() 1839 phyreg |= NVREG_RNDSEED_FORCE; in nv_update_linkspeed() 1840 writel(phyreg, base + NvRegRandomSeed); in nv_update_linkspeed() 1843 phyreg = readl(base + NvRegPhyInterface); in nv_update_linkspeed() 1844 phyreg &= ~(PHY_HALF|PHY_100|PHY_1000); in nv_update_linkspeed() 1846 phyreg |= PHY_HALF; in nv_update_linkspeed() [all …]
|
D | de4x5.c | 986 static int mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr); 987 static void mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr); 4930 mii_rd(u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_rd() argument 4936 mii_address(phyreg, ioaddr); /* PHY Register to read */ in mii_rd() 4943 mii_wr(int data, u_char phyreg, u_char phyaddr, u_long ioaddr) in mii_wr() argument 4949 mii_address(phyreg, ioaddr); /* PHY Register to write */ in mii_wr()
|
/linux-2.4.37.9/drivers/net/pcmcia/ |
D | xirc2ps_cs.c | 287 static unsigned mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg); 288 static void mii_wr(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg, 568 mii_rd(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg) in mii_rd() argument 578 mii_wbits(ioaddr, phyreg, 5); /* PHY register to read */ in mii_rd() 590 mii_wr(ioaddr_t ioaddr, u_char phyaddr, u_char phyreg, unsigned data, int len) in mii_wr() argument 599 mii_wbits(ioaddr, phyreg, 5); /* PHY Register to write */ in mii_wr()
|