Lines Matching refs:slave_port
312 int slave_port = -1; in cpsw_ndo_set_rx_mode() local
315 slave_port = priv->emac_port + 1; in cpsw_ndo_set_rx_mode()
320 cpsw_ale_set_allmulti(cpsw->ale, IFF_ALLMULTI, slave_port); in cpsw_ndo_set_rx_mode()
329 ndev->flags & IFF_ALLMULTI, slave_port); in cpsw_ndo_set_rx_mode()
459 u32 slave_port; in _cpsw_adjust_link() local
465 slave_port = cpsw_get_slave_port(slave->slave_num); in _cpsw_adjust_link()
492 cpsw_ale_control_set(cpsw->ale, slave_port, in _cpsw_adjust_link()
505 cpsw_ale_control_set(cpsw->ale, slave_port, in _cpsw_adjust_link()
542 u32 slave_port) in cpsw_add_dual_emac_def_ale_entries() argument
545 u32 port_mask = 1 << slave_port | ALE_PORT_HOST; in cpsw_add_dual_emac_def_ale_entries()
558 cpsw_ale_control_set(cpsw->ale, slave_port, in cpsw_add_dual_emac_def_ale_entries()
564 u32 slave_port; in cpsw_slave_open() local
605 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_open()
608 cpsw_add_dual_emac_def_ale_entries(priv, slave, slave_port); in cpsw_slave_open()
611 1 << slave_port, 0, 0, ALE_MCAST_FWD_2); in cpsw_slave_open()
713 u32 slave_port; in cpsw_slave_stop() local
715 slave_port = cpsw_get_slave_port(slave->slave_num); in cpsw_slave_stop()
722 cpsw_ale_control_set(cpsw->ale, slave_port, in cpsw_slave_stop()