Home
last modified time | relevance | path

Searched refs:cpsw (Results 1 – 12 of 12) sorted by relevance

/drivers/net/ethernet/ti/
A Dcpsw_new.c128 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
406 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local
446 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local
494 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local
554 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local
595 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_dual_emac_def_ale_entries() local
621 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_switch_def_ale_entries() local
655 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local
1395 priv->cpsw = cpsw; in cpsw_create_ports()
[all …]
A Dcpsw_ethtool.c175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce() 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
364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin() local
402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_link_ksettings() local
416 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_link_ksettings() local
428 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_eee() local
440 struct cpsw_common *cpsw = priv->cpsw; in cpsw_nway_reset() local
477 struct cpsw_common *cpsw = priv->cpsw; in cpsw_resume_data_pass() local
525 struct cpsw_common *cpsw = priv->cpsw; in cpsw_update_channels_res() local
[all …]
A Dcpsw.c69 struct cpsw_common *cpsw = (priv)->cpsw; \
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
464 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link() local
526 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local
548 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries() local
570 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local
659 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_default_vlan() local
687 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local
1471 priv_sl2->cpsw = cpsw; in cpsw_probe_dual_emac()
[all …]
A Dcpsw_priv.c234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local
293 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_tx_timeout() local
556 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v1() local
580 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v2() local
622 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_set() local
716 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_tx_maxrate() local
772 struct cpsw_common *cpsw = priv->cpsw; in cpsw_shp_is_off() local
788 struct cpsw_common *cpsw = priv->cpsw; in cpsw_fifo_shp_on() local
804 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_bw() local
864 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_rlimit() local
[all …]
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
128 if (cpsw->version == CPSW_VERSION_1) in cpsw_get_pvid()
143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid() local
154 if (cpsw->version == CPSW_VERSION_1) in cpsw_set_pvid()
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
[all …]
A DMakefile6 obj-$(CONFIG_TI_CPSW) += cpsw-common.o
7 obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o
8 obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o
14 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o
17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o
28 obj-$(CONFIG_TI_K3_AM65_CPSW_NUSS) += ti-am65-cpsw-nuss.o
29 ti-am65-cpsw-nuss-y := am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o
30 ti-am65-cpsw-nuss-$(CONFIG_TI_AM65_CPSW_QOS) += am65-cpsw-qos.o
31 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
A Dam65-cpsw-switchdev.c27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local
49 ret = cpsw_ale_control_set(cpsw->ale, port->port_id, in am65_cpsw_port_stp_state_set()
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
293 cpsw_ale_del_mcast(cpsw->ale, mdb->addr, del_mask, in am65_cpsw_port_mdb_del()
[all …]
A Dam65-cpsw-switchdev.h16 int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw);
17 void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw);
19 static inline int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers() argument
24 static inline void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_unregister_notifiers() argument
A Dcpsw_priv.h389 struct cpsw_common *cpsw; member
396 #define ndev_to_cpsw(ndev) (((struct cpsw_priv *)netdev_priv(ndev))->cpsw)
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);
463 int cpsw_need_resplit(struct cpsw_common *cpsw);
A Dam65-cpsw-nuss.c3009 if (AM65_CPSW_IS_CPSW2G(cpsw) || in am65_cpsw_register_notifiers()
3029 if (AM65_CPSW_IS_CPSW2G(cpsw) || in am65_cpsw_unregister_notifiers()
3150 if (switch_en == !cpsw->is_emac_mode) in am65_cpsw_dl_switch_mode_set()
3153 if (!switch_en && cpsw->br_members) { in am65_cpsw_dl_switch_mode_set()
3160 cpsw->is_emac_mode = !switch_en; in am65_cpsw_dl_switch_mode_set()
3162 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set()
3173 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set()
3198 am65_cpsw_init_host_port_switch(cpsw); in am65_cpsw_dl_switch_mode_set()
3200 for (i = 0; i < cpsw->port_num; i++) { in am65_cpsw_dl_switch_mode_set()
3219 am65_cpsw_init_host_port_emac(cpsw); in am65_cpsw_dl_switch_mode_set()
[all …]
A Dcpsw_switchdev.h12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);
13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
A DKconfig63 will be called cpsw.
114 will be called ti-am65-cpsw-nuss.

Completed in 49 milliseconds