Home
last modified time | relevance | path

Searched refs:dsa_switch_tree (Results 1 – 9 of 9) sorted by relevance

/linux/net/dsa/
H A Ddsa.h12 struct dsa_switch_tree;
20 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag);
21 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag);
22 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst,
24 struct net_device *dsa_tree_find_first_conduit(struct dsa_switch_tree *dst);
25 int dsa_tree_change_tag_proto(struct dsa_switch_tree *dst,
28 void dsa_tree_conduit_admin_state_change(struct dsa_switch_tree *dst,
31 void dsa_tree_conduit_oper_state_change(struct dsa_switch_tree *dst,
37 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst,
H A Ddsa.c65 void dsa_lag_map(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_map()
93 void dsa_lag_unmap(struct dsa_switch_tree *dst, struct dsa_lag *lag) in dsa_lag_unmap()
106 struct dsa_lag *dsa_tree_lag_find(struct dsa_switch_tree *dst, in dsa_tree_lag_find()
118 struct dsa_bridge *dsa_tree_bridge_find(struct dsa_switch_tree *dst, in dsa_tree_bridge_find()
132 struct dsa_switch_tree *dst; in dsa_bridge_num_find()
183 struct dsa_switch_tree *dst; in dsa_switch_find()
202 static struct dsa_switch_tree *dsa_tree_find(int index) in dsa_tree_find()
204 struct dsa_switch_tree *dst; in dsa_tree_find()
213 static struct dsa_switch_tree *dsa_tree_alloc(int index) in dsa_tree_alloc()
215 struct dsa_switch_tree *dst; in dsa_tree_alloc()
[all …]
H A Dswitch.h117 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v);
H A Dtag_dsa.c140 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_xmit_ll()
H A Duser.c2038 struct dsa_switch_tree *dst; in dsa_bridge_mtu_normalization()
3347 static void dsa_tree_migrate_ports_from_lag_conduit(struct dsa_switch_tree *dst, in dsa_tree_migrate_ports_from_lag_conduit()
3373 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_conduit_lag_join()
3414 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_conduit_lag_leave()
3560 struct dsa_switch_tree *dst = cpu_dp->ds->dst; in dsa_user_netdevice_event()
3584 struct dsa_switch_tree *dst; in dsa_user_netdevice_event()
3696 struct dsa_switch_tree *dst = dp->ds->dst; in dsa_foreign_dev_check()
H A Dtag_8021q.c478 struct dsa_switch_tree *dst = cpu_dp->dst; in dsa_tag_8021q_find_port_by_vbid()
H A Dswitch.c1084 int dsa_tree_notify(struct dsa_switch_tree *dst, unsigned long e, void *v) in dsa_tree_notify()
1108 struct dsa_switch_tree *dst; in dsa_broadcast()
/linux/include/net/
H A Ddsa.h133 struct dsa_switch_tree { struct
193 static inline struct dsa_lag *dsa_lag_by_id(struct dsa_switch_tree *dst, in dsa_lag_by_id() argument
200 static inline int dsa_lag_id(struct dsa_switch_tree *dst, in dsa_lag_id()
260 struct dsa_switch_tree *dst;
391 struct dsa_switch_tree *dst;
521 struct dsa_switch_tree *dst = ds->dst; in dsa_to_port()
646 struct dsa_switch_tree *dst = ds->dst; in dsa_routing_port()
814 static inline bool dsa_tree_offloads_bridge_port(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_port()
828 dsa_tree_offloads_bridge_dev(struct dsa_switch_tree *dst, in dsa_tree_offloads_bridge_dev()
/linux/drivers/net/dsa/mv88e6xxx/
H A Dchip.c1526 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_port_vlan()
1755 struct dsa_switch_tree *dst = chip->ds->dst; in mv88e6xxx_pvt_map()
3007 struct dsa_switch_tree *dst = ds->dst; in mv88e6xxx_bridge_map()