Home
last modified time | relevance | path

Searched refs:dsa_ptr (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/net/dsa/
Dmaster.c13 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_regs_len()
43 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_regs()
79 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_ethtool_stats()
98 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_ethtool_phy_stats()
122 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_sset_count()
145 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_get_strings()
192 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_ioctl()
224 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_ethtool_setup()
253 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_ethtool_teardown()
268 dev->dsa_ptr->netdev_ops = ops; in dsa_netdev_ops_set()
[all …]
Dtag_qca.c37 struct dsa_port *dp = dev->dsa_ptr; in qca_tag_rcv()
Dslave.c2843 if (!dsa_port_tree_same(lower1->dsa_ptr, in dsa_lag_master_validate()
2844 lower2->dsa_ptr)) { in dsa_lag_master_validate()
2910 if (!dsa_port_tree_same(dev->dsa_ptr, lower->dsa_ptr)) { in dsa_lag_master_prechangelower_sanity_check()
2987 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_master_lag_join()
3020 dsa_master_lag_teardown(lag_dev, master->dsa_ptr); in dsa_master_lag_join()
3028 struct dsa_port *dp, *cpu_dp = lag_dev->dsa_ptr; in dsa_master_lag_leave()
3036 new_cpu_dp = lower->dsa_ptr; in dsa_master_lag_leave()
3052 lag_dev->dsa_ptr = new_cpu_dp; in dsa_master_lag_leave()
3064 dsa_master_lag_teardown(lag_dev, master->dsa_ptr); in dsa_master_lag_leave()
3160 dp = dev->dsa_ptr; in dsa_slave_netdevice_event()
[all …]
Ddsa_priv.h197 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_master_find_slave()
410 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_find_designated_bridge_port_by_vid()
Dtag_dsa.c257 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_rcv_ll()
Ddsa2.c1294 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_tree_master_state_change()
1306 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_tree_master_admin_state_change()
1329 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_tree_master_oper_state_change()
1823 dp->master->dsa_ptr = NULL; in dsa_switch_shutdown()
Dtag_8021q.c457 struct dsa_port *cpu_dp = master->dsa_ptr; in dsa_tag_8021q_find_port_by_vbid()
Ddsa.c219 struct dsa_port *cpu_dp = dev->dsa_ptr; in dsa_switch_rcv()
Dtag_sja1105.c593 cpu_dp = master->dsa_ptr; in sja1110_rcv_meta()
Dport.c1411 dp->cpu_dp = master->dsa_ptr; in dsa_port_assign_master()
/linux-6.1.9/include/net/
Ddsa.h1308 return dev->dsa_ptr && dev->dsa_ptr->rcv; in netdev_uses_dsa()
1331 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
1344 if (!dev->dsa_ptr) in __dsa_netdevice_ops_check()
1347 if (!dev->dsa_ptr->netdev_ops) in __dsa_netdevice_ops_check()
1363 ops = dev->dsa_ptr->netdev_ops; in dsa_ndo_eth_ioctl()
/linux-6.1.9/Documentation/networking/dsa/
Ddsa.rst254 if (dev->dsa_ptr != NULL)
388 ``dsa_ptr``, this structure references a dsa_platform_data structure as well as
422 Once a master network device is configured to use DSA (dev->dsa_ptr becomes
655 master->dsa_ptr``. Additionally, the master can also be a LAG device where
657 valid ``master->dsa_ptr`` pointer, however this is not unique, but rather a
658 duplicate of the first physical DSA master's (LAG slave) ``dsa_ptr``. In case
/linux-6.1.9/drivers/net/ethernet/mediatek/
Dmtk_ppe.c680 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
/linux-6.1.9/drivers/net/dsa/qca/
Dqca8k-8xxx.c1617 struct dsa_port *dp = master->dsa_ptr; in qca8k_master_change()
/linux-6.1.9/net/core/
Dflow_dissector.c977 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()
/linux-6.1.9/drivers/net/dsa/ocelot/
Dfelix.c60 cpu_dp = master->dsa_ptr; in felix_cpu_port_for_master()
/linux-6.1.9/include/linux/
Dnetdevice.h2155 struct dsa_port *dsa_ptr; member