Lines Matching defs:ds
38 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup()
84 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set()
157 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup()
224 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port, in bcm_sf2_port_disable()
315 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local
327 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local
410 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register()
472 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags()
484 static void bcm_sf2_sw_validate(struct dsa_switch *ds, int port, in bcm_sf2_sw_validate()
528 static void bcm_sf2_sw_mac_config(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_config()
599 static void bcm_sf2_sw_mac_link_set(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_set()
619 static void bcm_sf2_sw_mac_link_down(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_down()
626 static void bcm_sf2_sw_mac_link_up(struct dsa_switch *ds, int port, in bcm_sf2_sw_mac_link_up()
640 static void bcm_sf2_sw_fixed_state(struct dsa_switch *ds, int port, in bcm_sf2_sw_fixed_state()
670 static void bcm_sf2_enable_acb(struct dsa_switch *ds) in bcm_sf2_enable_acb()
684 static int bcm_sf2_sw_suspend(struct dsa_switch *ds) in bcm_sf2_sw_suspend()
703 static int bcm_sf2_sw_resume(struct dsa_switch *ds) in bcm_sf2_sw_resume()
722 static void bcm_sf2_sw_get_wol(struct dsa_switch *ds, int port, in bcm_sf2_sw_get_wol()
745 static int bcm_sf2_sw_set_wol(struct dsa_switch *ds, int port, in bcm_sf2_sw_set_wol()
774 static int bcm_sf2_sw_setup(struct dsa_switch *ds) in bcm_sf2_sw_setup()
1011 struct dsa_switch *ds; in bcm_sf2_sw_probe() local