Home | History | Annotate | Download | only in net

Lines Matching refs:phy_data

812 	u16 phy_data, u32 chip_id)
818 phy_writeby_cr10(iobase, phy_addr, offset, phy_data);
852 phy_write_1bit(ioaddr, phy_data & i ?
864 u16 phy_data;
898 for (phy_data = 0, i = 0; i < 16; i++) {
899 phy_data <<= 1;
900 phy_data |= phy_read_1bit(ioaddr, chip_id);
903 return phy_data;
925 u8 offset, u16 phy_data)
932 cr10_value = (cr10_value<<16) + 0x04000000 + phy_data;
940 static void phy_write_1bit(unsigned long ioaddr, u32 phy_data, u32 chip_id)
942 outl(phy_data , ioaddr); /* MII Clock Low */
944 outl(phy_data | MDCLKH, ioaddr); /* MII Clock High */
946 outl(phy_data , ioaddr); /* MII Clock Low */
956 u16 phy_data;
960 phy_data = (inl(ioaddr) >> 19) & 0x1;
964 return phy_data;