Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw_new.c53 struct cpsw_common *cpsw; member
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() local
128 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local
254 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local
289 struct cpsw_common *cpsw; in cpsw_rx_handler() local
402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local
442 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local
490 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local
[all …]
H A Dcpsw_priv.c36 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() local
104 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt() local
120 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt() local
132 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll() local
164 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll() local
182 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll() local
214 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll() local
234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local
[all …]
H A 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 …]
H A 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 …]
H A 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
261 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_add() local
284 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_del() local
372 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_switchdev_event_work() local
509 int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers()
[all …]
H A 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
269 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add() local
292 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del() local
382 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work() local
519 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()
[all …]
H A 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()
H A Dam65-cpsw-nuss.c2383 static int am65_cpsw_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_register_notifiers()
2405 static void am65_cpsw_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_unregister_notifiers()
2417 static void am65_cpsw_init_stp_ale_entry(struct am65_cpsw_common *cpsw) in am65_cpsw_init_stp_ale_entry()
2491 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_init_port_switch_ale() local
2517 struct am65_cpsw_common *cpsw = dl_priv->common; in am65_cpsw_dl_switch_mode_set() local
H A Dcpsw_priv.h389 struct cpsw_common *cpsw; member