Lines Matching refs:net_dev
33 static int efx_ethtool_phys_id(struct net_device *net_dev, in efx_ethtool_phys_id() argument
36 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_phys_id()
56 static int efx_ethtool_get_regs_len(struct net_device *net_dev) in efx_ethtool_get_regs_len() argument
58 return efx_nic_get_regs_len(netdev_priv(net_dev)); in efx_ethtool_get_regs_len()
61 static void efx_ethtool_get_regs(struct net_device *net_dev, in efx_ethtool_get_regs() argument
64 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_regs()
99 static int efx_ethtool_get_coalesce(struct net_device *net_dev, in efx_ethtool_get_coalesce() argument
102 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_coalesce()
117 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce() argument
120 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_coalesce()
156 static void efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam() argument
159 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ringparam()
167 static int efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam() argument
170 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_ringparam()
179 netif_err(efx, drv, efx->net_dev, in efx_ethtool_set_ringparam()
187 netif_warn(efx, drv, efx->net_dev, in efx_ethtool_set_ringparam()
194 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol() argument
197 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_wol()
202 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol() argument
205 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_wol()
209 static int efx_ethtool_get_ts_info(struct net_device *net_dev, in efx_ethtool_get_ts_info() argument
212 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ts_info()