Lines Matching refs:dual_emac
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()
693 fifo_mode = (cpsw->data.dual_emac) ? CPSW_FIFO_DUAL_MAC_MODE : in cpsw_init_host_port()
705 if (!cpsw->data.dual_emac) { in cpsw_init_host_port()
792 if (!cpsw->data.dual_emac) in cpsw_ndo_open()
928 priv->emac_port + cpsw->data.dual_emac); in cpsw_ndo_start_xmit()
977 if (cpsw->data.dual_emac) { in cpsw_ndo_set_mac_address()
1005 if (cpsw->data.dual_emac) { in cpsw_add_vlan_ale_entry()
1059 if (cpsw->data.dual_emac) { in cpsw_ndo_vlan_rx_add_vid()
1095 if (cpsw->data.dual_emac) { in cpsw_ndo_vlan_rx_kill_vid()
1132 port = priv->emac_port + cpsw->data.dual_emac; in cpsw_ndo_xdp_xmit()
1283 data->dual_emac = true; in cpsw_probe_dt()
1372 if (data->dual_emac) { in cpsw_probe_dt()
1662 if (cpsw->data.dual_emac) { in cpsw_probe()