Home
last modified time | relevance | path

Searched refs:sl_ndev (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_ethtool.c600 struct net_device *sl_ndev; in cpsw_set_channels_common() local
620 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()
Dcpsw_new.c1511 struct net_device *sl_ndev = cpsw->slaves[i].ndev; in cpsw_port_offload_fwd_mark_update() local
1512 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() local
1659 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() local
1672 if (!sl_ndev) in cpsw_dl_switch_mode_set()
1698 struct net_device *sl_ndev = slave->ndev; in cpsw_dl_switch_mode_set() local
1701 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 …]