Searched refs:phy_temp (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | ag7xxx.c | 199 u32 phy_temp; in ag7xxx_switch_reg_read() local 217 phy_temp = ((reg >> 6) & 0x7) | 0x10; in ag7xxx_switch_reg_read() 221 ret = ag7xxx_switch_read(bus, phy_temp, reg_temp | 0, &rv); in ag7xxx_switch_reg_read() 226 ret = ag7xxx_switch_read(bus, phy_temp, reg_temp | 1, &rv); in ag7xxx_switch_reg_read() 239 u32 phy_temp; in ag7xxx_switch_reg_write() local 256 phy_temp = ((reg >> 6) & 0x7) | 0x10; in ag7xxx_switch_reg_write() 268 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 0, val & 0xffff); in ag7xxx_switch_reg_write() 272 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 1, val >> 16); in ag7xxx_switch_reg_write() 276 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 1, val >> 16); in ag7xxx_switch_reg_write() 280 ret = ag7xxx_switch_write(bus, phy_temp, reg_temp | 0, val & 0xffff); in ag7xxx_switch_reg_write()
|