Lines Matching refs:dsa_ksz8xxx_read_reg

70 static void dsa_ksz8xxx_read_reg(const struct ksz8xxx_data *pdev,  in dsa_ksz8xxx_read_reg()  function
117 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_STAT2_PORTn(port), &tmp); in dsa_ksz8xxx_port_link_status()
143 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_CHIP_ID0, &tmp); in dsa_ksz8xxx_probe()
152 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_CHIP_ID0, &val[0]); in dsa_ksz8xxx_probe()
153 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_CHIP_ID1, &val[1]); in dsa_ksz8xxx_probe()
251 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_7, &p[7]); in dsa_ksz8xxx_read_static_mac_table()
252 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_6, &p[6]); in dsa_ksz8xxx_read_static_mac_table()
253 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_5, &p[5]); in dsa_ksz8xxx_read_static_mac_table()
254 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_4, &p[4]); in dsa_ksz8xxx_read_static_mac_table()
255 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_3, &p[3]); in dsa_ksz8xxx_read_static_mac_table()
256 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_2, &p[2]); in dsa_ksz8xxx_read_static_mac_table()
257 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_1, &p[1]); in dsa_ksz8xxx_read_static_mac_table()
258 dsa_ksz8xxx_read_reg(pdev, KSZ8XXX_REG_IND_DATA_0, &p[0]); in dsa_ksz8xxx_read_static_mac_table()
275 dsa_ksz8xxx_read_reg(pdev, KSZ8863_CTRL2_PORTn(i), &tmp); in dsa_ksz8xxx_switch_setup()
284 dsa_ksz8xxx_read_reg(pdev, KSZ8863_GLOBAL_CTRL1, &tmp); in dsa_ksz8xxx_switch_setup()
289 dsa_ksz8xxx_read_reg(pdev, KSZ8863_GLOBAL_CTRL1, &tmp); in dsa_ksz8xxx_switch_setup()
294 dsa_ksz8xxx_read_reg(pdev, KSZ8863_GLOBAL_CTRL2, &tmp); in dsa_ksz8xxx_switch_setup()
313 dsa_ksz8xxx_read_reg(pdev, KSZ8794_CTRL2_PORTn(i), &tmp); in dsa_ksz8xxx_switch_setup()
322 dsa_ksz8xxx_read_reg(pdev, KSZ8794_GLOBAL_CTRL10, &tmp); in dsa_ksz8xxx_switch_setup()
327 dsa_ksz8xxx_read_reg(pdev, KSZ8794_GLOBAL_CTRL10, &tmp); in dsa_ksz8xxx_switch_setup()
332 dsa_ksz8xxx_read_reg(pdev, KSZ8794_PORT4_IF_CTRL6, &tmp); in dsa_ksz8xxx_switch_setup()
335 dsa_ksz8xxx_read_reg(pdev, KSZ8794_PORT4_CTRL2, &tmp); in dsa_ksz8xxx_switch_setup()
338 dsa_ksz8xxx_read_reg(pdev, KSZ8794_GLOBAL_CTRL2, &tmp); in dsa_ksz8xxx_switch_setup()
630 dsa_ksz8xxx_read_reg(pdev, KSZ8794_GLOBAL_CTRL20, &tmp); in dsa_ksz8794_set_lowspeed_drivestrength()
634 dsa_ksz8xxx_read_reg(pdev, KSZ8794_GLOBAL_CTRL20, &tmp); in dsa_ksz8794_set_lowspeed_drivestrength()
770 dsa_ksz8xxx_read_reg(pdev, reg_addr, value); in dsa_ksz8xxx_sw_read_reg()