Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/ti/
H A 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_work()
307 struct cpsw_common *cpsw; in cpsw_rx_handler()
424 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry()
464 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid()
512 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore()
[all …]
H A 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 …]
H A Dcpsw_priv.h331 struct cpsw_common { struct
389 struct cpsw_common *cpsw;
398 #define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi)
400 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,
438 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,
441 void cpsw_split_res(struct cpsw_common *cpsw);
443 void cpsw_intr_enable(struct cpsw_common *cpsw);
444 void cpsw_intr_disable(struct cpsw_common *cpsw);
446 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);
447 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);
[all …]
H A 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_work()
368 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); in cpsw_rx_handler()
483 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link()
545 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link()
567 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries()
589 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open()
[all …]
H A Dcpsw_switchdev.h12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);