Home
last modified time | relevance | path

Searched refs:cpsw_common (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_ethtool.c159 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_coalesce()
175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce()
226 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_sset_count()
257 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_strings()
279 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_ethtool_stats()
320 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol()
333 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol()
344 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs_len()
353 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs()
364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin()
[all …]
Dcpsw_new.c53 struct cpsw_common *cpsw;
65 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()
74 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en()
81 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious()
128 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc()
254 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode()
289 struct cpsw_common *cpsw; in cpsw_rx_handler()
402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry()
442 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid()
490 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore()
[all …]
Dcpsw_priv.c34 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
36 void cpsw_intr_enable(struct cpsw_common *cpsw) in cpsw_intr_enable()
44 void cpsw_intr_disable(struct cpsw_common *cpsw) in cpsw_intr_disable()
88 struct cpsw_common *cpsw = dev_id; in cpsw_tx_interrupt()
104 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt()
120 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt()
132 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll()
164 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll()
182 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll()
214 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll()
[all …]
Dcpsw_switchdev.c29 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_stp_state_set()
62 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_attr_br_flags_set()
121 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_pvid()
143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid()
169 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_add()
216 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_del()
269 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add()
292 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del()
382 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work()
519 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()
[all …]
Dcpsw_priv.h331 struct cpsw_common { struct
389 struct cpsw_common *cpsw;
397 #define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi)
399 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
437 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
440 void cpsw_split_res(struct cpsw_common *cpsw);
442 void cpsw_intr_enable(struct cpsw_common *cpsw);
443 void cpsw_intr_disable(struct cpsw_common *cpsw);
445 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
446 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
[all …]
Dcpsw.c69 struct cpsw_common *cpsw = (priv)->cpsw; \
80 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()
96 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious()
182 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc()
311 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode()
349 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); in cpsw_rx_handler()
460 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link()
522 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link()
544 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries()
566 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open()
[all …]
Dcpsw_switchdev.h12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);