Home
last modified time | relevance | path

Searched defs:cpsw (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_new.c52 struct cpsw_common *cpsw; member
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() local
127 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local
253 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local
288 struct cpsw_common *cpsw; in cpsw_rx_handler() local
401 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local
441 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local
491 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local
[all …]
Dcpsw_priv.c35 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() local
103 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt() local
119 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt() local
131 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll() local
163 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll() local
181 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll() local
213 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll() local
233 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local
[all …]
Dcpsw.c80 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() local
182 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local
311 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local
349 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); in cpsw_rx_handler() local
460 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link() local
522 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local
544 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries() local
566 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local
653 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_default_vlan() local
[all …]
Dcpsw_ethtool.c159 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_coalesce() local
175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce() local
226 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_sset_count() local
257 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_strings() local
279 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_ethtool_stats() local
320 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol() local
333 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol() local
344 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs_len() local
353 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs() local
364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin() local
[all …]
Dcpsw_switchdev.c29 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_stp_state_set() local
62 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_attr_br_flags_set() local
121 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_pvid() local
143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid() local
169 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_add() local
216 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_del() local
273 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add() local
296 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del() local
386 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work() local
523 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()
[all …]
Dam65-cpsw-switchdev.c27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local
60 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_attr_br_flags_set() local
119 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_get_pvid() local
135 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_set_pvid() local
153 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_vlan_add() local
201 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_vlan_del() local
265 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_add() local
288 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_del() local
376 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_switchdev_event_work() local
513 int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers()
[all …]
Dam65-cpsw-switchdev.h19 static inline int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers()
24 static inline void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_unregister_notifiers()
Dam65-cpsw-nuss.c2195 static int am65_cpsw_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_register_notifiers()
2217 static void am65_cpsw_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_unregister_notifiers()
2229 static void am65_cpsw_init_stp_ale_entry(struct am65_cpsw_common *cpsw) in am65_cpsw_init_stp_ale_entry()
2303 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_init_port_switch_ale() local
2329 struct am65_cpsw_common *cpsw = dl_priv->common; in am65_cpsw_dl_switch_mode_set() local
Dcpsw_priv.h382 struct cpsw_common *cpsw; member