| /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() argument 28 dsa_switch_for_each_port(dp, ds) in dsa_switch_fastest_ageing_time() 35 static int dsa_switch_ageing_time(struct dsa_switch *ds, in dsa_switch_ageing_time() argument 40 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 43 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 47 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 49 if (ds->ops->set_ageing_time) in dsa_switch_ageing_time() 50 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 61 static int dsa_switch_mtu(struct dsa_switch *ds, in dsa_switch_mtu() argument 67 if (!ds->ops->port_change_mtu) in dsa_switch_mtu() [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 70 return ds->ops->port_fdb_add && ds->ops->port_fdb_del && in dsa_switch_supports_uc_filtering() 71 ds->fdb_isolation && !ds->vlan_filtering_is_global && in dsa_switch_supports_uc_filtering() 72 !ds->needs_standalone_vlan_filtering; in dsa_switch_supports_uc_filtering() 75 static bool dsa_switch_supports_mc_filtering(struct dsa_switch *ds) in dsa_switch_supports_mc_filtering() argument 77 return ds->ops->port_mdb_add && ds->ops->port_mdb_del && in dsa_switch_supports_mc_filtering() 78 ds in dsa_switch_supports_mc_filtering() 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 | dsa.c | 60 * driver by setting ds->num_lag_ids. It is perfectly legal to leave 190 if (dp->ds->index != sw_index) in dsa_switch_find() 193 return dp->ds; in dsa_switch_find() 291 struct dsa_switch *ds = dp->ds; in dsa_link_touch() local 295 dst = ds->dst; in dsa_link_touch() 316 struct dsa_switch *ds = dp->ds; in dsa_port_setup_routing_table() local 317 struct dsa_switch_tree *dst = ds->dst; in dsa_port_setup_routing_table() 401 dsa_switch_preferred_default_local_cpu_port(struct dsa_switch *ds) in dsa_switch_preferred_default_local_cpu_port() argument 405 if (!ds->ops->preferred_default_local_cpu_port) in dsa_switch_preferred_default_local_cpu_port() 408 cpu_dp = ds->ops->preferred_default_local_cpu_port(ds); in dsa_switch_preferred_default_local_cpu_port() [all …]
|
| H A D | port.c | 35 return dsa_tree_notify(dp->ds->dst, e, v); in dsa_port_notify() 57 struct dsa_switch *ds = dp->ds; in dsa_port_fast_age() local 59 if (!ds->ops->port_fast_age) in dsa_port_fast_age() 62 ds->ops->port_fast_age(ds, dp->index); in dsa_port_fast_age() 70 struct dsa_switch *ds = dp->ds; in dsa_port_vlan_fast_age() local 73 if (!ds->ops->port_vlan_fast_age) in dsa_port_vlan_fast_age() 76 err = ds->ops->port_vlan_fast_age(ds, dp->index, vid); in dsa_port_vlan_fast_age() 107 struct dsa_switch *ds = dp->ds; in dsa_port_can_configure_learning() local 110 if (!ds->ops->port_bridge_flags || !ds->ops->port_pre_bridge_flags) in dsa_port_can_configure_learning() 113 err = ds->ops->port_pre_bridge_flags(ds, dp->index, flags, NULL); in dsa_port_can_configure_learning() [all …]
|
| H A D | conduit.c | 24 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs_len() local 39 if (ds->ops->get_regs_len) { in dsa_conduit_get_regs_len() 40 len = ds->ops->get_regs_len(ds, port); in dsa_conduit_get_regs_len() 54 struct dsa_switch *ds = cpu_dp->ds; in dsa_conduit_get_regs() 75 if (ds->ops->get_regs_len && ds->ops->get_regs) { in dsa_conduit_get_regs() 76 len = ds in dsa_conduit_get_regs() 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_8021q.c | 74 struct dsa_switch *ds; member 94 return DSA_8021Q_RSV | DSA_8021Q_SWITCH_ID(dp->ds->index) | in dsa_tag_8021q_standalone_vid() 145 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx; in dsa_port_do_tag_8021q_vlan_add() 146 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_add() local 153 return ds->ops->tag_8021q_vlan_add(ds, port, vid, flags); in dsa_port_do_tag_8021q_vlan_add() 165 err = ds->ops->tag_8021q_vlan_add(ds, port, vid, flags); in dsa_port_do_tag_8021q_vlan_add() 181 struct dsa_8021q_context *ctx = dp->ds->tag_8021q_ctx; in dsa_port_do_tag_8021q_vlan_del() 182 struct dsa_switch *ds = dp->ds; in dsa_port_do_tag_8021q_vlan_del() local 189 return ds->ops->tag_8021q_vlan_del(ds, port, vid); in dsa_port_do_tag_8021q_vlan_del() 198 err = ds->ops->tag_8021q_vlan_del(ds, port, vid); in dsa_port_do_tag_8021q_vlan_del() [all …]
|
| /linux/fs/xfs/scrub/ |
| H A D | dabtree.c | 31 struct xchk_da_btree *ds, in xchk_da_process_error() argument 35 struct xfs_scrub *sc = ds->sc; in xchk_da_process_error() 55 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error() 56 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error() 57 ds->state->path.blk[level].blkno), in xchk_da_process_error() 70 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 73 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 77 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt() 78 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt() 79 ds in xchk_da_set_corrupt() 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...] |
| H A D | attr.c | 296 struct xchk_da_btree *ds, in xchk_xattr_entry() argument 306 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry() 307 struct xchk_xattr_buf *ab = ds->sc->buf; in xchk_xattr_entry() 315 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 319 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 325 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 336 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 342 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 345 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 348 xchk_da_set_corrupt(ds, leve in xchk_xattr_entry() 359 xchk_xattr_block(struct xchk_da_btree * ds,int level) xchk_xattr_block() argument 486 xchk_xattr_rec(struct xchk_da_btree * ds,int level) xchk_xattr_rec() argument [all...] |
| /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 48 struct ocelot *ocelot = ds->priv; in felix_cpu_port_for_conduit() 101 static int felix_tag_8021q_vlan_add_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_rx() argument 106 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_rx() 149 static int felix_tag_8021q_vlan_del_rx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_del_rx() argument 154 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_del_rx() 171 static int felix_tag_8021q_vlan_add_tx(struct dsa_switch *ds, int port, in felix_tag_8021q_vlan_add_tx() argument 175 unsigned long cpu_ports = dsa_cpu_ports(ds); in felix_tag_8021q_vlan_add_tx() 176 struct ocelot *ocelot = ds->priv; in felix_tag_8021q_vlan_add_tx() 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 | 66 * @ds: Dock station. 71 static int add_dock_dependent_device(struct dock_station *ds, in add_dock_dependent_device() argument 82 list_add_tail(&dd->list, &ds->dependent_devices); in add_dock_dependent_device() 118 struct dock_station *ds; in find_dock_station() local 120 list_for_each_entry(ds, &dock_stations, sibling) in find_dock_station() 121 if (ds->handle == handle) in find_dock_station() 122 return ds; in find_dock_station() 129 * @ds: the dock station 136 find_dock_dependent_device(struct dock_station *ds, struct acpi_device *adev) in find_dock_dependent_device() argument 140 list_for_each_entry(dd, &ds->dependent_devices, list) in find_dock_dependent_device() [all …]
|
| /linux/drivers/md/ |
| H A D | dm-bio-prison-v1.c | 287 struct dm_deferred_set *ds; member 302 struct dm_deferred_set *ds; in dm_deferred_set_create() local 304 ds = kmalloc_obj(*ds); in dm_deferred_set_create() 305 if (!ds) in dm_deferred_set_create() 308 spin_lock_init(&ds->lock); in dm_deferred_set_create() 309 ds->current_entry = 0; in dm_deferred_set_create() 310 ds->sweeper = 0; in dm_deferred_set_create() 312 ds->entries[i].ds = ds; in dm_deferred_set_create() 313 ds->entries[i].count = 0; in dm_deferred_set_create() 314 INIT_LIST_HEAD(&ds->entries[i].work_items); in dm_deferred_set_create() [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, 225 static int mxl862xx_wait_ready(struct dsa_switch *ds) in mxl862xx_phy_write_c45_mii_bus() 229 struct mxl862xx_priv *priv = ds->priv; in mxl862xx_phy_write_c45_mii_bus() 249 dev_info(ds->dev, "switch ready after %ums, firmware %u.%u.%u (build %u)\n", in mxl862xx_wait_ready() 263 dev_err(ds->dev, "switch not responding after reset\n"); in mxl862xx_wait_ready() 267 static int mxl862xx_setup_mdio(struct dsa_switch *ds) in mxl862xx_wait_ready() 269 struct mxl862xx_priv *priv = ds->priv; 270 struct device *dev = ds->dev; in mxl862xx_setup_mdio() argument 287 bus->phy_mask = ~ds->phys_mii_mask; in mxl862xx_setup_mdio() 299 static int mxl862xx_bridge_config_fwd(struct dsa_switch *ds, u1 in mxl862xx_setup_mdio() 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 89 struct sja1105_private *priv = ds->priv; in sja1105_drop_untagged() 118 static int sja1105_commit_pvid(struct dsa_switch *ds, int port) in sja1105_commit_pvid() argument 120 struct dsa_port *dp = dsa_to_port(ds, port); in sja1105_commit_pvid() 122 struct sja1105_private *priv = ds->priv; in sja1105_commit_pvid() 153 if (dsa_is_cpu_port(ds, port) || dsa_is_dsa_port(ds, port)) in sja1105_commit_pvid() 156 return sja1105_drop_untagged(ds, port, drop_untagged); in sja1105_commit_pvid() 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.h | 53 int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, 56 void sja1105_tas_setup(struct dsa_switch *ds); 58 void sja1105_tas_teardown(struct dsa_switch *ds); 60 void sja1105_tas_clockstep(struct dsa_switch *ds); 62 void sja1105_tas_adjfreq(struct dsa_switch *ds); 76 static inline int sja1105_setup_tc_taprio(struct dsa_switch *ds, int port, in sja1105_setup_tc_taprio() argument 82 static inline void sja1105_tas_setup(struct dsa_switch *ds) { } in sja1105_tas_setup() argument 84 static inline void sja1105_tas_teardown(struct dsa_switch *ds) { } in sja1105_tas_teardown() argument 86 static inline void sja1105_tas_clockstep(struct dsa_switch *ds) { } in sja1105_tas_clockstep() argument 88 static inline void sja1105_tas_adjfreq(struct dsa_switch *ds) { } in sja1105_tas_adjfreq() argument [all …]
|
| H A D | sja1105_devlink.c | 41 struct dsa_switch *ds = dsa_devlink_to_ds(dl); in sja1105_region_static_config_snapshot() local 42 struct sja1105_private *priv = ds->priv; in sja1105_region_static_config_snapshot() 77 static int sja1105_setup_devlink_regions(struct dsa_switch *ds) in sja1105_setup_devlink_regions() argument 80 struct sja1105_private *priv = ds->priv; in sja1105_setup_devlink_regions() 93 region = dsa_devlink_region_create(ds, ops, 1, size); in sja1105_setup_devlink_regions() 108 static void sja1105_teardown_devlink_regions(struct dsa_switch *ds) in sja1105_teardown_devlink_regions() argument 111 struct sja1105_private *priv = ds->priv; in sja1105_teardown_devlink_regions() 119 int sja1105_devlink_info_get(struct dsa_switch *ds, in sja1105_devlink_info_get() argument 123 struct sja1105_private *priv = ds->priv; in sja1105_devlink_info_get() 130 int sja1105_devlink_setup(struct dsa_switch *ds) in sja1105_devlink_setup() argument [all …]
|
| H A D | sja1105_tas.c | 21 struct dsa_switch *ds = priv->ds; in sja1105_tas_set_runtime_params() local 30 for (port = 0; port < ds->num_ports; port++) { in sja1105_tas_set_runtime_params() 77 dev_err(ds->dev, in sja1105_tas_set_runtime_params() 86 dev_dbg(ds->dev, "earliest base time %lld ns\n", earliest_base_time); in sja1105_tas_set_runtime_params() 87 dev_dbg(ds->dev, "latest base time %lld ns\n", latest_base_time); in sja1105_tas_set_runtime_params() 88 dev_dbg(ds->dev, "longest cycle time %lld ns\n", max_cycle_time); in sja1105_tas_set_runtime_params() 167 struct dsa_switch *ds = priv->ds; in sja1105_init_scheduling() local 211 for (port = 0; port < ds->num_ports; port++) { in sja1105_init_scheduling() 273 for (port = 0; port < ds->num_ports; port++) { in sja1105_init_scheduling() 448 dev_warn(priv->ds->dev, in sja1105_tas_check_conflicts() [all …]
|
| /linux/drivers/hid/ |
| H A D | hid-playstation.c | 585 static inline void dualsense_schedule_work(struct dualsense *ds); 587 static void dualsense_set_lightbar(struct dualsense *ds, u8 red, u8 green, u8 blue); in ps_devices_list_add() 1023 static int dualsense_get_calibration_data(struct dualsense *ds) in dualsense_get_calibration_data() 1025 struct hid_device *hdev = ds->base.hdev; in dualsense_get_calibration_data() 1043 ret = ps_get_report(ds->base.hdev, DS_FEATURE_REPORT_CALIBRATION, buf, in dualsense_get_calibration_data() 1046 hid_err(ds->base.hdev, "Failed to retrieve DualSense calibration info: %d\n", ret); in dualsense_get_calibration_data() 1073 ds->gyro_calib_data[0].abs_code = ABS_RX; in dualsense_get_calibration_data() 1074 ds->gyro_calib_data[0].bias = 0; in dualsense_get_calibration_data() 1075 ds->gyro_calib_data[0].sens_numer = speed_2x * DS_GYRO_RES_PER_DEG_S; in dualsense_get_calibration_data() 1076 ds in dualsense_get_calibration_data() 1014 dualsense_get_calibration_data(struct dualsense * ds) dualsense_get_calibration_data() argument 1141 dualsense_get_firmware_info(struct dualsense * ds) dualsense_get_firmware_info() argument 1174 dualsense_get_mac_address(struct dualsense * ds) dualsense_get_mac_address() argument 1201 struct dualsense *ds = container_of(mc_cdev, struct dualsense, lightbar); dualsense_lightbar_set_brightness() local 1216 struct dualsense *ds = hid_get_drvdata(hdev); dualsense_player_led_get_brightness() local 1224 struct dualsense *ds = hid_get_drvdata(hdev); dualsense_player_led_set_brightness() local 1242 dualsense_init_output_report(struct dualsense * ds,struct dualsense_output_report * rp,void * buf) dualsense_init_output_report() argument 1282 dualsense_schedule_work(struct dualsense * ds) dualsense_schedule_work() argument 1294 dualsense_send_output_report(struct dualsense * ds,struct dualsense_output_report * report) dualsense_send_output_report() argument 1315 struct dualsense *ds = container_of(work, struct dualsense, output_worker); dualsense_output_worker() local 1431 struct dualsense *ds = container_of(ps_dev, struct dualsense, base); dualsense_parse_report() local 1631 struct dualsense *ds = hid_get_drvdata(hdev); dualsense_play_effect() local 1648 struct dualsense *ds = container_of(ps_dev, struct dualsense, base); dualsense_remove() local 1656 dualsense_reset_leds(struct dualsense * ds) dualsense_reset_leds() argument 1681 dualsense_set_lightbar(struct dualsense * ds,u8 red,u8 green,u8 blue) dualsense_set_lightbar() argument 1693 dualsense_set_player_leds(struct dualsense * ds) dualsense_set_player_leds() argument 1718 struct dualsense *ds; dualsense_create() local [all...] |
| /linux/fs/nfs/ |
| H A D | pnfs_nfs.c | 87 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit() 254 cinfo->ds->nwritten -= ret; in pnfs_bucket_scan_ds_commit_list() 255 cinfo->ds->ncommitting += ret; in pnfs_bucket_scan_ds_commit_list() 281 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_scan_commit_lists() 334 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_recover_commit_reqs() 365 cinfo->ds->ncommitting--; in pnfs_bucket_get_committing() 467 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_commit_pagelist() 520 print_ds(struct nfs4_pnfs_ds *ds) in print_ds() argument 522 if (ds == NULL) { in print_ds() 526 printk(KERN_WARNING " ds %s\n" in print_ds() [all …]
|
| /linux/drivers/net/dsa/ |
| 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() argument 118 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_num_active_ports() 121 for (port = 0; port < ds->num_ports; port++) { in bcm_sf2_num_active_ports() 122 if (dsa_is_cpu_port(ds, port)) in bcm_sf2_num_active_ports() 131 static void bcm_sf2_recalc_clock(struct dsa_switch *ds) in bcm_sf2_recalc_clock() argument 133 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_recalc_clock() 144 ports_active = bcm_sf2_num_active_ports(ds); in bcm_sf2_recalc_clock() 158 static void bcm_sf2_imp_setup(struct dsa_switch *ds, int port) in bcm_sf2_imp_setup() argument 160 struct bcm_sf2_priv *priv = bcm_sf2_to_priv(ds); in bcm_sf2_imp_setup() 185 b53_brcm_hdr_setup(ds, port); in bcm_sf2_imp_setup() [all …]
|
| H A D | mt7530.c | 364 mt753x_preferred_default_local_cpu_port(struct dsa_switch *ds) in mt753x_preferred_default_local_cpu_port() argument 366 struct dsa_port *cpu_dp = dsa_to_port(ds, 6); in mt753x_preferred_default_local_cpu_port() 376 mt7530_setup_port6(struct dsa_switch *ds, phy_interface_t interface) in mt7530_setup_port6() argument 378 struct mt7530_priv *priv = ds->priv; in mt7530_setup_port6() 517 mt7530_mib_reset(struct dsa_switch *ds) in mt7530_mib_reset() argument 519 struct mt7530_priv *priv = ds->priv; in mt7530_mib_reset() 751 mt7530_get_strings(struct dsa_switch *ds, int port, u32 stringset, in mt7530_get_strings() argument 779 mt7530_get_ethtool_stats(struct dsa_switch *ds, int port, in mt7530_get_ethtool_stats() argument 782 struct mt7530_priv *priv = ds->priv; in mt7530_get_ethtool_stats() 795 mt7530_get_sset_count(struct dsa_switch *ds, int port, int sset) in mt7530_get_sset_count() argument [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 34 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_get() 53 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, in mv88e6xxx_devlink_param_set() argument 56 struct mv88e6xxx_chip *chip = ds->priv; in mv88e6xxx_devlink_param_set() 81 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_params() argument 83 return dsa_devlink_params_register(ds, mv88e6xxx_devlink_params, in mv88e6xxx_setup_devlink_params() 87 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds) in mv88e6xxx_teardown_devlink_params() argument 89 dsa_devlink_params_unregister(ds, mv88e6xxx_devlink_params, in mv88e6xxx_teardown_devlink_params() 177 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds) in mv88e6xxx_setup_devlink_resources() 180 struct mv88e6xxx_chip *chip = ds in mv88e6xxx_setup_devlink_resources() 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...] |
| H A D | devlink.h | 8 int mv88e6xxx_setup_devlink_params(struct dsa_switch *ds); 9 void mv88e6xxx_teardown_devlink_params(struct dsa_switch *ds); 10 int mv88e6xxx_setup_devlink_resources(struct dsa_switch *ds); 11 int mv88e6xxx_devlink_param_get(struct dsa_switch *ds, u32 id, 13 int mv88e6xxx_devlink_param_set(struct dsa_switch *ds, u32 id, 15 int mv88e6xxx_setup_devlink_regions_global(struct dsa_switch *ds); 16 void mv88e6xxx_teardown_devlink_regions_global(struct dsa_switch *ds); 17 int mv88e6xxx_setup_devlink_regions_port(struct dsa_switch *ds, int port); 18 void mv88e6xxx_teardown_devlink_regions_port(struct dsa_switch *ds, int port); 20 int mv88e6xxx_devlink_info_get(struct dsa_switch *ds,
|
| /linux/drivers/net/dsa/b53/ |
| H A D | b53_common.c | 288 dev_dbg(dev->ds->dev, "VID: %d, members: 0x%04x, untag: 0x%04x\n", in b53_set_vlan_entry() 540 void b53_imp_vlan_setup(struct dsa_switch *ds, int cpu_port) in b53_imp_vlan_setup() argument 542 struct b53_device *dev = ds->priv; 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() argument 656 struct b53_device *dev = ds->priv; in b53_eee_enable_set() 667 int b53_setup_port(struct dsa_switch *ds, int port) in b53_setup_port() argument 669 struct b53_device *dev = ds->priv; in b53_setup_port() 680 if (dsa_is_user_port(ds, port)) in b53_setup_port() 689 if (dsa_is_unused_port(ds, port)) in b53_setup_port() 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/drivers/net/dsa/lantiq/ |
| H A D | lantiq_gswip_common.c | 367 vlan_mapping.val[1] = BIT(port) | dsa_cpu_ports(priv->ds); in gswip_add_single_port_br() 390 static int gswip_port_pre_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_pre_bridge_flags() argument 394 struct gswip_priv *priv = ds->priv; in gswip_port_pre_bridge_flags() 406 static int gswip_port_bridge_flags(struct dsa_switch *ds, int port, in gswip_port_bridge_flags() argument 410 struct gswip_priv *priv = ds->priv; in gswip_port_bridge_flags() 419 static int gswip_port_setup(struct dsa_switch *ds, int port) in gswip_port_setup() argument 421 struct gswip_priv *priv = ds->priv; in gswip_port_setup() 425 err = priv->hw_info->port_setup(ds, port); in gswip_port_setup() 430 if (!dsa_is_cpu_port(ds, port)) { in gswip_port_setup() 439 static int gswip_port_enable(struct dsa_switch *ds, int port, in gswip_port_enable() argument [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 250 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_enable() 271 static void hellcreek_port_disable(struct dsa_switch *ds, int port) in hellcreek_port_disable() argument 273 struct hellcreek *hellcreek = ds->priv; in hellcreek_port_disable() 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 312 struct hellcreek *hellcreek = ds->priv; in hellcreek_get_ethtool_stats() 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...] |