Searched refs:dual_emac (Results 1 – 6 of 6) sorted by relevance
71 if (cpsw->data.dual_emac) \83 return cpsw->data.dual_emac ? priv->emac_port : cpsw->data.active_slave; in cpsw_slave_index_priv()100 if (cpsw->data.dual_emac) { in cpsw_set_promiscious()186 if (cpsw->data.dual_emac) in cpsw_set_mc()192 mask = cpsw->data.dual_emac ? ALE_PORT_HOST : ALE_ALL_PORTS; in cpsw_set_mc()314 if (cpsw->data.dual_emac) in cpsw_ndo_set_rx_mode()360 if (cpsw->data.dual_emac && status >= 0) { in cpsw_rx_handler()370 if (cpsw->data.dual_emac && cpsw->usage_count && in cpsw_rx_handler()405 port = priv->emac_port + cpsw->data.dual_emac; in cpsw_rx_handler()607 if (cpsw->data.dual_emac) in cpsw_slave_open()[all …]
76 return !cpsw->data.dual_emac; in cpsw_is_switch_en()1240 data->dual_emac = true; in cpsw_probe_dt()1480 return !cpsw->data.dual_emac; in cpsw_port_dev_check()1623 ctx->val.vbool = !cpsw->data.dual_emac; in cpsw_dl_switch_mode_get()1644 if (switch_en == !cpsw->data.dual_emac) in cpsw_dl_switch_mode_set()1666 cpsw->data.dual_emac = !switch_en; in cpsw_dl_switch_mode_set()1712 cpsw->data.dual_emac = false; in cpsw_dl_switch_mode_set()1739 cpsw->data.dual_emac = true; in cpsw_dl_switch_mode_set()
302 bool dual_emac; /* Enable Dual EMAC mode */ member
30 - dual_emac : Specifies Switch to act as Dual EMAC
52 &mac { dual_emac = <1>; };
22 in dual_emac mode.