Searched refs:phy_data (Results 1 – 2 of 2) sorted by relevance
224 u16 phy_data; in phy_read() local255 for (phy_data=0, i=0; i<16; i++) { in phy_read()256 phy_data<<=1; in phy_read()257 phy_data|=phy_read_1bit(io_dcr9); in phy_read()260 return phy_data; in phy_read()266 static void phy_write(int location, u16 phy_data) in phy_write() argument301 phy_write_1bit(io_dcr9, phy_data&i ? PHY_DATA_1: PHY_DATA_0); in phy_write()307 static void phy_write_1bit(u32 ee_addr, u32 phy_data) in phy_write_1bit() argument310 outl(phy_data, ee_addr); /* MII Clock Low */ in phy_write_1bit()312 outl(phy_data|MDCLKH, ee_addr); /* MII Clock High */ in phy_write_1bit()[all …]
347 void *phy_data; /* private PHY date */ member