Lines Matching defs:ds
1617 static void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps()
1744 static void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64()
1757 static void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats()
1770 static void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings()
1788 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local
1866 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local
1893 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local
1903 struct dsa_switch *ds = dev->ds; in ksz_mdio_register() local
2106 static int ksz_setup(struct dsa_switch *ds) in ksz_setup()
2211 static void ksz_teardown(struct dsa_switch *ds) in ksz_teardown()
2309 static int ksz_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz_phy_read16()
2322 static int ksz_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz_phy_write16()
2334 static u32 ksz_get_phy_flags(struct dsa_switch *ds, int port) in ksz_get_phy_flags()
2364 static void ksz_mac_link_down(struct dsa_switch *ds, int port, in ksz_mac_link_down()
2377 static int ksz_sset_count(struct dsa_switch *ds, int port, int sset) in ksz_sset_count()
2387 static void ksz_get_ethtool_stats(struct dsa_switch *ds, int port, in ksz_get_ethtool_stats()
2405 static int ksz_port_bridge_join(struct dsa_switch *ds, int port, in ksz_port_bridge_join()
2417 static void ksz_port_bridge_leave(struct dsa_switch *ds, int port, in ksz_port_bridge_leave()
2425 static void ksz_port_fast_age(struct dsa_switch *ds, int port) in ksz_port_fast_age()
2432 static int ksz_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in ksz_set_ageing_time()
2442 static int ksz_port_fdb_add(struct dsa_switch *ds, int port, in ksz_port_fdb_add()
2454 static int ksz_port_fdb_del(struct dsa_switch *ds, int port, in ksz_port_fdb_del()
2466 static int ksz_port_fdb_dump(struct dsa_switch *ds, int port, in ksz_port_fdb_dump()
2477 static int ksz_port_mdb_add(struct dsa_switch *ds, int port, in ksz_port_mdb_add()
2489 static int ksz_port_mdb_del(struct dsa_switch *ds, int port, in ksz_port_mdb_del()
2501 static int ksz_enable_port(struct dsa_switch *ds, int port, in ksz_enable_port()
2519 void ksz_port_stp_state_set(struct dsa_switch *ds, int port, u8 state) in ksz_port_stp_state_set()
2565 static int ksz_port_pre_bridge_flags(struct dsa_switch *ds, int port, in ksz_port_pre_bridge_flags()
2575 static int ksz_port_bridge_flags(struct dsa_switch *ds, int port, in ksz_port_bridge_flags()
2592 static enum dsa_tag_protocol ksz_get_tag_protocol(struct dsa_switch *ds, in ksz_get_tag_protocol()
2622 static int ksz_connect_tag_protocol(struct dsa_switch *ds, in ksz_connect_tag_protocol()
2633 static int ksz_port_vlan_filtering(struct dsa_switch *ds, int port, in ksz_port_vlan_filtering()
2644 static int ksz_port_vlan_add(struct dsa_switch *ds, int port, in ksz_port_vlan_add()
2656 static int ksz_port_vlan_del(struct dsa_switch *ds, int port, in ksz_port_vlan_del()
2667 static int ksz_port_mirror_add(struct dsa_switch *ds, int port, in ksz_port_mirror_add()
2679 static void ksz_port_mirror_del(struct dsa_switch *ds, int port, in ksz_port_mirror_del()
2688 static int ksz_change_mtu(struct dsa_switch *ds, int port, int mtu) in ksz_change_mtu()
2698 static int ksz_max_mtu(struct dsa_switch *ds, int port) in ksz_max_mtu()
2727 static int ksz_validate_eee(struct dsa_switch *ds, int port) in ksz_validate_eee()
2748 static int ksz_get_mac_eee(struct dsa_switch *ds, int port, in ksz_get_mac_eee()
2768 static int ksz_set_mac_eee(struct dsa_switch *ds, int port, in ksz_set_mac_eee()
2874 static void ksz_phylink_mac_config(struct dsa_switch *ds, int port, in ksz_phylink_mac_config()
3016 static void ksz_phylink_mac_link_up(struct dsa_switch *ds, int port, in ksz_phylink_mac_link_up()
3153 static int ksz_setup_tc_cbs(struct dsa_switch *ds, int port, in ksz_setup_tc_cbs()
3378 static int ksz_tc_setup_qdisc_ets(struct dsa_switch *ds, int port, in ksz_tc_setup_qdisc_ets()
3409 static int ksz_setup_tc(struct dsa_switch *ds, int port, in ksz_setup_tc()
3471 struct dsa_switch *ds; in ksz_switch_alloc() local