| /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 | 291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 401 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() 461 struct dsa_switch *ds = dp->ds; in dsa_port_setup() local 569 static int dsa_switch_setup_tag_protocol(struct dsa_switch *ds) in dsa_switch_setup_tag_protocol() 613 static void dsa_switch_teardown_tag_protocol(struct dsa_switch *ds) in dsa_switch_teardown_tag_protocol() 621 static int dsa_switch_setup(struct dsa_switch *ds) in dsa_switch_setup() 685 static void dsa_switch_teardown(struct dsa_switch *ds) in dsa_switch_teardown() 1086 static struct dsa_port *dsa_port_touch(struct dsa_switch *ds, int index) in dsa_port_touch() 1132 struct dsa_switch *mds, *ds = dp->ds; in dsa_get_tag_protocol() local [all …]
|
| H A D | user.c | 68 static bool dsa_switch_supports_uc_filtering(struct dsa_switch *ds) in dsa_switch_supports_uc_filtering() argument 75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() argument 90 struct dsa_switch *ds = dp->ds; dsa_user_standalone_event_work() local 279 struct dsa_switch *ds = dp->ds; dsa_user_sync_ha() local 300 struct dsa_switch *ds = dp->ds; dsa_user_unsync_ha() local 321 struct dsa_switch *ds = bus->priv; dsa_user_phy_read() local 331 struct dsa_switch *ds = bus->priv; dsa_user_phy_write() local 339 dsa_user_mii_bus_init(struct dsa_switch * ds) dsa_user_mii_bus_init() argument 362 struct dsa_switch *ds = dp->ds; dsa_user_host_uc_install() local 390 struct dsa_switch *ds = dp->ds; dsa_user_host_uc_uninstall() local 451 struct dsa_switch *ds = dp->ds; dsa_user_change_rx_flags() local 474 struct dsa_switch *ds = dp->ds; dsa_user_set_mac_address() local 884 struct dsa_switch *ds = p->dp->ds; dsa_skb_tx_timestamp() local 962 struct dsa_switch *ds = dp->ds; dsa_user_get_regs_len() local 974 struct dsa_switch *ds = dp->ds; dsa_user_get_regs() local 990 struct dsa_switch *ds = dp->ds; dsa_user_get_eeprom_len() local 1005 struct dsa_switch *ds = dp->ds; dsa_user_get_eeprom() local 1017 struct dsa_switch *ds = dp->ds; dsa_user_set_eeprom() local 1029 struct dsa_switch *ds = dp->ds; dsa_user_get_strings() local 1049 struct dsa_switch *ds = dp->ds; dsa_user_get_ethtool_stats() local 1077 struct dsa_switch *ds = dp->ds; dsa_user_get_sset_count() local 1100 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_phy_stats() local 1110 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_mac_stats() local 1121 struct dsa_switch *ds = dp->ds; dsa_user_get_eth_ctrl_stats() local 1133 struct dsa_switch *ds = dp->ds; dsa_user_get_rmon_stats() local 1143 struct dsa_switch *ds = dp->ds; dsa_user_get_ts_stats() local 1153 struct dsa_switch *ds = dp->ds; dsa_user_net_selftest() local 1167 struct dsa_switch *ds = dp->ds; dsa_user_get_mm() local 1179 struct dsa_switch *ds = dp->ds; dsa_user_set_mm() local 1191 struct dsa_switch *ds = dp->ds; dsa_user_get_mm_stats() local 1200 struct dsa_switch *ds = dp->ds; dsa_user_get_wol() local 1211 struct dsa_switch *ds = dp->ds; dsa_user_set_wol() local 1225 struct dsa_switch *ds = dp->ds; dsa_user_set_eee() local 1258 struct dsa_switch *ds = dp->ds; dsa_user_get_eee() local 1291 struct dsa_switch *ds = dp->ds; dsa_user_get_pause_stats() local 1377 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_matchall_mirred() local 1464 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_matchall_police() local 1548 struct dsa_switch *ds = dp->ds; dsa_user_del_cls_matchall() local 1596 struct dsa_switch *ds = dp->ds; dsa_user_add_cls_flower() local 1610 struct dsa_switch *ds = dp->ds; dsa_user_del_cls_flower() local 1624 struct dsa_switch *ds = dp->ds; dsa_user_stats_cls_flower() local 1721 dsa_user_setup_ft_block(struct dsa_switch * ds,int port,void * type_data) dsa_user_setup_ft_block() argument 1736 struct dsa_switch *ds = dp->ds; dsa_user_setup_tc() local 1757 struct dsa_switch *ds = dp->ds; dsa_user_get_rxnfc() local 1769 struct dsa_switch *ds = dp->ds; dsa_user_set_rxnfc() local 1781 struct dsa_switch *ds = p->dp->ds; dsa_user_get_ts_info() local 1800 struct dsa_switch *ds = dp->ds; dsa_user_vlan_rx_add_vid() local 1873 struct dsa_switch *ds = dp->ds; dsa_user_vlan_rx_kill_vid() local 2107 struct dsa_switch *ds = dp->ds; dsa_user_change_mtu() local 2192 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_set_apptrust() local 2205 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_get_apptrust() local 2218 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_set_default_prio() local 2249 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_ieee_global_dscp_setdel() local 2297 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_add_dscp_prio() local 2361 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_del_default_prio() local 2388 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_del_dscp_prio() local 2445 struct dsa_switch *ds = dp->ds; dsa_user_dcbnl_init() local 2538 struct dsa_switch *ds = dp->ds; dsa_user_get_stats64() local 2566 struct dsa_switch *ds = dp->ds; dsa_user_hwtstamp_get() local 2579 struct dsa_switch *ds = dp->ds; dsa_user_hwtstamp_set() local 2616 dsa_port_phylink_mac_change(struct dsa_switch * ds,int port,bool up) dsa_port_phylink_mac_change() argument 2629 struct dsa_switch *ds = dp->ds; dsa_user_phylink_fixed_state() local 2642 struct dsa_switch *ds = dp->ds; dsa_user_phy_connect() local 2659 struct dsa_switch *ds = dp->ds; dsa_user_phy_setup() local 2704 const struct dsa_switch *ds = dp->ds; dsa_user_setup_tagger() local 2762 struct dsa_switch *ds = port->ds; dsa_user_create() local 2903 struct dsa_switch *ds = dp->ds; dsa_user_change_conduit() local 3185 struct dsa_switch *ds; dsa_user_prechangeupper_sanity_check() local 3636 struct dsa_switch *ds; dsa_user_switchdev_event_work() local 3703 struct dsa_switch *ds = dp->ds; dsa_user_fdb_event() 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 | conduit.c | 24 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs_len() local 56 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_regs() local 96 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_ethtool_stats() local 117 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_ethtool_phy_stats() local 143 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_sset_count() local 168 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_get_strings() local 221 struct dsa_switch *ds = cpu_dp->ds; __dsa_conduit_hwtstamp_validate() local 241 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_ethtool_setup() local 377 struct dsa_switch *ds = cpu_dp->ds; dsa_conduit_setup() local [all...] |
| H A D | tag_qca.c | 39 struct dsa_switch *ds = dp->ds; in qca_tag_rcv() local 91 static int qca_tag_connect(struct dsa_switch *ds) in qca_tag_connect() 104 static void qca_tag_disconnect(struct dsa_switch *ds) in qca_tag_disconnect()
|
| /linux/drivers/net/dsa/ocelot/ |
| H A D | felix.c | 45 static int felix_cpu_port_for_conduit(struct dsa_switch *ds, in felix_cpu_port_for_conduit() argument 101 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() argument 149 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() argument 171 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() argument 238 static int felix_tag_8021q_vlan_del_tx(struct dsa_switch *ds, in argument 269 felix_tag_8021q_vlan_add(struct dsa_switch * ds,int port,u16 vid,u16 flags) felix_tag_8021q_vlan_add() argument 303 felix_tag_8021q_vlan_del(struct dsa_switch * ds,int port,u16 vid) felix_tag_8021q_vlan_del() argument 332 felix_update_tag_8021q_rx_rules(struct dsa_switch * ds,int port,bool vlan_filtering) felix_update_tag_8021q_rx_rules() argument 361 felix_trap_get_cpu_port(struct dsa_switch * ds,const struct ocelot_vcap_filter * trap) felix_trap_get_cpu_port() argument 380 felix_update_trapping_destinations(struct dsa_switch * ds,bool using_tag_8021q) felix_update_trapping_destinations() argument 483 felix_tag_npi_setup(struct dsa_switch * ds) felix_tag_npi_setup() argument 505 felix_tag_npi_teardown(struct dsa_switch * ds) felix_tag_npi_teardown() argument 512 felix_tag_npi_get_host_fwd_mask(struct dsa_switch * ds) felix_tag_npi_get_host_fwd_mask() argument 519 felix_tag_npi_change_conduit(struct dsa_switch * ds,int port,struct net_device * conduit,struct netlink_ext_ack * extack) felix_tag_npi_change_conduit() argument 567 felix_tag_8021q_setup(struct dsa_switch * ds) felix_tag_8021q_setup() argument 623 felix_tag_8021q_teardown(struct dsa_switch * ds) felix_tag_8021q_teardown() argument 648 felix_tag_8021q_get_host_fwd_mask(struct dsa_switch * ds) felix_tag_8021q_get_host_fwd_mask() argument 653 felix_tag_8021q_change_conduit(struct dsa_switch * ds,int port,struct net_device * conduit,struct netlink_ext_ack * extack) felix_tag_8021q_change_conduit() argument 673 felix_set_host_flood(struct dsa_switch * ds,unsigned long mask,bool uc,bool mc,bool bc) felix_set_host_flood() argument 692 felix_migrate_host_flood(struct dsa_switch * ds,const struct felix_tag_proto_ops * proto_ops,const struct felix_tag_proto_ops * old_proto_ops) felix_migrate_host_flood() argument 710 felix_migrate_mdbs(struct dsa_switch * ds,const struct felix_tag_proto_ops * proto_ops,const struct felix_tag_proto_ops * old_proto_ops) felix_migrate_mdbs() argument 732 felix_tag_proto_setup_shared(struct dsa_switch * ds,const struct felix_tag_proto_ops * proto_ops,const struct felix_tag_proto_ops * old_proto_ops) felix_tag_proto_setup_shared() argument 754 felix_change_tag_protocol(struct dsa_switch * ds,enum dsa_tag_protocol proto) felix_change_tag_protocol() argument 801 felix_get_tag_protocol(struct dsa_switch * ds,int port,enum dsa_tag_protocol mp) felix_get_tag_protocol() argument 811 felix_port_set_host_flood(struct dsa_switch * ds,int port,bool uc,bool mc) felix_port_set_host_flood() argument 833 felix_port_change_conduit(struct dsa_switch * ds,int port,struct net_device * conduit,struct netlink_ext_ack * extack) felix_port_change_conduit() argument 843 felix_set_ageing_time(struct dsa_switch * ds,unsigned int ageing_time) felix_set_ageing_time() argument 853 felix_port_fast_age(struct dsa_switch * ds,int port) felix_port_fast_age() argument 864 felix_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) felix_fdb_dump() argument 872 felix_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) felix_fdb_add() argument 893 felix_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) felix_fdb_del() argument 914 felix_lag_fdb_add(struct dsa_switch * ds,struct dsa_lag lag,const unsigned char * addr,u16 vid,struct dsa_db db) felix_lag_fdb_add() argument 927 felix_lag_fdb_del(struct dsa_switch * ds,struct dsa_lag lag,const unsigned char * addr,u16 vid,struct dsa_db db) felix_lag_fdb_del() argument 940 felix_mdb_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) felix_mdb_add() argument 960 felix_mdb_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) felix_mdb_del() argument 980 felix_bridge_stp_state_set(struct dsa_switch * ds,int port,u8 state) felix_bridge_stp_state_set() argument 988 felix_pre_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags val,struct netlink_ext_ack * extack) felix_pre_bridge_flags() argument 997 felix_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags val,struct netlink_ext_ack * extack) felix_bridge_flags() argument 1011 felix_bridge_join(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) felix_bridge_join() argument 1021 felix_bridge_leave(struct dsa_switch * ds,int port,struct dsa_bridge bridge) felix_bridge_leave() argument 1029 felix_lag_join(struct dsa_switch * ds,int port,struct dsa_lag lag,struct netdev_lag_upper_info * info,struct netlink_ext_ack * extack) felix_lag_join() argument 1048 felix_lag_leave(struct dsa_switch * ds,int port,struct dsa_lag lag) felix_lag_leave() argument 1062 felix_lag_change(struct dsa_switch * ds,int port) felix_lag_change() argument 1072 felix_vlan_prepare(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) felix_vlan_prepare() argument 1096 felix_vlan_filtering(struct dsa_switch * ds,int port,bool enabled,struct netlink_ext_ack * extack) felix_vlan_filtering() argument 1119 felix_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) felix_vlan_add() argument 1136 felix_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) felix_vlan_del() argument 1144 felix_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) felix_phylink_get_caps() argument 1230 felix_port_enable(struct dsa_switch * ds,int port,struct phy_device * phydev) felix_port_enable() argument 1255 felix_port_disable(struct dsa_switch * ds,int port) felix_port_disable() argument 1291 felix_get_stats64(struct dsa_switch * ds,int port,struct rtnl_link_stats64 * stats) felix_get_stats64() argument 1299 felix_get_pause_stats(struct dsa_switch * ds,int port,struct ethtool_pause_stats * pause_stats) felix_get_pause_stats() argument 1307 felix_get_rmon_stats(struct dsa_switch * ds,int port,struct ethtool_rmon_stats * rmon_stats,const struct ethtool_rmon_hist_range ** ranges) felix_get_rmon_stats() argument 1316 felix_get_eth_ctrl_stats(struct dsa_switch * ds,int port,struct ethtool_eth_ctrl_stats * ctrl_stats) felix_get_eth_ctrl_stats() argument 1324 felix_get_eth_mac_stats(struct dsa_switch * ds,int port,struct ethtool_eth_mac_stats * mac_stats) felix_get_eth_mac_stats() argument 1332 felix_get_eth_phy_stats(struct dsa_switch * ds,int port,struct ethtool_eth_phy_stats * phy_stats) felix_get_eth_phy_stats() argument 1340 felix_get_ts_stats(struct dsa_switch * ds,int port,struct ethtool_ts_stats * ts_stats) felix_get_ts_stats() argument 1348 felix_get_strings(struct dsa_switch * ds,int port,u32 stringset,u8 * data) felix_get_strings() argument 1356 felix_get_ethtool_stats(struct dsa_switch * ds,int port,u64 * data) felix_get_ethtool_stats() argument 1363 felix_get_sset_count(struct dsa_switch * ds,int port,int sset) felix_get_sset_count() argument 1370 felix_get_ts_info(struct dsa_switch * ds,int port,struct kernel_ethtool_ts_info * info) felix_get_ts_info() argument 1645 struct dsa_switch *ds = xmit_work->dp->ds; felix_port_deferred_xmit() local 1678 felix_connect_tag_protocol(struct dsa_switch * ds,enum dsa_tag_protocol proto) felix_connect_tag_protocol() argument 1696 felix_setup(struct dsa_switch * ds) felix_setup() argument 1775 felix_teardown(struct dsa_switch * ds) felix_teardown() argument 1797 felix_hwtstamp_get(struct dsa_switch * ds,int port,struct kernel_hwtstamp_config * config) felix_hwtstamp_get() argument 1807 felix_hwtstamp_set(struct dsa_switch * ds,int port,struct kernel_hwtstamp_config * config,struct netlink_ext_ack * extack) felix_hwtstamp_set() argument 1879 felix_rxtstamp(struct dsa_switch * ds,int port,struct sk_buff * skb,unsigned int type) felix_rxtstamp() argument 1926 felix_txtstamp(struct dsa_switch * ds,int port,struct sk_buff * skb) felix_txtstamp() argument 1946 felix_change_mtu(struct dsa_switch * ds,int port,int new_mtu) felix_change_mtu() argument 1963 felix_get_max_mtu(struct dsa_switch * ds,int port) felix_get_max_mtu() argument 1970 felix_cls_flower_add(struct dsa_switch * ds,int port,struct flow_cls_offload * cls,bool ingress) felix_cls_flower_add() argument 1987 felix_cls_flower_del(struct dsa_switch * ds,int port,struct flow_cls_offload * cls,bool ingress) felix_cls_flower_del() argument 1995 felix_cls_flower_stats(struct dsa_switch * ds,int port,struct flow_cls_offload * cls,bool ingress) felix_cls_flower_stats() argument 2003 felix_port_policer_add(struct dsa_switch * ds,int port,const struct flow_action_police * policer) felix_port_policer_add() argument 2015 felix_port_policer_del(struct dsa_switch * ds,int port) felix_port_policer_del() argument 2022 felix_port_mirror_add(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror,bool ingress,struct netlink_ext_ack * extack) felix_port_mirror_add() argument 2032 felix_port_mirror_del(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror) felix_port_mirror_del() argument 2040 felix_port_setup_tc(struct dsa_switch * ds,int port,enum tc_setup_type type,void * type_data) felix_port_setup_tc() argument 2053 felix_sb_pool_get(struct dsa_switch * ds,unsigned int sb_index,u16 pool_index,struct devlink_sb_pool_info * pool_info) felix_sb_pool_get() argument 2062 felix_sb_pool_set(struct dsa_switch * ds,unsigned int sb_index,u16 pool_index,u32 size,enum devlink_sb_threshold_type threshold_type,struct netlink_ext_ack * extack) felix_sb_pool_set() argument 2073 felix_sb_port_pool_get(struct dsa_switch * ds,int port,unsigned int sb_index,u16 pool_index,u32 * p_threshold) felix_sb_port_pool_get() argument 2083 felix_sb_port_pool_set(struct dsa_switch * ds,int port,unsigned int sb_index,u16 pool_index,u32 threshold,struct netlink_ext_ack * extack) felix_sb_port_pool_set() argument 2093 felix_sb_tc_pool_bind_get(struct dsa_switch * ds,int port,unsigned int sb_index,u16 tc_index,enum devlink_sb_pool_type pool_type,u16 * p_pool_index,u32 * p_threshold) felix_sb_tc_pool_bind_get() argument 2105 felix_sb_tc_pool_bind_set(struct dsa_switch * ds,int port,unsigned int sb_index,u16 tc_index,enum devlink_sb_pool_type pool_type,u16 pool_index,u32 threshold,struct netlink_ext_ack * extack) felix_sb_tc_pool_bind_set() argument 2118 felix_sb_occ_snapshot(struct dsa_switch * ds,unsigned int sb_index) felix_sb_occ_snapshot() argument 2126 felix_sb_occ_max_clear(struct dsa_switch * ds,unsigned int sb_index) felix_sb_occ_max_clear() argument 2134 felix_sb_occ_port_pool_get(struct dsa_switch * ds,int port,unsigned int sb_index,u16 pool_index,u32 * p_cur,u32 * p_max) felix_sb_occ_port_pool_get() argument 2144 felix_sb_occ_tc_port_bind_get(struct dsa_switch * ds,int port,unsigned int sb_index,u16 tc_index,enum devlink_sb_pool_type pool_type,u32 * p_cur,u32 * p_max) felix_sb_occ_tc_port_bind_get() argument 2155 felix_mrp_add(struct dsa_switch * ds,int port,const struct switchdev_obj_mrp * mrp) felix_mrp_add() argument 2163 felix_mrp_del(struct dsa_switch * ds,int port,const struct switchdev_obj_mrp * mrp) felix_mrp_del() argument 2172 felix_mrp_add_ring_role(struct dsa_switch * ds,int port,const struct switchdev_obj_ring_role_mrp * mrp) felix_mrp_add_ring_role() argument 2181 felix_mrp_del_ring_role(struct dsa_switch * ds,int port,const struct switchdev_obj_ring_role_mrp * mrp) felix_mrp_del_ring_role() argument 2189 felix_port_get_default_prio(struct dsa_switch * ds,int port) felix_port_get_default_prio() argument 2196 felix_port_set_default_prio(struct dsa_switch * ds,int port,u8 prio) felix_port_set_default_prio() argument 2204 felix_port_get_dscp_prio(struct dsa_switch * ds,int port,u8 dscp) felix_port_get_dscp_prio() argument 2211 felix_port_add_dscp_prio(struct dsa_switch * ds,int port,u8 dscp,u8 prio) felix_port_add_dscp_prio() argument 2219 felix_port_del_dscp_prio(struct dsa_switch * ds,int port,u8 dscp,u8 prio) felix_port_del_dscp_prio() argument 2227 felix_get_mm(struct dsa_switch * ds,int port,struct ethtool_mm_state * state) felix_get_mm() argument 2235 felix_set_mm(struct dsa_switch * ds,int port,struct ethtool_mm_cfg * cfg,struct netlink_ext_ack * extack) felix_set_mm() argument 2244 felix_get_mm_stats(struct dsa_switch * ds,int port,struct ethtool_mm_stats * stats) felix_get_mm_stats() argument 2258 felix_port_hsr_join(struct dsa_switch * ds,int port,struct net_device * hsr,struct netlink_ext_ack * extack) felix_port_hsr_join() argument 2283 felix_port_hsr_leave(struct dsa_switch * ds,int port,struct net_device * hsr) felix_port_hsr_leave() argument 2395 struct dsa_switch *ds; felix_register_switch() local 2439 struct dsa_switch *ds = felix->ds; felix_port_to_netdev() local [all...] |
| /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 | 270 struct device *dev = ds->dev; in mxl862xx_setup_mdio() argument 170 mxl862xx_get_tag_protocol(struct dsa_switch * ds,int port,enum dsa_tag_protocol m) mxl862xx_get_tag_protocol() argument 231 mxl862xx_wait_ready(struct dsa_switch * ds) mxl862xx_wait_ready() argument 302 mxl862xx_bridge_config_fwd(struct dsa_switch * ds,u16 bridge_id,bool ucast_flood,bool mcast_flood,bool bcast_flood) mxl862xx_bridge_config_fwd() argument 344 mxl862xx_setup_drop_meter(struct dsa_switch * ds) mxl862xx_setup_drop_meter() argument 387 mxl862xx_set_bridge_port(struct dsa_switch * ds,int port) mxl862xx_set_bridge_port() argument 509 mxl862xx_sync_bridge_members(struct dsa_switch * ds,const struct dsa_bridge * bridge) mxl862xx_sync_bridge_members() argument 602 mxl862xx_free_bridge(struct dsa_switch * ds,const struct dsa_bridge * bridge) mxl862xx_free_bridge() argument 622 mxl862xx_setup(struct dsa_switch * ds) mxl862xx_setup() argument 692 mxl862xx_port_state(struct dsa_switch * ds,int port,bool enable) mxl862xx_port_state() argument 713 mxl862xx_port_enable(struct dsa_switch * ds,int port,struct phy_device * phydev) mxl862xx_port_enable() argument 719 mxl862xx_port_disable(struct dsa_switch * ds,int port) mxl862xx_port_disable() argument 725 mxl862xx_port_fast_age(struct dsa_switch * ds,int port) mxl862xx_port_fast_age() argument 736 mxl862xx_configure_ctp_port(struct dsa_switch * ds,int port,u16 first_ctp_port_id,u16 number_of_ctp_ports) mxl862xx_configure_ctp_port() argument 751 mxl862xx_configure_sp_tag_proto(struct dsa_switch * ds,int port,bool enable) mxl862xx_configure_sp_tag_proto() argument 1075 mxl862xx_port_vlan_filtering(struct dsa_switch * ds,int port,bool vlan_filtering,struct netlink_ext_ack * extack) mxl862xx_port_vlan_filtering() argument 1115 mxl862xx_port_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) mxl862xx_port_vlan_add() argument 1189 mxl862xx_port_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) mxl862xx_port_vlan_del() argument 1257 mxl862xx_setup_cpu_bridge(struct dsa_switch * ds,int port) mxl862xx_setup_cpu_bridge() argument 1273 mxl862xx_port_bridge_join(struct dsa_switch * ds,int port,const struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) mxl862xx_port_bridge_join() argument 1301 mxl862xx_port_bridge_leave(struct dsa_switch * ds,int port,const struct dsa_bridge bridge) mxl862xx_port_bridge_leave() argument 1331 mxl862xx_port_setup(struct dsa_switch * ds,int port) mxl862xx_port_setup() argument 1406 mxl862xx_port_teardown(struct dsa_switch * ds,int port) mxl862xx_port_teardown() argument 1424 mxl862xx_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) mxl862xx_phylink_get_caps() argument 1434 mxl862xx_get_fid(struct dsa_switch * ds,struct dsa_db db) mxl862xx_get_fid() argument 1452 mxl862xx_port_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) mxl862xx_port_fdb_add() argument 1475 mxl862xx_port_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,const struct dsa_db db) mxl862xx_port_fdb_del() argument 1496 mxl862xx_port_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) mxl862xx_port_fdb_dump() argument 1528 mxl862xx_port_mdb_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,const struct dsa_db db) mxl862xx_port_mdb_add() argument 1565 mxl862xx_port_mdb_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,const struct dsa_db db) mxl862xx_port_mdb_del() argument 1610 mxl862xx_set_ageing_time(struct dsa_switch * ds,unsigned int msecs) mxl862xx_set_ageing_time() argument 1630 mxl862xx_port_stp_state_set(struct dsa_switch * ds,int port,u8 state) mxl862xx_port_stp_state_set() argument 1689 struct dsa_switch *ds = priv->ds; mxl862xx_host_flood_work_fn() local 1710 mxl862xx_port_set_host_flood(struct dsa_switch * ds,int port,bool uc,bool mc) mxl862xx_port_set_host_flood() argument 1721 mxl862xx_port_pre_bridge_flags(struct dsa_switch * ds,int port,const struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) mxl862xx_port_pre_bridge_flags() argument 1732 mxl862xx_port_bridge_flags(struct dsa_switch * ds,int port,const struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) mxl862xx_port_bridge_flags() argument 1778 mxl862xx_get_strings(struct dsa_switch * ds,int port,u32 stringset,u8 * data) mxl862xx_get_strings() argument 1790 mxl862xx_get_sset_count(struct dsa_switch * ds,int port,int sset) mxl862xx_get_sset_count() argument 1798 mxl862xx_read_rmon(struct dsa_switch * ds,int port,struct mxl862xx_rmon_port_cnt * cnt) mxl862xx_read_rmon() argument 1808 mxl862xx_get_ethtool_stats(struct dsa_switch * ds,int port,u64 * data) mxl862xx_get_ethtool_stats() argument 1833 mxl862xx_get_eth_mac_stats(struct dsa_switch * ds,int port,struct ethtool_eth_mac_stats * mac_stats) mxl862xx_get_eth_mac_stats() argument 1858 mxl862xx_get_eth_ctrl_stats(struct dsa_switch * ds,int port,struct ethtool_eth_ctrl_stats * ctrl_stats) mxl862xx_get_eth_ctrl_stats() argument 1870 mxl862xx_get_pause_stats(struct dsa_switch * ds,int port,struct ethtool_pause_stats * pause_stats) mxl862xx_get_pause_stats() argument 1882 mxl862xx_get_rmon_stats(struct dsa_switch * ds,int port,struct ethtool_rmon_stats * rmon_stats,const struct ethtool_rmon_hist_range ** ranges) mxl862xx_get_rmon_stats() argument 1934 mxl862xx_stats_poll(struct dsa_switch * ds,int port) mxl862xx_stats_poll() argument 2023 struct dsa_switch *ds = priv->ds; mxl862xx_stats_work_fn() local 2034 mxl862xx_get_stats64(struct dsa_switch * ds,int port,struct rtnl_link_stats64 * s) mxl862xx_get_stats64() argument 2130 struct dsa_switch *ds; mxl862xx_probe() local 2179 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); mxl862xx_remove() local 2206 struct dsa_switch *ds = dev_get_drvdata(&mdiodev->dev); mxl862xx_shutdown() local [all...] |
| /linux/drivers/net/dsa/sja1105/ |
| H A D | sja1105_main.c | 87 static int sja1105_drop_untagged(struct dsa_switch *ds, int port, bool drop) in sja1105_drop_untagged() argument 118 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() argument 201 struct dsa_switch *ds = priv->ds; in sja1105_init_mac_settings() local 252 struct dsa_switch *ds = priv->ds; sja1105_init_mii_settings() local 415 struct dsa_switch *ds = priv->ds; sja1105_init_l2_lookup_params() local 473 struct dsa_switch *ds = priv->ds; sja1105_init_static_vlan() local 511 struct dsa_switch *ds = priv->ds; sja1105_init_l2_forwarding() local 645 struct dsa_switch *ds = priv->ds; sja1110_init_pcp_remapping() local 794 struct dsa_switch *ds = priv->ds; sja1105_init_topology() local 1010 struct dsa_switch *ds = priv->ds; sja1105_init_l2_policing() local 1369 sja1105_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) sja1105_phylink_get_caps() argument 1526 sja1105et_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid) sja1105et_fdb_add() argument 1611 sja1105et_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid) sja1105et_fdb_del() argument 1646 sja1105pqrs_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid) sja1105pqrs_fdb_add() argument 1737 sja1105pqrs_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid) sja1105pqrs_fdb_del() argument 1774 sja1105_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) sja1105_fdb_add() argument 1801 __sja1105_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) __sja1105_fdb_del() argument 1823 sja1105_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) sja1105_fdb_del() argument 1837 sja1105_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) sja1105_fdb_dump() argument 1886 sja1105_fast_age(struct dsa_switch * ds,int port) sja1105_fast_age() argument 1938 sja1105_mdb_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) sja1105_mdb_add() argument 1945 sja1105_mdb_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) sja1105_mdb_del() argument 1961 struct dsa_switch *ds = priv->ds; sja1105_manage_flood_domains() local 1996 sja1105_bridge_member(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool member) sja1105_bridge_member() argument 2045 sja1105_bridge_stp_state_set(struct dsa_switch * ds,int port,u8 state) sja1105_bridge_stp_state_set() argument 2086 sja1105_bridge_join(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) sja1105_bridge_join() argument 2107 sja1105_bridge_leave(struct dsa_switch * ds,int port,struct dsa_bridge bridge) sja1105_bridge_leave() argument 2169 sja1105_setup_tc_cbs(struct dsa_switch * ds,int port,struct tc_cbs_qopt_offload * offload) sja1105_setup_tc_cbs() argument 2264 struct dsa_switch *ds = priv->ds; sja1105_static_config_reload() local 2356 sja1105_get_tag_protocol(struct dsa_switch * ds,int port,enum dsa_tag_protocol mp) sja1105_get_tag_protocol() argument 2368 sja1105_vlan_filtering(struct dsa_switch * ds,int port,bool enabled,struct netlink_ext_ack * extack) sja1105_vlan_filtering() argument 2499 sja1105_bridge_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) sja1105_bridge_vlan_add() argument 2529 sja1105_bridge_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) sja1105_bridge_vlan_del() argument 2545 sja1105_dsa_8021q_vlan_add(struct dsa_switch * ds,int port,u16 vid,u16 flags) sja1105_dsa_8021q_vlan_add() argument 2568 sja1105_dsa_8021q_vlan_del(struct dsa_switch * ds,int port,u16 vid) sja1105_dsa_8021q_vlan_del() argument 2575 sja1105_prechangeupper(struct dsa_switch * ds,int port,struct netdev_notifier_changeupper_info * info) sja1105_prechangeupper() argument 2603 sja1105_mgmt_xmit(struct dsa_switch * ds,int port,int slot,struct sk_buff * skb,bool takets) sja1105_mgmt_xmit() argument 2672 struct dsa_switch *ds = xmit_work->dp->ds; sja1105_port_deferred_xmit() local 2691 sja1105_connect_tag_protocol(struct dsa_switch * ds,enum dsa_tag_protocol proto) sja1105_connect_tag_protocol() argument 2710 sja1105_set_ageing_time(struct dsa_switch * ds,unsigned int ageing_time) sja1105_set_ageing_time() argument 2731 sja1105_change_mtu(struct dsa_switch * ds,int port,int new_mtu) sja1105_change_mtu() argument 2751 sja1105_get_max_mtu(struct dsa_switch * ds,int port) sja1105_get_max_mtu() argument 2756 sja1105_port_setup_tc(struct dsa_switch * ds,int port,enum tc_setup_type type,void * type_data) sja1105_port_setup_tc() argument 2781 struct dsa_switch *ds = priv->ds; sja1105_mirror_apply() local 2834 sja1105_mirror_add(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror,bool ingress,struct netlink_ext_ack * extack) sja1105_mirror_add() argument 2842 sja1105_mirror_del(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror) sja1105_mirror_del() argument 2849 sja1105_port_policer_add(struct dsa_switch * ds,int port,const struct flow_action_police * policer) sja1105_port_policer_add() argument 2868 sja1105_port_policer_del(struct dsa_switch * ds,int port) sja1105_port_policer_del() argument 2953 sja1105_port_pre_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) sja1105_port_pre_bridge_flags() argument 2978 sja1105_port_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) sja1105_port_bridge_flags() argument 3025 sja1105_setup(struct dsa_switch * ds) sja1105_setup() argument 3119 sja1105_teardown(struct dsa_switch * ds) sja1105_teardown() argument 3241 struct dsa_switch *ds; sja1105_probe() local [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()
|
| H A D | sja1105_flower.c | 38 struct dsa_switch *ds = priv->ds; in sja1105_setup_bcast_policer() local 346 int sja1105_cls_flower_add(struct dsa_switch *ds, int port, in sja1105_cls_flower_add() argument 462 int sja1105_cls_flower_del(struct dsa_switch *ds, in argument 502 sja1105_cls_flower_stats(struct dsa_switch * ds,int port,struct flow_cls_offload * cls,bool ingress) sja1105_cls_flower_stats() argument 523 sja1105_flower_setup(struct dsa_switch * ds) sja1105_flower_setup() argument 534 sja1105_flower_teardown(struct dsa_switch * ds) sja1105_flower_teardown() argument [all...] |
| /linux/drivers/net/dsa/ |
| H A D | mt7530.c | 364 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() 376 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port6() 517 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() 751 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() 779 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() 795 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() 803 static void mt7530_get_eth_mac_stats(struct dsa_switch *ds, int port, in mt7530_get_eth_mac_stats() 868 static void mt7530_get_rmon_stats(struct dsa_switch *ds, int port, in mt7530_get_rmon_stats() 984 static void mt7530_get_stats64(struct dsa_switch *ds, int port, in mt7530_get_stats64() 1004 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 | 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() argument 654 static void b53_eee_enable_set(struct dsa_switch *ds, int port, bool enable) in b53_eee_enable_set() argument 667 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port() argument 700 int b53_enable_port(struct dsa_switch *ds, in argument 743 b53_disable_port(struct dsa_switch * ds,int port) b53_disable_port() argument 761 b53_brcm_hdr_setup(struct dsa_switch * ds,int port) b53_brcm_hdr_setup() argument 878 b53_vlan_port_needs_forced_tagged(struct dsa_switch * ds,int port) b53_vlan_port_needs_forced_tagged() argument 885 b53_vlan_port_may_join_untagged(struct dsa_switch * ds,int port) b53_vlan_port_may_join_untagged() argument 901 b53_configure_vlan(struct dsa_switch * ds) b53_configure_vlan() argument 1043 b53_phy_read16(struct dsa_switch * ds,int addr,int reg) b53_phy_read16() argument 1058 b53_phy_write16(struct dsa_switch * ds,int addr,int reg,u16 val) b53_phy_write16() argument 1128 b53_get_phy_device(struct dsa_switch * ds,int port) b53_get_phy_device() argument 1141 b53_get_strings(struct dsa_switch * ds,int port,u32 stringset,uint8_t * data) b53_get_strings() argument 1163 b53_get_ethtool_stats(struct dsa_switch * ds,int port,uint64_t * data) b53_get_ethtool_stats() argument 1196 b53_get_ethtool_phy_stats(struct dsa_switch * ds,int port,uint64_t * data) b53_get_ethtool_phy_stats() argument 1208 b53_get_sset_count(struct dsa_switch * ds,int port,int sset) b53_get_sset_count() argument 1247 b53_setup_devlink_resources(struct dsa_switch * ds) b53_setup_devlink_resources() argument 1275 b53_setup(struct dsa_switch * ds) b53_setup() argument 1339 b53_teardown(struct dsa_switch * ds) b53_teardown() argument 1436 b53_adjust_63xx_rgmii(struct dsa_switch * ds,int port,phy_interface_t interface) b53_adjust_63xx_rgmii() argument 1456 b53_adjust_531x5_rgmii(struct dsa_switch * ds,int port,phy_interface_t interface) b53_adjust_531x5_rgmii() argument 1501 b53_adjust_5325_mii(struct dsa_switch * ds,int port) b53_adjust_5325_mii() argument 1524 b53_port_event(struct dsa_switch * ds,int port) b53_port_event() argument 1536 b53_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) b53_phylink_get_caps() argument 1597 struct dsa_switch *ds = dp->ds; b53_phylink_mac_config() local 1646 struct dsa_switch *ds = dp->ds; b53_phylink_mac_link_up() local 1680 b53_vlan_filtering(struct dsa_switch * ds,int port,bool vlan_filtering,struct netlink_ext_ack * extack) b53_vlan_filtering() argument 1694 b53_vlan_prepare(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) b53_vlan_prepare() argument 1715 b53_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) b53_vlan_add() argument 1769 b53_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) b53_vlan_del() argument 2028 b53_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) b53_fdb_add() argument 2043 b53_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) b53_fdb_del() argument 2181 b53_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) b53_fdb_dump() argument 2225 b53_mdb_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) b53_mdb_add() argument 2246 b53_mdb_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_mdb * mdb,struct dsa_db db) b53_mdb_del() argument 2263 b53_br_join(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) b53_br_join() argument 2330 b53_br_leave(struct dsa_switch * ds,int port,struct dsa_bridge bridge) b53_br_leave() argument 2381 b53_br_set_stp_state(struct dsa_switch * ds,int port,u8 state) b53_br_set_stp_state() argument 2415 b53_br_fast_age(struct dsa_switch * ds,int port) b53_br_fast_age() argument 2424 b53_br_flags_pre(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) b53_br_flags_pre() argument 2441 b53_br_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) b53_br_flags() argument 2462 b53_possible_cpu_port(struct dsa_switch * ds,int port) b53_possible_cpu_port() argument 2477 b53_can_enable_brcm_tags(struct dsa_switch * ds,int port,enum dsa_tag_protocol tag_protocol) b53_can_enable_brcm_tags() argument 2503 b53_get_tag_protocol(struct dsa_switch * ds,int port,enum dsa_tag_protocol mprot) b53_get_tag_protocol() argument 2536 b53_mirror_add(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror,bool ingress,struct netlink_ext_ack * extack) b53_mirror_add() argument 2562 b53_mirror_del(struct dsa_switch * ds,int port,struct dsa_mall_mirror_tc_entry * mirror) b53_mirror_del() argument 2603 b53_eee_init(struct dsa_switch * ds,int port,struct phy_device * phy) b53_eee_init() argument 2620 b53_support_eee(struct dsa_switch * ds,int port) b53_support_eee() argument 2628 b53_set_mac_eee(struct dsa_switch * ds,int port,struct ethtool_keee * e) b53_set_mac_eee() argument 2640 b53_change_mtu(struct dsa_switch * ds,int port,int mtu) b53_change_mtu() argument 2658 b53_get_max_mtu(struct dsa_switch * ds,int port) b53_get_max_mtu() argument 2668 b53_set_ageing_time(struct dsa_switch * ds,unsigned int msecs) b53_set_ageing_time() argument 3190 struct dsa_switch *ds; b53_switch_alloc() local [all...] |
| /linux/fs/xfs/scrub/ |
| H A D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() argument 70 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 86 xchk_da_set_preen(struct xchk_da_btree * ds,int level) xchk_da_set_preen() argument 101 xchk_da_btree_node_entry(struct xchk_da_btree * ds,int level) xchk_da_btree_node_entry() argument 116 xchk_da_btree_hash(struct xchk_da_btree * ds,int level,__be32 * hashp) xchk_da_btree_hash() argument 148 xchk_da_btree_ptr_ok(struct xchk_da_btree * ds,int level,xfs_dablk_t blkno) xchk_da_btree_ptr_ok() argument 236 xchk_da_btree_block_check_sibling(struct xchk_da_btree * ds,int level,int direction,xfs_dablk_t sibling) xchk_da_btree_block_check_sibling() argument 296 xchk_da_btree_block_check_siblings(struct xchk_da_btree * ds,int level,struct xfs_da_blkinfo * hdr) xchk_da_btree_block_check_siblings() argument 331 xchk_da_btree_block(struct xchk_da_btree * ds,int level,xfs_dablk_t blkno) xchk_da_btree_block() argument 507 struct xchk_da_btree *ds; xchk_da_btree() local [all...] |
| /linux/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek.c | 240 static enum dsa_tag_protocol hellcreek_get_tag_protocol(struct dsa_switch *ds, in hellcreek_get_tag_protocol() argument 247 static int hellcreek_port_enable(struct dsa_switch *ds, int port, in hellcreek_port_enable() argument 271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() argument 292 static void hellcreek_get_strings(struct dsa_switch *ds, int port, in hellcreek_get_strings() argument 301 static int hellcreek_get_sset_count(struct dsa_switch *ds, int port, int sset) in hellcreek_get_sset_count() argument 309 static void hellcreek_get_ethtool_stats(struct dsa_switch *ds, int port, in hellcreek_get_ethtool_stats() argument 348 static int hellcreek_vlan_prepare(struct dsa_switch *ds, in argument 455 hellcreek_vlan_add(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan,struct netlink_ext_ack * extack) hellcreek_vlan_add() argument 477 hellcreek_vlan_del(struct dsa_switch * ds,int port,const struct switchdev_obj_port_vlan * vlan) hellcreek_vlan_del() argument 489 hellcreek_port_stp_state_set(struct dsa_switch * ds,int port,u8 state) hellcreek_port_stp_state_set() argument 584 hellcreek_setup_vlan_membership(struct dsa_switch * ds,int port,bool enabled) hellcreek_setup_vlan_membership() argument 654 hellcreek_pre_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) hellcreek_pre_bridge_flags() argument 664 hellcreek_bridge_flags(struct dsa_switch * ds,int port,struct switchdev_brport_flags flags,struct netlink_ext_ack * extack) hellcreek_bridge_flags() argument 681 hellcreek_port_bridge_join(struct dsa_switch * ds,int port,struct dsa_bridge bridge,bool * tx_fwd_offload,struct netlink_ext_ack * extack) hellcreek_port_bridge_join() argument 700 hellcreek_port_bridge_leave(struct dsa_switch * ds,int port,struct dsa_bridge bridge) hellcreek_port_bridge_leave() argument 835 hellcreek_fdb_add(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) hellcreek_fdb_add() argument 881 hellcreek_fdb_del(struct dsa_switch * ds,int port,const unsigned char * addr,u16 vid,struct dsa_db db) hellcreek_fdb_del() argument 922 hellcreek_fdb_dump(struct dsa_switch * ds,int port,dsa_fdb_dump_cb_t * cb,void * data) hellcreek_fdb_dump() argument 969 hellcreek_vlan_filtering(struct dsa_switch * ds,int port,bool vlan_filtering,struct netlink_ext_ack * extack) hellcreek_vlan_filtering() argument 1169 hellcreek_devlink_info_get(struct dsa_switch * ds,struct devlink_info_req * req,struct netlink_ext_ack * extack) hellcreek_devlink_info_get() argument 1210 hellcreek_setup_devlink_resources(struct dsa_switch * ds) hellcreek_setup_devlink_resources() argument 1264 struct dsa_switch *ds = dsa_devlink_to_ds(dl); hellcreek_devlink_region_vlan_snapshot() local 1291 struct dsa_switch *ds = dsa_devlink_to_ds(dl); hellcreek_devlink_region_fdb_snapshot() local 1335 hellcreek_setup_devlink_regions(struct dsa_switch * ds) hellcreek_setup_devlink_regions() argument 1373 hellcreek_teardown_devlink_regions(struct dsa_switch * ds) hellcreek_teardown_devlink_regions() argument 1381 hellcreek_setup(struct dsa_switch * ds) hellcreek_setup() argument 1458 hellcreek_teardown(struct dsa_switch * ds) hellcreek_teardown() argument 1464 hellcreek_phylink_get_caps(struct dsa_switch * ds,int port,struct phylink_config * config) hellcreek_phylink_get_caps() argument 1490 hellcreek_port_prechangeupper(struct dsa_switch * ds,int port,struct netdev_notifier_changeupper_info * info) hellcreek_port_prechangeupper() argument 1738 hellcreek_port_set_schedule(struct dsa_switch * ds,int port,struct tc_taprio_qopt_offload * taprio) hellcreek_port_set_schedule() argument 1798 hellcreek_port_del_schedule(struct dsa_switch * ds,int port) hellcreek_port_del_schedule() argument 1872 hellcreek_port_setup_tc(struct dsa_switch * ds,int port,enum tc_setup_type type,void * type_data) hellcreek_port_setup_tc() argument [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/mv88e6xxx/ |
| H A D | devlink.c | 31 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_get() argument 53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() argument 81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() argument 87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() argument 176 mv88e6xxx_setup_devlink_resources(struct dsa_switch * ds) mv88e6xxx_setup_devlink_resources() argument 270 struct dsa_switch *ds = dsa_devlink_to_ds(dl); mv88e6xxx_region_global_snapshot() local 376 struct dsa_switch *ds = dsa_devlink_to_ds(dl); mv88e6xxx_region_atu_snapshot() local 437 struct dsa_switch *ds = dsa_devlink_to_ds(dl); mv88e6xxx_region_vtu_snapshot() local 519 struct dsa_switch *ds = dsa_devlink_to_ds(dl); mv88e6xxx_region_stu_snapshot() local 575 struct dsa_switch *ds = dsa_devlink_to_ds(dl); mv88e6xxx_region_pvt_snapshot() local 613 struct dsa_switch *ds = dsa_devlink_port_to_ds(devlink_port); mv88e6xxx_region_port_snapshot() local 725 mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch * ds) mv88e6xxx_teardown_devlink_regions_global() argument 735 mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch * ds,int port) mv88e6xxx_teardown_devlink_regions_port() argument 742 mv88e6xxx_setup_devlink_regions_port(struct dsa_switch * ds,int port) mv88e6xxx_setup_devlink_regions_port() argument 759 mv88e6xxx_setup_devlink_regions_global(struct dsa_switch * ds) mv88e6xxx_setup_devlink_regions_global() argument 805 mv88e6xxx_devlink_info_get(struct dsa_switch * ds,struct devlink_info_req * req,struct netlink_ext_ack * extack) mv88e6xxx_devlink_info_get() argument [all...] |
| /linux/drivers/net/wireless/ath/ath9k/ |
| H A D | ar9002_mac.c | 27 static void ar9002_hw_set_desc_link(void *ds, u32 ds_link) in ar9002_hw_set_desc_link() argument 212 ar9002_set_txdesc(struct ath_hw *ah, void *ds, struct ath_tx_info *i) in ar9002_set_txdesc() argument 316 static int ar9002_hw_proc_txdesc(struct ath_hw *ah, void *ds, in ar9002_hw_proc_txdesc() argument 388 static int ar9002_hw_get_duration(struct ath_hw *ah, const void *ds, int index) in ar9002_hw_get_duration() argument 406 ath9k_hw_setuprxdesc(struct ath_hw * ah,struct ath_desc * ds,u32 size,u32 flags) ath9k_hw_setuprxdesc() argument [all...] |
| /linux/drivers/net/dsa/realtek/ |
| H A D | rtl83xx.c | 72 rtl83xx_setup_user_mdio(struct dsa_switch * ds) rtl83xx_setup_user_mdio() argument 225 struct dsa_switch *ds = &priv->ds; rtl83xx_register_switch() local 261 struct dsa_switch *ds = &priv->ds; rtl83xx_unregister_switch() local 280 struct dsa_switch *ds = &priv->ds; rtl83xx_shutdown() local [all...] |