Searched defs:cpsw (Results 1 – 9 of 9) sorted by relevance
53 struct cpsw_common *cpsw; member65 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() local128 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local254 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local289 struct cpsw_common *cpsw; in cpsw_rx_handler() local402 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_vlan_ale_entry() local442 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_vlan_rx_add_vid() local490 struct cpsw_common *cpsw = priv->cpsw; in cpsw_restore() local[all …]
36 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() local104 struct cpsw_common *cpsw = dev_id; in cpsw_rx_interrupt() local120 struct cpsw_common *cpsw = dev_id; in cpsw_misc_interrupt() local132 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_mq_poll() local164 struct cpsw_common *cpsw = napi_to_cpsw(napi_tx); in cpsw_tx_poll() local182 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_mq_poll() local214 struct cpsw_common *cpsw = napi_to_cpsw(napi_rx); in cpsw_rx_poll() local234 struct cpsw_common *cpsw = priv->cpsw; in cpsw_rx_vlan_encap() local[all …]
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() local182 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_mc() local311 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ndo_set_rx_mode() local349 struct cpsw_common *cpsw = ndev_to_cpsw(xmeta->ndev); in cpsw_rx_handler() local460 struct cpsw_common *cpsw = priv->cpsw; in _cpsw_adjust_link() local522 struct cpsw_common *cpsw = priv->cpsw; in cpsw_adjust_link() local544 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_dual_emac_def_ale_entries() local566 struct cpsw_common *cpsw = priv->cpsw; in cpsw_slave_open() local653 struct cpsw_common *cpsw = priv->cpsw; in cpsw_add_default_vlan() local[all …]
159 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_coalesce() local175 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_coalesce() local226 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_sset_count() local257 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_strings() local279 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_ethtool_stats() local320 struct cpsw_common *cpsw = priv->cpsw; in cpsw_get_wol() local333 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_wol() local344 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs_len() local353 struct cpsw_common *cpsw = ndev_to_cpsw(ndev); in cpsw_get_regs() local364 struct cpsw_common *cpsw = priv->cpsw; in cpsw_ethtool_op_begin() local[all …]
27 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_port_stp_state_set() local60 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() local372 struct am65_cpsw_common *cpsw = port->common; in am65_cpsw_switchdev_event_work() local509 int am65_cpsw_switchdev_register_notifiers(struct am65_cpsw_common *cpsw) in am65_cpsw_switchdev_register_notifiers()[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() local143 struct cpsw_common *cpsw = priv->cpsw; in cpsw_set_pvid() local169 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() local382 struct cpsw_common *cpsw = priv->cpsw; in cpsw_switchdev_event_work() local519 int cpsw_switchdev_register_notifiers(struct cpsw_common *cpsw) in cpsw_switchdev_register_notifiers()[all …]
19 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()
2383 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() local2517 struct am65_cpsw_common *cpsw = dl_priv->common; in am65_cpsw_dl_switch_mode_set() local
389 struct cpsw_common *cpsw; member