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
104 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_coalesce()
119 static int efx_ethtool_set_coalesce(struct net_device *net_dev, in efx_ethtool_set_coalesce() argument
124 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_coalesce()
160 static void efx_ethtool_get_ringparam(struct net_device *net_dev, in efx_ethtool_get_ringparam() argument
163 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ringparam()
171 static int efx_ethtool_set_ringparam(struct net_device *net_dev, in efx_ethtool_set_ringparam() argument
174 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_ringparam()
183 netif_err(efx, drv, efx->net_dev, in efx_ethtool_set_ringparam()
191 netif_warn(efx, drv, efx->net_dev, in efx_ethtool_set_ringparam()
198 static void efx_ethtool_get_wol(struct net_device *net_dev, in efx_ethtool_get_wol() argument
201 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_wol()
206 static int efx_ethtool_set_wol(struct net_device *net_dev, in efx_ethtool_set_wol() argument
209 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_set_wol()
213 static void efx_ethtool_get_fec_stats(struct net_device *net_dev, in efx_ethtool_get_fec_stats() argument
216 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_fec_stats()
222 static int efx_ethtool_get_ts_info(struct net_device *net_dev, in efx_ethtool_get_ts_info() argument
225 struct efx_nic *efx = netdev_priv(net_dev); in efx_ethtool_get_ts_info()