Searched refs:cpsw_common (Results 1 – 7 of 7) sorted by relevance
157 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_coalesce()171 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce()222 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_sset_count()253 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_strings()275 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_ethtool_stats()316 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol()329 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol()340 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs_len()349 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs()360 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin()[all …]
33 int (*cpsw_slave_index)(struct cpsw_common *cpsw, struct cpsw_priv *priv);35 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()103 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt()119 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt()131 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll()163 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll()181 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll()213 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll()[all …]
51 struct cpsw_common *cpsw;63 static int cpsw_slave_index_priv(struct cpsw_common *cpsw, in cpsw_slave_index_priv()72 static bool cpsw_is_switch_en(struct cpsw_common *cpsw) in cpsw_is_switch_en()79 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_set_promiscious()126 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc()252 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode()287 struct cpsw_common *cpsw; in cpsw_rx_handler()408 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry()448 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid()498 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore()[all …]
329 struct cpsw_common { struct382 struct cpsw_common *cpsw; argument388 #define napi_to_cpsw(napi) container_of(napi, struct cpsw_common, napi)390 extern int (*cpsw_slave_index)(struct cpsw_common *cpsw,429 int cpsw_init_common(struct cpsw_common *cpsw, void __iomem *ss_regs,432 void cpsw_split_res(struct cpsw_common *cpsw);434 void cpsw_intr_enable(struct cpsw_common *cpsw);435 void cpsw_intr_disable(struct cpsw_common *cpsw);437 int cpsw_create_xdp_rxqs(struct cpsw_common *cpsw);438 void cpsw_destroy_xdp_rxqs(struct cpsw_common *cpsw);[all …]
30 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_stp_state_set()67 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_attr_br_flags_set()126 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_pvid()148 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid()174 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_add()221 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_vlan_del()310 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_add()336 struct cpsw_common *cpsw = priv->cpsw; in cpsw_port_mdb_del()427 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work()564 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()[all …]
69 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()349 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); in cpsw_rx_handler()468 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link()530 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link()552 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries()574 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open()[all …]
12 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw);13 void cpsw_switchdev_unregister_notifiers(struct cpsw_common *cpsw);