Searched refs:sl_ndev (Results 1 – 2 of 2) sorted by relevance
600 struct net_device *sl_ndev; in cpsw_set_channels_common() local620 sl_ndev = cpsw->slaves[i].ndev; in cpsw_set_channels_common()621 if (!(sl_ndev && netif_running(sl_ndev))) in cpsw_set_channels_common()625 ret = netif_set_real_num_tx_queues(sl_ndev, cpsw->tx_ch_num); in cpsw_set_channels_common()631 ret = netif_set_real_num_rx_queues(sl_ndev, cpsw->rx_ch_num); in cpsw_set_channels_common()
1511 struct net_device *sl_ndev = cpsw->slaves[i].ndev; in cpsw_port_offload_fwd_mark_update() local1512 struct cpsw_priv *priv = netdev_priv(sl_ndev); in cpsw_port_offload_fwd_mark_update()1657 struct net_device *sl_ndev = slave->ndev; in cpsw_dl_switch_mode_set() local1659 if (!sl_ndev || !netif_running(sl_ndev)) in cpsw_dl_switch_mode_set()1670 struct net_device *sl_ndev = slave->ndev; in cpsw_dl_switch_mode_set() local1672 if (!sl_ndev) in cpsw_dl_switch_mode_set()1698 struct net_device *sl_ndev = slave->ndev; in cpsw_dl_switch_mode_set() local1701 if (!sl_ndev) in cpsw_dl_switch_mode_set()1704 priv = netdev_priv(sl_ndev); in cpsw_dl_switch_mode_set()1707 if (netif_running(sl_ndev)) in cpsw_dl_switch_mode_set()[all …]