Searched refs:switch_phy_id (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/clk/qcom/ |
D | nsscc-qca8k.c | 2031 static int qca8k_mii_read(struct mii_bus *bus, u16 switch_phy_id, u32 reg, u32 *val) in qca8k_mii_read() argument 2035 ret = __mdiobus_read(bus, switch_phy_id, reg); in qca8k_mii_read() 2039 ret = __mdiobus_read(bus, switch_phy_id, (reg | QCA8K_REG_DATA_UPPER_16_BITS)); in qca8k_mii_read() 2050 static void qca8k_mii_write(struct mii_bus *bus, u16 switch_phy_id, u32 reg, u32 val) in qca8k_mii_write() argument 2054 ret = __mdiobus_write(bus, switch_phy_id, reg, lower_16_bits(val)); in qca8k_mii_write() 2056 ret = __mdiobus_write(bus, switch_phy_id, (reg | QCA8K_REG_DATA_UPPER_16_BITS), in qca8k_mii_write() 2063 static int qca8k_mii_page_set(struct mii_bus *bus, u16 switch_phy_id, u32 reg, u16 page) in qca8k_mii_page_set() argument 2067 ret = __mdiobus_write(bus, switch_phy_id, reg, page); in qca8k_mii_page_set()
|