dsa_port 87 drivers/net/dsa/microchip/ksz_common.c const struct dsa_port *dp = dsa_to_port(dev->ds, i); dsa_port 180 drivers/net/dsa/microchip/ksz_common.c const struct dsa_port *dp = dsa_to_port(ds, port); dsa_port 59 include/linux/dsa/sja1105.h struct dsa_port *dp; dsa_port 55 include/linux/netdevice.h struct dsa_port; dsa_port 1916 include/linux/netdevice.h struct dsa_port *dsa_ptr; dsa_port 128 include/net/dsa.h struct dsa_port *cpu_dp; dsa_port 186 include/net/dsa.h struct dsa_port *cpu_dp; dsa_port 280 include/net/dsa.h struct dsa_port ports[]; dsa_port 283 include/net/dsa.h static inline const struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) dsa_port 333 include/net/dsa.h const struct dsa_port *dp = dsa_to_port(ds, port); dsa_port 334 include/net/dsa.h const struct dsa_port *cpu_dp = dp->cpu_dp; dsa_port 342 include/net/dsa.h static inline bool dsa_port_is_vlan_filtering(const struct dsa_port *dp) dsa_port 642 include/net/dsa.h int dsa_port_get_phy_strings(struct dsa_port *dp, uint8_t *data); dsa_port 643 include/net/dsa.h int dsa_port_get_ethtool_phy_stats(struct dsa_port *dp, uint64_t *data); dsa_port 644 include/net/dsa.h int dsa_port_get_phy_sset_count(struct dsa_port *dp); dsa_port 206 net/dsa/dsa.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 96 net/dsa/dsa2.c static bool dsa_port_is_dsa(struct dsa_port *port) dsa_port 101 net/dsa/dsa2.c static bool dsa_port_is_cpu(struct dsa_port *port) dsa_port 106 net/dsa/dsa2.c static bool dsa_port_is_user(struct dsa_port *dp) dsa_port 111 net/dsa/dsa2.c static struct dsa_port *dsa_tree_find_port_by_node(struct dsa_switch_tree *dst, dsa_port 115 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 134 net/dsa/dsa2.c static bool dsa_port_setup_routing_table(struct dsa_port *dp) dsa_port 140 net/dsa/dsa2.c struct dsa_port *link_dp; dsa_port 159 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 197 net/dsa/dsa2.c static struct dsa_port *dsa_tree_find_first_cpu(struct dsa_switch_tree *dst) dsa_port 200 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 222 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 255 net/dsa/dsa2.c static int dsa_port_setup(struct dsa_port *dp) dsa_port 340 net/dsa/dsa2.c static void dsa_port_teardown(struct dsa_port *dp) dsa_port 446 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 491 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 511 net/dsa/dsa2.c struct dsa_port *cpu_dp = dst->cpu_dp; dsa_port 520 net/dsa/dsa2.c struct dsa_port *cpu_dp = dst->cpu_dp; dsa_port 613 net/dsa/dsa2.c static int dsa_port_parse_user(struct dsa_port *dp, const char *name) dsa_port 624 net/dsa/dsa2.c static int dsa_port_parse_dsa(struct dsa_port *dp) dsa_port 631 net/dsa/dsa2.c static int dsa_port_parse_cpu(struct dsa_port *dp, struct net_device *master) dsa_port 657 net/dsa/dsa2.c static int dsa_port_parse_of(struct dsa_port *dp, struct device_node *dn) dsa_port 685 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 750 net/dsa/dsa2.c static int dsa_port_parse(struct dsa_port *dp, const char *name, dsa_port 775 net/dsa/dsa2.c struct dsa_port *dp; dsa_port 72 net/dsa/dsa_priv.h struct dsa_port *dp; dsa_port 99 net/dsa/dsa_priv.h int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp); dsa_port 105 net/dsa/dsa_priv.h struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 108 net/dsa/dsa_priv.h struct dsa_port *slave_port; dsa_port 129 net/dsa/dsa_priv.h int dsa_port_set_state(struct dsa_port *dp, u8 state, dsa_port 131 net/dsa/dsa_priv.h int dsa_port_enable_rt(struct dsa_port *dp, struct phy_device *phy); dsa_port 132 net/dsa/dsa_priv.h int dsa_port_enable(struct dsa_port *dp, struct phy_device *phy); dsa_port 133 net/dsa/dsa_priv.h void dsa_port_disable_rt(struct dsa_port *dp); dsa_port 134 net/dsa/dsa_priv.h void dsa_port_disable(struct dsa_port *dp); dsa_port 135 net/dsa/dsa_priv.h int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br); dsa_port 136 net/dsa/dsa_priv.h void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br); dsa_port 137 net/dsa/dsa_priv.h int dsa_port_vlan_filtering(struct dsa_port *dp, bool vlan_filtering, dsa_port 139 net/dsa/dsa_priv.h int dsa_port_ageing_time(struct dsa_port *dp, clock_t ageing_clock, dsa_port 141 net/dsa/dsa_priv.h int dsa_port_fdb_add(struct dsa_port *dp, const unsigned char *addr, dsa_port 143 net/dsa/dsa_priv.h int dsa_port_fdb_del(struct dsa_port *dp, const unsigned char *addr, dsa_port 145 net/dsa/dsa_priv.h int dsa_port_fdb_dump(struct dsa_port *dp, dsa_fdb_dump_cb_t *cb, void *data); dsa_port 146 net/dsa/dsa_priv.h int dsa_port_mdb_add(const struct dsa_port *dp, dsa_port 149 net/dsa/dsa_priv.h int dsa_port_mdb_del(const struct dsa_port *dp, dsa_port 151 net/dsa/dsa_priv.h int dsa_port_pre_bridge_flags(const struct dsa_port *dp, unsigned long flags, dsa_port 153 net/dsa/dsa_priv.h int dsa_port_bridge_flags(const struct dsa_port *dp, unsigned long flags, dsa_port 155 net/dsa/dsa_priv.h int dsa_port_mrouter(struct dsa_port *dp, bool mrouter, dsa_port 157 net/dsa/dsa_priv.h int dsa_port_vlan_add(struct dsa_port *dp, dsa_port 160 net/dsa/dsa_priv.h int dsa_port_vlan_del(struct dsa_port *dp, dsa_port 162 net/dsa/dsa_priv.h int dsa_port_vid_add(struct dsa_port *dp, u16 vid, u16 flags); dsa_port 163 net/dsa/dsa_priv.h int dsa_port_vid_del(struct dsa_port *dp, u16 vid); dsa_port 164 net/dsa/dsa_priv.h int dsa_port_link_register_of(struct dsa_port *dp); dsa_port 165 net/dsa/dsa_priv.h void dsa_port_link_unregister_of(struct dsa_port *dp); dsa_port 187 net/dsa/dsa_priv.h int dsa_slave_create(struct dsa_port *dp); dsa_port 196 net/dsa/dsa_priv.h static inline struct dsa_port *dsa_slave_to_port(const struct net_device *dev) dsa_port 206 net/dsa/dsa_priv.h struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 13 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 43 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 79 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 98 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 122 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 145 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 192 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 202 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 228 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 236 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 260 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 271 net/dsa/master.c struct dsa_port *cpu_dp = dev->dsa_ptr; dsa_port 288 net/dsa/master.c static void dsa_master_set_mtu(struct net_device *dev, struct dsa_port *cpu_dp) dsa_port 314 net/dsa/master.c int dsa_master_setup(struct net_device *dev, struct dsa_port *cpu_dp) dsa_port 16 net/dsa/port.c static int dsa_port_notify(const struct dsa_port *dp, unsigned long e, void *v) dsa_port 26 net/dsa/port.c int dsa_port_set_state(struct dsa_port *dp, u8 state, dsa_port 57 net/dsa/port.c static void dsa_port_set_state_now(struct dsa_port *dp, u8 state) dsa_port 66 net/dsa/port.c int dsa_port_enable_rt(struct dsa_port *dp, struct phy_device *phy) dsa_port 87 net/dsa/port.c int dsa_port_enable(struct dsa_port *dp, struct phy_device *phy) dsa_port 98 net/dsa/port.c void dsa_port_disable_rt(struct dsa_port *dp) dsa_port 113 net/dsa/port.c void dsa_port_disable(struct dsa_port *dp) dsa_port 120 net/dsa/port.c int dsa_port_bridge_join(struct dsa_port *dp, struct net_device *br) dsa_port 150 net/dsa/port.c void dsa_port_bridge_leave(struct dsa_port *dp, struct net_device *br) dsa_port 177 net/dsa/port.c static bool dsa_port_can_apply_vlan_filtering(struct dsa_port *dp, dsa_port 210 net/dsa/port.c int dsa_port_vlan_filtering(struct dsa_port *dp, bool vlan_filtering, dsa_port 241 net/dsa/port.c int dsa_port_ageing_time(struct dsa_port *dp, clock_t ageing_clock, dsa_port 259 net/dsa/port.c int dsa_port_pre_bridge_flags(const struct dsa_port *dp, unsigned long flags, dsa_port 271 net/dsa/port.c int dsa_port_bridge_flags(const struct dsa_port *dp, unsigned long flags, dsa_port 288 net/dsa/port.c int dsa_port_mrouter(struct dsa_port *dp, bool mrouter, dsa_port 300 net/dsa/port.c int dsa_port_fdb_add(struct dsa_port *dp, const unsigned char *addr, dsa_port 313 net/dsa/port.c int dsa_port_fdb_del(struct dsa_port *dp, const unsigned char *addr, dsa_port 327 net/dsa/port.c int dsa_port_fdb_dump(struct dsa_port *dp, dsa_fdb_dump_cb_t *cb, void *data) dsa_port 338 net/dsa/port.c int dsa_port_mdb_add(const struct dsa_port *dp, dsa_port 352 net/dsa/port.c int dsa_port_mdb_del(const struct dsa_port *dp, dsa_port 364 net/dsa/port.c int dsa_port_vlan_add(struct dsa_port *dp, dsa_port 378 net/dsa/port.c int dsa_port_vlan_del(struct dsa_port *dp, dsa_port 390 net/dsa/port.c int dsa_port_vid_add(struct dsa_port *dp, u16 vid, u16 flags) dsa_port 411 net/dsa/port.c int dsa_port_vid_del(struct dsa_port *dp, u16 vid) dsa_port 423 net/dsa/port.c static struct phy_device *dsa_port_get_phy_device(struct dsa_port *dp) dsa_port 446 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 459 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 474 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 486 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 500 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 522 net/dsa/port.c struct dsa_port *dp = container_of(config, struct dsa_port, pl_config); dsa_port 544 net/dsa/port.c static int dsa_port_setup_phy_of(struct dsa_port *dp, bool enable) dsa_port 582 net/dsa/port.c static int dsa_port_fixed_link_register_of(struct dsa_port *dp) dsa_port 616 net/dsa/port.c static int dsa_port_phylink_register(struct dsa_port *dp) dsa_port 649 net/dsa/port.c int dsa_port_link_register_of(struct dsa_port *dp) dsa_port 670 net/dsa/port.c void dsa_port_link_unregister_of(struct dsa_port *dp) dsa_port 689 net/dsa/port.c int dsa_port_get_phy_strings(struct dsa_port *dp, uint8_t *data) dsa_port 708 net/dsa/port.c int dsa_port_get_ethtool_phy_stats(struct dsa_port *dp, uint64_t *data) dsa_port 727 net/dsa/port.c int dsa_port_get_phy_sset_count(struct dsa_port *dp) dsa_port 70 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 115 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 239 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 279 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 315 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 349 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 384 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 401 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 430 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 540 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 552 net/dsa/slave.c struct dsa_port *dp = container_of(work, struct dsa_port, xmit_work); dsa_port 575 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 587 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 596 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 603 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 618 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 630 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 642 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 662 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 691 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 709 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 720 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 734 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 754 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 775 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 783 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 833 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 865 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 871 net/dsa/slave.c struct dsa_port *to_dp; dsa_port 919 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1034 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1077 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1089 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1113 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1147 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1203 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1212 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1219 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1256 net/dsa/slave.c const struct dsa_port *dp = dsa_to_port(ds, port); dsa_port 1265 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1277 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(slave_dev); dsa_port 1291 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(slave_dev); dsa_port 1342 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(slave_dev); dsa_port 1361 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(slave_dev); dsa_port 1378 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1389 net/dsa/slave.c int dsa_slave_create(struct dsa_port *port) dsa_port 1391 net/dsa/slave.c const struct dsa_port *cpu_dp = port->cpu_dp; dsa_port 1474 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(slave_dev); dsa_port 1497 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 1519 net/dsa/slave.c struct dsa_port *dp; dsa_port 1573 net/dsa/slave.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 23 net/dsa/switch.c struct dsa_port *dp = &ds->ports[i]; dsa_port 210 net/dsa/switch.c const struct dsa_port *dp = dsa_to_port(ds, port); dsa_port 133 net/dsa/tag_8021q.c struct dsa_port *dp = &ds->ports[port]; dsa_port 65 net/dsa/tag_brcm.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 17 net/dsa/tag_dsa.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 18 net/dsa/tag_edsa.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 62 net/dsa/tag_gswip.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 94 net/dsa/tag_ksz.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 159 net/dsa/tag_ksz.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 214 net/dsa/tag_ksz.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 48 net/dsa/tag_lan9303.c static int lan9303_xmit_use_arl(struct dsa_port *dp, u8 *dest_addr) dsa_port 57 net/dsa/tag_lan9303.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 23 net/dsa/tag_mtk.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 33 net/dsa/tag_qca.c struct dsa_port *dp = dsa_slave_to_port(dev); dsa_port 89 net/dsa/tag_sja1105.c struct dsa_port *dp = dsa_slave_to_port(netdev); dsa_port 151 net/dsa/tag_sja1105.c struct dsa_port *dp; dsa_port 15 net/dsa/tag_trailer.c struct dsa_port *dp = dsa_slave_to_port(dev);