Lines Matching refs:ksz8xxx_data

37 struct ksz8xxx_data {  struct
45 #define PRV_DATA(ctx) ((struct ksz8xxx_data *const)(ctx)->prv_data) argument
47 static void dsa_ksz8xxx_write_reg(const struct ksz8xxx_data *pdev, in dsa_ksz8xxx_write_reg()
70 static void dsa_ksz8xxx_read_reg(const struct ksz8xxx_data *pdev, in dsa_ksz8xxx_read_reg()
107 static bool dsa_ksz8xxx_port_link_status(struct ksz8xxx_data *pdev, in dsa_ksz8xxx_port_link_status()
123 static void dsa_ksz8xxx_soft_reset(struct ksz8xxx_data *pdev) in dsa_ksz8xxx_soft_reset()
133 static int dsa_ksz8xxx_probe(struct ksz8xxx_data *pdev) in dsa_ksz8xxx_probe()
172 static int dsa_ksz8xxx_write_static_mac_table(struct ksz8xxx_data *pdev, in dsa_ksz8xxx_write_static_mac_table()
202 static int dsa_ksz8xxx_set_static_mac_table(struct ksz8xxx_data *pdev, in dsa_ksz8xxx_set_static_mac_table()
230 static int dsa_ksz8xxx_read_static_mac_table(struct ksz8xxx_data *pdev, in dsa_ksz8xxx_read_static_mac_table()
264 static int dsa_ksz8xxx_switch_setup(const struct ksz8xxx_data *pdev) in dsa_ksz8xxx_switch_setup()
303 static int dsa_ksz8xxx_switch_setup(struct ksz8xxx_data *pdev) in dsa_ksz8xxx_switch_setup()
417 static int dsa_ksz8794_phy_workaround_0x01(struct ksz8xxx_data *pdev) in dsa_ksz8794_phy_workaround_0x01()
544 static int dsa_ksz8794_phy_workaround_0x02(struct ksz8xxx_data *pdev) in dsa_ksz8794_phy_workaround_0x02()
557 static int dsa_ksz8794_phy_workaround_0x04(struct ksz8xxx_data *pdev) in dsa_ksz8794_phy_workaround_0x04()
570 static int dsa_ksz8794_apply_workarounds(struct ksz8xxx_data *pdev) in dsa_ksz8794_apply_workarounds()
588 static int dsa_ksz8794_set_lowspeed_drivestrength(struct ksz8xxx_data *pdev) in dsa_ksz8794_set_lowspeed_drivestrength()
662 int dsa_hw_init(struct ksz8xxx_data *pdev) in dsa_hw_init()
719 struct ksz8xxx_data *pdev = PRV_DATA(context); in dsa_delayed_work()
746 struct ksz8xxx_data *pdev = PRV_DATA(data); in dsa_port_init()
757 struct ksz8xxx_data *pdev = PRV_DATA(data); in dsa_ksz8xxx_sw_write_reg()
768 struct ksz8xxx_data *pdev = PRV_DATA(data); in dsa_ksz8xxx_sw_read_reg()
792 struct ksz8xxx_data *pdev = PRV_DATA(data); in dsa_ksz8xxx_set_mac_table_entry()
818 struct ksz8xxx_data *pdev = PRV_DATA(data); in dsa_ksz8xxx_get_mac_table_entry()
966 struct ksz8xxx_data *pdev = PRV_DATA(context); in dsa_iface_init()
1103 static struct ksz8xxx_data dsa_device_prv_data_##n = { \