Lines Matching +full:dp +full:- +full:phy

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
18 bool dsa_port_supports_hwtstamp(struct dsa_port *dp);
21 int dsa_port_set_state(struct dsa_port *dp, u8 state, bool do_fast_age);
22 int dsa_port_set_mst_state(struct dsa_port *dp,
25 int dsa_port_enable_rt(struct dsa_port *dp, struct phy_device *phy);
26 int dsa_port_enable(struct dsa_port *dp, struct phy_device *phy);
27 void dsa_port_disable_rt(struct dsa_port *dp);
28 void dsa_port_disable(struct dsa_port *dp);
29 int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br,
31 void dsa_port_pre_bridge_leave(struct dsa_port *dp, struct net_device *br);
32 void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br);
33 int dsa_port_lag_change(struct dsa_port *dp,
35 int dsa_port_lag_join(struct dsa_port *dp, struct net_device *lag_dev,
38 void dsa_port_pre_lag_leave(struct dsa_port *dp, struct net_device *lag_dev);
39 void dsa_port_lag_leave(struct dsa_port *dp, struct net_device *lag_dev);
40 int dsa_port_vlan_filtering(struct dsa_port *dp, bool vlan_filtering,
42 bool dsa_port_skip_vlan_configuration(struct dsa_port *dp);
43 int dsa_port_ageing_time(struct dsa_port *dp, clock_t ageing_clock);
44 int dsa_port_mst_enable(struct dsa_port *dp, bool on,
46 int dsa_port_vlan_msti(struct dsa_port *dp,
48 int dsa_port_mtu_change(struct dsa_port *dp, int new_mtu);
49 int dsa_port_fdb_add(struct dsa_port *dp, const unsigned char *addr,
51 int dsa_port_fdb_del(struct dsa_port *dp, const unsigned char *addr,
53 int dsa_port_standalone_host_fdb_add(struct dsa_port *dp,
55 int dsa_port_standalone_host_fdb_del(struct dsa_port *dp,
57 int dsa_port_bridge_host_fdb_add(struct dsa_port *dp, const unsigned char *addr,
59 int dsa_port_bridge_host_fdb_del(struct dsa_port *dp, const unsigned char *addr,
61 int dsa_port_lag_fdb_add(struct dsa_port *dp, const unsigned char *addr,
63 int dsa_port_lag_fdb_del(struct dsa_port *dp, const unsigned char *addr,
65 int dsa_port_fdb_dump(struct dsa_port *dp, dsa_fdb_dump_cb_t *cb, void *data);
66 int dsa_port_mdb_add(const struct dsa_port *dp,
68 int dsa_port_mdb_del(const struct dsa_port *dp,
70 int dsa_port_standalone_host_mdb_add(const struct dsa_port *dp,
72 int dsa_port_standalone_host_mdb_del(const struct dsa_port *dp,
74 int dsa_port_bridge_host_mdb_add(const struct dsa_port *dp,
76 int dsa_port_bridge_host_mdb_del(const struct dsa_port *dp,
78 int dsa_port_pre_bridge_flags(const struct dsa_port *dp,
81 int dsa_port_bridge_flags(struct dsa_port *dp,
84 int dsa_port_vlan_add(struct dsa_port *dp,
87 int dsa_port_vlan_del(struct dsa_port *dp,
89 int dsa_port_host_vlan_add(struct dsa_port *dp,
92 int dsa_port_host_vlan_del(struct dsa_port *dp,
94 int dsa_port_mrp_add(const struct dsa_port *dp,
96 int dsa_port_mrp_del(const struct dsa_port *dp,
98 int dsa_port_mrp_add_ring_role(const struct dsa_port *dp,
100 int dsa_port_mrp_del_ring_role(const struct dsa_port *dp,
102 int dsa_port_phylink_create(struct dsa_port *dp);
103 void dsa_port_phylink_destroy(struct dsa_port *dp);
104 int dsa_shared_port_link_register_of(struct dsa_port *dp);
105 void dsa_shared_port_link_unregister_of(struct dsa_port *dp);
106 int dsa_port_hsr_join(struct dsa_port *dp, struct net_device *hsr,
108 void dsa_port_hsr_leave(struct dsa_port *dp, struct net_device *hsr);
109 int dsa_port_tag_8021q_vlan_add(struct dsa_port *dp, u16 vid, bool broadcast);
110 void dsa_port_tag_8021q_vlan_del(struct dsa_port *dp, u16 vid, bool broadcast);
111 void dsa_port_set_host_flood(struct dsa_port *dp, bool uc, bool mc);
112 int dsa_port_change_conduit(struct dsa_port *dp, struct net_device *conduit,