Searched refs:cpsw (Results 1 – 12 of 12) sorted by relevance
128 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local254 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local406 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local446 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local494 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local554 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local595 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_dual_emac_def_ale_entries() local621 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_add_switch_def_ale_entries() local655 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local1395 priv->cpsw = cpsw; in cpsw_create_ports()[all …]
175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce() local320 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol() local333 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol() local364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin() local402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_link_ksettings() local416 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_link_ksettings() local428 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_eee() local440 struct cpsw_common *cpsw = priv->cpsw; in cpsw_nway_reset() local477 struct cpsw_common *cpsw = priv->cpsw; in cpsw_resume_data_pass() local525 struct cpsw_common *cpsw = priv->cpsw; in cpsw_update_channels_res() local[all …]
69 struct cpsw_common *cpsw = (priv)->cpsw; \182 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local311 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local464 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link() local526 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local548 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries() local570 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local659 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_default_vlan() local687 struct cpsw_common *cpsw = priv->cpsw; in cpsw_init_host_port() local1471 priv_sl2->cpsw = cpsw; in cpsw_probe_dual_emac()[all …]
234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local293 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_tx_timeout() local556 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v1() local580 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_v2() local622 struct cpsw_common *cpsw = priv->cpsw; in cpsw_hwtstamp_set() local716 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_tx_maxrate() local772 struct cpsw_common *cpsw = priv->cpsw; in cpsw_shp_is_off() local788 struct cpsw_common *cpsw = priv->cpsw; in cpsw_fifo_shp_on() local804 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_bw() local864 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_fifo_rlimit() local[all …]
29 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_stp_state_set() local62 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_attr_br_flags_set() local121 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_pvid() local128 if (cpsw->version == CPSW_VERSION_1) in cpsw_get_pvid()143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid() local154 if (cpsw->version == CPSW_VERSION_1) in cpsw_set_pvid()169 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_add() local216 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_del() local269 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add() local292 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del() local[all …]
6 obj-$(CONFIG_TI_CPSW) += cpsw-common.o7 obj-$(CONFIG_TI_DAVINCI_EMAC) += cpsw-common.o8 obj-$(CONFIG_TI_CPSW_SWITCHDEV) += cpsw-common.o14 obj-$(CONFIG_TI_CPSW_PHY_SEL) += cpsw-phy-sel.o17 ti_cpsw-y := cpsw.o davinci_cpdma.o cpsw_ale.o cpsw_priv.o cpsw_sl.o cpsw_ethtool.o28 obj-$(CONFIG_TI_K3_AM65_CPSW_NUSS) += ti-am65-cpsw-nuss.o29 ti-am65-cpsw-nuss-y := am65-cpsw-nuss.o cpsw_sl.o am65-cpsw-ethtool.o cpsw_ale.o30 ti-am65-cpsw-nuss-$(CONFIG_TI_AM65_CPSW_QOS) += am65-cpsw-qos.o31 ti-am65-cpsw-nuss-$(CONFIG_TI_K3_AM65_CPSW_SWITCHDEV) += am65-cpsw-switchdev.o
27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local49 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() local119 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_get_pvid() local135 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_set_pvid() local153 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_vlan_add() local201 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_vlan_del() local261 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_add() local284 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_mdb_del() local293 cpsw_ale_del_mcast(cpsw->ale, mdb->addr, del_mask, in am65_cpsw_port_mdb_del()[all …]
16 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() argument24 static inline void am65_cpsw_switchdev_unregister_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_unregister_notifiers() argument
389 struct cpsw_common *cpsw; member396 #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);
3009 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 …]
12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);
63 will be called cpsw.114 will be called ti-am65-cpsw-nuss.
Completed in 49 milliseconds