Lines Matching defs:ds

66 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds)  in bcm_sf2_num_active_ports()
81 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock()
108 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup()
167 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set()
240 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup()
309 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable()
402 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local
414 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local
567 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register()
659 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags()
675 static void bcm_sf2_sw_validate(struct dsa_switch *ds, int port, in bcm_sf2_sw_validate()
720 static void bcm_sf2_sw_mac_config(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_config()
766 static void bcm_sf2_sw_mac_link_set(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_set()
789 static void bcm_sf2_sw_mac_link_down(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_down()
811 static void bcm_sf2_sw_mac_link_up(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_up()
869 static void bcm_sf2_sw_fixed_state(struct dsa_switch *ds, int port, in bcm_sf2_sw_fixed_state()
899 static void bcm_sf2_enable_acb(struct dsa_switch *ds) in bcm_sf2_enable_acb()
913 static int bcm_sf2_sw_suspend(struct dsa_switch *ds) in bcm_sf2_sw_suspend()
935 static int bcm_sf2_sw_resume(struct dsa_switch *ds) in bcm_sf2_sw_resume()
963 static void bcm_sf2_sw_get_wol(struct dsa_switch *ds, int port, in bcm_sf2_sw_get_wol()
987 static int bcm_sf2_sw_set_wol(struct dsa_switch *ds, int port, in bcm_sf2_sw_set_wol()
1017 static int bcm_sf2_sw_setup(struct dsa_switch *ds) in bcm_sf2_sw_setup()
1039 static void bcm_sf2_sw_teardown(struct dsa_switch *ds) in bcm_sf2_sw_teardown()
1143 static void bcm_sf2_sw_get_strings(struct dsa_switch *ds, int port, in bcm_sf2_sw_get_strings()
1153 static void bcm_sf2_sw_get_ethtool_stats(struct dsa_switch *ds, int port, in bcm_sf2_sw_get_ethtool_stats()
1162 static int bcm_sf2_sw_get_sset_count(struct dsa_switch *ds, int port, in bcm_sf2_sw_get_sset_count()
1323 struct dsa_switch *ds; in bcm_sf2_sw_probe() local