Home
last modified time | relevance | path

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

/Linux-v5.15/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_priv.c33 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);
35 void cpsw_intr_enable(struct cpsw_common *cpsw) in cpsw_intr_enable()
43 void cpsw_intr_disable(struct cpsw_common *cpsw) in cpsw_intr_disable()
87 struct cpsw_common *cpsw = dev_id; in cpsw_tx_interrupt()
103 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt()
119 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt()
131 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll()
163 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll()
181 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll()
213 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll()
[all …]
Dcpsw_new.c52 struct cpsw_common *cpsw;
64 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()
73 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en()
80 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious()
127 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc()
253 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode()
288 struct cpsw_common *cpsw; in cpsw_rx_handler()
401 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry()
441 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid()
491 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore()
[all …]
Dcpsw_priv.h329 struct cpsw_common { struct
382 struct cpsw_common *cpsw; argument
388 #define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi)
390 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
429 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
432 void cpsw_split_res(struct cpsw_common *cpsw);
434 void cpsw_intr_enable(struct cpsw_common *cpsw);
435 void cpsw_intr_disable(struct cpsw_common *cpsw);
437 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
438 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
[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()
273 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add()
296 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del()
386 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work()
523 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()
[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);