| /linux/net/dsa/ |
| H A D | switch.c | 23 static unsigned int dsa_switch_fastest_ageing_time(struct dsa_switch *ds, in dsa_switch_fastest_ageing_time() 35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() 61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() 82 static int dsa_switch_bridge_join(struct dsa_switch *ds, in dsa_switch_bridge_join() 113 static int dsa_switch_bridge_leave(struct dsa_switch *ds, in dsa_switch_bridge_leave() 162 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_add() local 214 struct dsa_switch *ds = dp->ds; in dsa_port_do_mdb_del() local 261 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_add() local 311 struct dsa_switch *ds = dp->ds; in dsa_port_do_fdb_del() local 354 static int dsa_switch_do_lag_fdb_add(struct dsa_switch *ds, struct dsa_lag *lag, in dsa_switch_do_lag_fdb_add() [all …]
|
| H A D | dsa.c | 292 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 317 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 402 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() 462 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 570 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol() 614 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol() 622 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 686 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 1087 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 1133 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local [all …]
|
| H A D | user.c | 69 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering() 76 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() 91 struct dsa_switch *ds = dp->ds; in dsa_user_standalone_event_work() local 280 struct dsa_switch *ds = dp->ds; in dsa_user_sync_ha() local 301 struct dsa_switch *ds = dp->ds; in dsa_user_unsync_ha() local 322 struct dsa_switch *ds = bus->priv; in dsa_user_phy_read() local 332 struct dsa_switch *ds = bus->priv; in dsa_user_phy_write() local 340 void dsa_user_mii_bus_init(struct dsa_switch *ds) in dsa_user_mii_bus_init() 363 struct dsa_switch *ds = dp->ds; in dsa_user_host_uc_install() local 391 struct dsa_switch *ds = dp->ds; in dsa_user_host_uc_uninstall() local [all …]
|
| H A D | port.c | 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 120 struct dsa_switch *ds = dp->ds; in dsa_port_supports_hwtstamp() local 133 struct dsa_switch *ds = dp->ds; in dsa_port_set_state() local 167 struct dsa_switch *ds = dp->ds; in dsa_port_set_state_now() local 181 struct dsa_switch *ds = dp->ds; in dsa_port_set_mst_state() local 215 struct dsa_switch *ds = dp->ds; in dsa_port_enable_rt() local 247 struct dsa_switch *ds = dp->ds; in dsa_port_disable_rt() local 272 struct dsa_switch *ds = dp->ds; in dsa_port_reset_vlan_filtering() local [all …]
|
| H A D | tag_8021q.c | 74 struct dsa_switch *ds; member 146 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local 182 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local 217 int dsa_switch_tag_8021q_vlan_add(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_add() 249 int dsa_switch_tag_8021q_vlan_del(struct dsa_switch *ds, in dsa_switch_tag_8021q_vlan_del() 288 int dsa_tag_8021q_bridge_join(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_join() 314 void dsa_tag_8021q_bridge_leave(struct dsa_switch *ds, int port, in dsa_tag_8021q_bridge_leave() 339 static int dsa_tag_8021q_port_setup(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_setup() 369 static void dsa_tag_8021q_port_teardown(struct dsa_switch *ds, int port) in dsa_tag_8021q_port_teardown() 389 static int dsa_tag_8021q_setup(struct dsa_switch *ds) in dsa_tag_8021q_setup() [all …]
|
| H A D | tag_qca.c | 39 struct dsa_switch *ds = dp->ds; in qca_tag_rcv() local 99 static int qca_tag_connect(struct dsa_switch *ds) in qca_tag_connect() 112 static void qca_tag_disconnect(struct dsa_switch *ds) in qca_tag_disconnect()
|
| /linux/drivers/acpi/ |
| H A D | dock.c | 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() 118 struct dock_station *ds; in find_dock_station() local 136 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() 150 struct dock_station *ds = find_dock_station(dshandle); in register_dock_dependent_device() local 193 static int dock_present(struct dock_station *ds) in dock_present() 210 static void hot_remove_dock_devices(struct dock_station *ds) in hot_remove_dock_devices() 237 static void hotplug_dock_devices(struct dock_station *ds, u32 event) in hotplug_dock_devices() 267 static void dock_event(struct dock_station *ds, u32 event, int num) in dock_event() 300 static void handle_dock(struct dock_station *ds, int dock) in handle_dock() 320 static inline void dock(struct dock_station *ds) in dock() [all …]
|
| /linux/drivers/net/dsa/mxl862xx/ |
| H A D | mxl862xx.c | 164 static enum dsa_tag_protocol mxl862xx_get_tag_protocol(struct dsa_switch *ds, in mxl862xx_get_tag_protocol() 225 static int mxl862xx_wait_ready(struct dsa_switch *ds) in mxl862xx_wait_ready() 267 static int mxl862xx_setup_mdio(struct dsa_switch *ds) in mxl862xx_setup_mdio() 299 static int mxl862xx_bridge_config_fwd(struct dsa_switch *ds, u16 bridge_id, in mxl862xx_bridge_config_fwd() 341 static int mxl862xx_setup_drop_meter(struct dsa_switch *ds) in mxl862xx_setup_drop_meter() 384 static int mxl862xx_set_bridge_port(struct dsa_switch *ds, int port) in mxl862xx_set_bridge_port() 506 static int mxl862xx_sync_bridge_members(struct dsa_switch *ds, in mxl862xx_sync_bridge_members() 599 static void mxl862xx_free_bridge(struct dsa_switch *ds, in mxl862xx_free_bridge() 619 static int mxl862xx_setup(struct dsa_switch *ds) in mxl862xx_setup() 698 static void mxl862xx_teardown(struct dsa_switch *ds) in mxl862xx_teardown() [all …]
|
| /linux/drivers/net/dsa/ |
| H A D | mt7530.c | 372 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 384 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port6() 525 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 759 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 787 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 803 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 811 static void mt7530_get_eth_mac_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_mac_stats() 876 static void mt7530_get_rmon_stats(struct dsa_switch *ds, int port, in mt7530_get_rmon_stats() 992 static void mt7530_get_stats64(struct dsa_switch *ds, int port, in mt7530_get_stats64() 1012 static void mt7530_get_eth_ctrl_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_ctrl_stats() [all …]
|
| H A D | bcm_sf2.c | 116 static unsigned int bcm_sf2_num_active_ports(struct dsa_switch *ds) in bcm_sf2_num_active_ports() 131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() 202 static void bcm_sf2_gphy_enable_set(struct dsa_switch *ds, bool enable) in bcm_sf2_gphy_enable_set() 280 static int bcm_sf2_port_setup(struct dsa_switch *ds, int port, in bcm_sf2_port_setup() 349 static void bcm_sf2_port_disable(struct dsa_switch *ds, int port) in bcm_sf2_port_disable() 442 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_0_isr() local 454 struct dsa_switch *ds = dev_id; in bcm_sf2_switch_1_isr() local 607 static int bcm_sf2_mdio_register(struct dsa_switch *ds) in bcm_sf2_mdio_register() 708 static u32 bcm_sf2_sw_get_phy_flags(struct dsa_switch *ds, int port) in bcm_sf2_sw_get_phy_flags() [all …]
|
| H A D | mt7628.c | 165 struct dsa_switch *ds; member 242 static int mt7628_setup_internal_mdio(struct dsa_switch *ds) in mt7628_setup_internal_mdio() 265 static void mt7628_switch_init(struct dsa_switch *ds) in mt7628_switch_init() 386 static void mt7628_vlan_sync(struct dsa_switch *ds) in mt7628_vlan_sync() 403 static int mt7628_setup(struct dsa_switch *ds) in mt7628_setup() 435 static int mt7628_port_enable(struct dsa_switch *ds, int port, in mt7628_port_enable() 448 static void mt7628_port_disable(struct dsa_switch *ds, int port) in mt7628_port_disable() 457 mt7628_get_tag_proto(struct dsa_switch *ds, int port, enum dsa_tag_protocol mp) in mt7628_get_tag_proto() 462 static void mt7628_phylink_get_caps(struct dsa_switch *ds, int port, in mt7628_phylink_get_caps() 479 static int mt7628_dsa_8021q_vlan_add(struct dsa_switch *ds, int port, in mt7628_dsa_8021q_vlan_add() [all …]
|
| H A D | lan9303-core.c | 937 static enum dsa_tag_protocol lan9303_get_tag_protocol(struct dsa_switch *ds, in lan9303_get_tag_protocol() 944 static int lan9303_setup(struct dsa_switch *ds) in lan9303_setup() 1036 static void lan9303_get_strings(struct dsa_switch *ds, int port, in lan9303_get_strings() 1049 static void lan9303_get_ethtool_stats(struct dsa_switch *ds, int port, in lan9303_get_ethtool_stats() 1071 static int lan9303_get_sset_count(struct dsa_switch *ds, int port, int sset) in lan9303_get_sset_count() 1079 static int lan9303_phy_read(struct dsa_switch *ds, int port, int regnum) in lan9303_phy_read() 1092 static int lan9303_phy_write(struct dsa_switch *ds, int port, int regnum, in lan9303_phy_write() 1106 static int lan9303_port_enable(struct dsa_switch *ds, int port, in lan9303_port_enable() 1120 static void lan9303_port_disable(struct dsa_switch *ds, int port) in lan9303_port_disable() 1134 static int lan9303_port_bridge_join(struct dsa_switch *ds, int port, in lan9303_port_bridge_join() [all …]
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 540 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() 654 static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set() 667 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port() 700 int b53_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) in b53_enable_port() 743 void b53_disable_port(struct dsa_switch *ds, int port) in b53_disable_port() 761 void b53_brcm_hdr_setup(struct dsa_switch *ds, int port) in b53_brcm_hdr_setup() 878 static bool b53_vlan_port_needs_forced_tagged(struct dsa_switch *ds, int port) in b53_vlan_port_needs_forced_tagged() 885 static bool b53_vlan_port_may_join_untagged(struct dsa_switch *ds, int port) in b53_vlan_port_may_join_untagged() 901 int b53_configure_vlan(struct dsa_switch *ds) in b53_configure_vlan() 1043 static int b53_phy_read16(struct dsa_switch *ds, int addr, int reg) in b53_phy_read16() [all …]
|
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl83xx.c | 74 int rtl83xx_setup_user_mdio(struct dsa_switch *ds) in rtl83xx_setup_user_mdio() 237 struct dsa_switch *ds = &priv->ds; in rtl83xx_register_switch() local 273 struct dsa_switch *ds = &priv->ds; in rtl83xx_unregister_switch() local 292 struct dsa_switch *ds = &priv->ds; in rtl83xx_shutdown() local 354 int rtl83xx_port_bridge_join(struct dsa_switch *ds, int port, in rtl83xx_port_bridge_join() 442 void rtl83xx_port_bridge_leave(struct dsa_switch *ds, int port, in rtl83xx_port_bridge_leave() 518 void rtl83xx_port_fast_age(struct dsa_switch *ds, int port) in rtl83xx_port_fast_age() 553 int rtl83xx_port_fdb_add(struct dsa_switch *ds, int port, in rtl83xx_port_fdb_add() 604 int rtl83xx_port_fdb_del(struct dsa_switch *ds, int port, in rtl83xx_port_fdb_del() 653 int rtl83xx_port_fdb_dump(struct dsa_switch *ds, int port, in rtl83xx_port_fdb_dump() [all …]
|
| /linux/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip_common.c | 390 static int gswip_port_pre_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_pre_bridge_flags() 406 static int gswip_port_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_bridge_flags() 419 static int gswip_port_setup(struct dsa_switch *ds, int port) in gswip_port_setup() 439 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() 467 static void gswip_port_disable(struct dsa_switch *ds, int port) in gswip_port_disable() 565 static int gswip_port_vlan_filtering(struct dsa_switch *ds, int port, in gswip_port_vlan_filtering() 643 static int gswip_setup(struct dsa_switch *ds) in gswip_setup() 742 static void gswip_teardown(struct dsa_switch *ds) in gswip_teardown() 749 static enum dsa_tag_protocol gswip_get_tag_protocol(struct dsa_switch *ds, in gswip_get_tag_protocol() 947 static int gswip_port_bridge_join(struct dsa_switch *ds, int port, in gswip_port_bridge_join() [all …]
|
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_ptp.c | 61 int sja1105_hwtstamp_set(struct dsa_switch *ds, int port, in sja1105_hwtstamp_set() 99 int sja1105_hwtstamp_get(struct dsa_switch *ds, int port, in sja1105_hwtstamp_get() 117 int sja1105_get_ts_info(struct dsa_switch *ds, int port, in sja1105_get_ts_info() 172 int sja1105_ptp_commit(struct dsa_switch *ds, struct sja1105_ptp_cmd *cmd, in sja1105_ptp_commit() 206 static u64 sja1105_tstamp_reconstruct(struct dsa_switch *ds, u64 now, in sja1105_tstamp_reconstruct() 251 static int sja1105_ptpegr_ts_poll(struct dsa_switch *ds, int port, u64 *ts) in sja1105_ptpegr_ts_poll() 344 struct dsa_switch *ds = priv->ds; in sja1105_rxtstamp_work() local 379 bool sja1105_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1105_rxtstamp() 395 bool sja1110_rxtstamp(struct dsa_switch *ds, int port, struct sk_buff *skb) in sja1110_rxtstamp() 409 bool sja1105_port_rxtstamp(struct dsa_switch *ds, int port, in sja1105_port_rxtstamp() [all …]
|
| H A D | sja1105_tas.c | 21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() local 167 struct dsa_switch *ds = priv->ds; in sja1105_init_scheduling() local 472 struct dsa_switch *ds = priv->ds; in sja1105_gating_check_conflicts() local 509 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 587 struct dsa_switch *ds = priv->ds; in sja1105_tas_check_running() local 634 struct dsa_switch *ds = priv->ds; in sja1105_tas_start() local 661 struct dsa_switch *ds = priv->ds; in sja1105_tas_stop() local 730 struct dsa_switch *ds = priv->ds; in sja1105_tas_state_machine() local 843 void sja1105_tas_clockstep(struct dsa_switch *ds) in sja1105_tas_clockstep() 855 void sja1105_tas_adjfreq(struct dsa_switch *ds) in sja1105_tas_adjfreq() [all …]
|
| H A D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() 108 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() 119 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() 130 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() 135 void sja1105_devlink_teardown(struct dsa_switch *ds) in sja1105_devlink_teardown()
|
| H A D | sja1105_tas.h | 76 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() 82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } in sja1105_tas_setup() 84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } in sja1105_tas_teardown() 86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } in sja1105_tas_clockstep() 88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } in sja1105_tas_adjfreq() 91 sja1105_gating_check_conflicts(struct dsa_switch *ds, int port, in sja1105_gating_check_conflicts()
|
| /linux/drivers/net/dsa/microchip/ |
| H A D | ksz_common.c | 1865 void ksz_phylink_get_caps(struct dsa_switch *ds, int port, in ksz_phylink_get_caps() 1952 void ksz_get_stats64(struct dsa_switch *ds, int port, in ksz_get_stats64() 1965 void ksz_get_pause_stats(struct dsa_switch *ds, int port, in ksz_get_pause_stats() 1978 void ksz_get_strings(struct dsa_switch *ds, int port, in ksz_get_strings() 2017 struct dsa_switch *ds = dev->ds; in ksz_update_port_member() local 2099 struct dsa_switch *ds = dev->ds; in ksz_sw_mdio_read() local 2107 struct dsa_switch *ds = dev->ds; in ksz_sw_mdio_write() local 2167 struct dsa_switch *ds = dev->ds; in ksz_phy_addr_to_port() local 2191 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_setup() local 2231 struct dsa_switch *ds = dev->ds; in ksz_irq_phy_free() local [all …]
|
| H A D | ksz_ptp.h | 68 static inline int ksz_ptp_clock_register(struct dsa_switch *ds) in ksz_ptp_clock_register() 73 static inline void ksz_ptp_clock_unregister(struct dsa_switch *ds) { } in ksz_ptp_clock_unregister() 75 static inline int ksz_ptp_irq_setup(struct dsa_switch *ds, u8 p) in ksz_ptp_irq_setup() 80 static inline void ksz_ptp_irq_free(struct dsa_switch *ds, u8 p) {} in ksz_ptp_irq_free() 82 static inline int ksz8463_ptp_irq_setup(struct dsa_switch *ds) in ksz8463_ptp_irq_setup() 87 static inline void ksz8463_ptp_irq_free(struct dsa_switch *ds) {} in ksz8463_ptp_irq_free()
|
| H A D | lan937x_main.c | 338 static int lan937x_phy_read16(struct dsa_switch *ds, int addr, int reg) in lan937x_phy_read16() 351 static int lan937x_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in lan937x_phy_write16() 398 struct dsa_switch *ds = dev->ds; in lan937x_port_setup() local 430 static int lan937x_dsa_port_setup(struct dsa_switch *ds, int port) in lan937x_dsa_port_setup() 447 static void lan937x_config_cpu_port(struct dsa_switch *ds) in lan937x_config_cpu_port() 466 static int lan937x_change_mtu(struct dsa_switch *ds, int port, int new_mtu) in lan937x_change_mtu() 497 static int lan937x_set_ageing_time(struct dsa_switch *ds, unsigned int msecs) in lan937x_set_ageing_time() 611 static void lan937x_phylink_get_caps(struct dsa_switch *ds, int port, in lan937x_phylink_get_caps() 689 struct dsa_switch *ds = dev->ds; in lan937x_mdio_register() local 768 static int lan937x_setup(struct dsa_switch *ds) in lan937x_setup() [all …]
|
| H A D | ksz9477.c | 50 static int ksz9477_change_mtu(struct dsa_switch *ds, int port, int mtu) in ksz9477_change_mtu() 64 int ksz9477_max_mtu(struct dsa_switch *ds, int port) in ksz9477_max_mtu() 603 static int ksz9477_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz9477_phy_read16() 641 static int ksz9477_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz9477_phy_write16() 658 void ksz9477_flush_dyn_mac_table(struct dsa_switch *ds, int port) in ksz9477_flush_dyn_mac_table() 682 int ksz9477_port_vlan_filtering(struct dsa_switch *ds, int port, in ksz9477_port_vlan_filtering() 700 int ksz9477_port_vlan_add(struct dsa_switch *ds, int port, in ksz9477_port_vlan_add() 737 int ksz9477_port_vlan_del(struct dsa_switch *ds, int port, in ksz9477_port_vlan_del() 771 int ksz9477_fdb_add(struct dsa_switch *ds, int port, in ksz9477_fdb_add() 828 int ksz9477_fdb_del(struct dsa_switch *ds, int port, in ksz9477_fdb_del() [all …]
|
| H A D | ksz8.c | 272 static int ksz88xx_change_mtu(struct dsa_switch *ds, int port, int mtu) in ksz88xx_change_mtu() 292 static int ksz87xx_change_mtu(struct dsa_switch *ds, int port, int mtu) in ksz87xx_change_mtu() 316 static int ksz87xx_max_mtu(struct dsa_switch *ds, int port) in ksz87xx_max_mtu() 321 static int ksz88xx_max_mtu(struct dsa_switch *ds, int port) in ksz88xx_max_mtu() 1220 static int ksz8_phy_read16(struct dsa_switch *ds, int addr, int reg) in ksz8_phy_read16() 1477 static int ksz8_phy_write16(struct dsa_switch *ds, int addr, int reg, u16 val) in ksz8_phy_write16() 1502 static void ksz8_flush_dyn_mac_table(struct dsa_switch *ds, int port) in ksz8_flush_dyn_mac_table() 1538 static int ksz8_fdb_dump(struct dsa_switch *ds, int port, in ksz8_fdb_dump() 1644 static int ksz8_mdb_add(struct dsa_switch *ds, int port, in ksz8_mdb_add() 1651 static int ksz8_mdb_del(struct dsa_switch *ds, int port, in ksz8_mdb_del() [all …]
|
| /linux/drivers/net/dsa/mv88e6xxx/ |
| H A D | chip.c | 846 static void mv88e6xxx_get_caps(struct dsa_switch *ds, int port, in mv88e6xxx_get_caps() 1204 static void mv88e6xxx_get_strings(struct dsa_switch *ds, int port, in mv88e6xxx_get_strings() 1256 static int mv88e6xxx_get_sset_count(struct dsa_switch *ds, int port, int sset) in mv88e6xxx_get_sset_count() 1383 static void mv88e6xxx_get_ethtool_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_ethtool_stats() 1396 static void mv88e6xxx_get_eth_mac_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_eth_mac_stats() 1434 static void mv88e6xxx_get_rmon_stats(struct dsa_switch *ds, int port, in mv88e6xxx_get_rmon_stats() 1475 static int mv88e6xxx_get_regs_len(struct dsa_switch *ds, int port) in mv88e6xxx_get_regs_len() 1487 static void mv88e6xxx_get_regs(struct dsa_switch *ds, int port, in mv88e6xxx_get_regs() 1515 static int mv88e6xxx_set_mac_eee(struct dsa_switch *ds, int port, in mv88e6xxx_set_mac_eee() 1525 struct dsa_switch *ds = chip->ds; in mv88e6xxx_port_vlan() local [all …]
|