Home
last modified time | relevance | path

Searched refs:mii_cmd (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/net/tulip/
Dwinbond-840.c574 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
582 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
604 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write() local
615 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
/linux-2.6.39/drivers/net/
Dpci-skeleton.c998 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
1012 int dataval = (mii_cmd & (1 << i)) ? MDIO_DATA_OUT : 0; in mdio_read()
1040 int mii_cmd = in mdio_write() local
1060 (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
Dsundance.c755 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
763 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_read()
785 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write() local
793 int dataval = (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
D8139too.c1217 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() local
1231 int dataval = (mii_cmd & (1 << i)) ? MDIO_DATA_OUT : 0; in mdio_read()
1259 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location << 18) | value; in mdio_write() local
1280 (mii_cmd & (1 << i)) ? MDIO_WRITE1 : MDIO_WRITE0; in mdio_write()
Dsis900.c892 int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift); in mdio_read() local
900 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR; in mdio_read()
936 int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift); in mdio_write() local
944 int dataval = (mii_cmd & (1 << i)) ? MDDIR | MDIO : MDDIR; in mdio_write()
Dvia-rhine.c893 u16 mii_cmd; in rhine_init_one() local
895 mii_cmd = mdio_read(dev, phy_id, MII_BMCR) & ~BMCR_ISOLATE; in rhine_init_one()
896 mdio_write(dev, phy_id, MII_BMCR, mii_cmd); in rhine_init_one()