Home
last modified time | relevance | path

Searched refs:to_net_dev (Results 1 – 25 of 39) sorted by relevance

12

/linux/net/core/
H A Dnet-sysfs.c132 struct net_device *ndev = to_net_dev(dev); in netdev_show()
168 struct net_device *netdev = to_net_dev(dev); in netdev_store()
199 struct net_device *netdev = to_net_dev(dev); in netdev_lock_store()
234 struct net_device *ndev = to_net_dev(dev); in iflink_show()
249 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
263 struct net_device *ndev = to_net_dev(dev); in address_show()
281 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
302 struct net_device *netdev = to_net_dev(dev); in carrier_store()
316 struct net_device *netdev = to_net_dev(dev); in carrier_show()
341 struct net_device *netdev = to_net_dev(dev); in speed_show()
[all …]
/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c162 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in anycast_mask_show()
186 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in anycast_mask_store()
214 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_show()
242 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_store()
274 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_show()
289 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_store()
344 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in mesh_get_default_parameters()
390 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in bootflag_store()
443 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in boottime_store()
505 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in channel_store()
[all …]
/linux/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth_sysfs.c16 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_addr()
29 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_fqids()
104 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_bpids()
/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_phylink.c176 struct net_device *netdev = to_net_dev(config->dev); in fbnic_phylink_mac_select_pcs()
192 struct net_device *netdev = to_net_dev(config->dev); in fbnic_phylink_mac_link_down()
207 struct net_device *netdev = to_net_dev(config->dev); in fbnic_phylink_mac_link_up()
/linux/drivers/net/usb/
H A Dqmi_wwan.c225 struct net_device *dev = to_net_dev(d); in mux_id_show()
328 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_show()
336 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_store()
387 struct net_device *dev = to_net_dev(d); in add_mux_show()
405 struct usbnet *dev = netdev_priv(to_net_dev(d)); in add_mux_store()
443 struct usbnet *dev = netdev_priv(to_net_dev(d)); in del_mux_store()
474 struct usbnet *dev = netdev_priv(to_net_dev(d)); in pass_through_show()
486 struct usbnet *dev = netdev_priv(to_net_dev(d)); in pass_through_store()
H A Dcdc_ncm.c204 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_show()
213 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_show()
222 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_show()
231 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_show()
241 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_store()
257 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_store()
272 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_store()
287 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_store()
313 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show()
321 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store()
[all …]
H A Dasix_devices.c753 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_down()
764 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_up()
H A Dlan78xx.c2243 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_config()
2278 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_link_down()
2452 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_link_up()
2541 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_disable_tx_lpi()
2550 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_enable_tx_lpi()
/linux/net/dsa/
H A Dconduit.c298 struct net_device *dev = to_net_dev(d); in tagging_show()
310 struct net_device *dev = to_net_dev(d); in tagging_store()
/linux/drivers/net/
H A Dmacvtap.c40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
/linux/drivers/net/ipvlan/
H A Dipvtap.c35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
/linux/drivers/net/can/softing/
H A Dsofting_main.c554 struct net_device *ndev = to_net_dev(dev); in show_chip()
563 struct net_device *ndev = to_net_dev(dev); in show_output()
572 struct net_device *ndev = to_net_dev(dev); in store_output()
/linux/drivers/net/ethernet/freescale/fs_enet/
H A Dfs_enet-main.c629 struct net_device *ndev = to_net_dev(config->dev); in fs_mac_link_up()
641 struct net_device *ndev = to_net_dev(config->dev); in fs_mac_link_down()
/linux/drivers/net/can/
H A Dat91_can.c961 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in mb0_id_show()
973 struct net_device *ndev = to_net_dev(dev); in mb0_id_store()
H A Djanz-ican3.c1831 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in termination_show()
1850 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in termination_store()
1868 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in fwinfo_show()
H A Dgrcan.c1478 struct net_device *dev = to_net_dev(sdev); \
1494 struct net_device *dev = to_net_dev(sdev); \
/linux/drivers/net/arcnet/
H A Dcom20020-pci.c101 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
/linux/drivers/net/ethernet/marvell/
H A Dmvneta.c4093 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_select_pcs()
4102 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_prepare()
4136 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_config()
4192 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_finish()
4222 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_down()
4242 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_up()
4286 struct mvneta_port *pp = netdev_priv(to_net_dev(config->dev)); in mvneta_mac_disable_tx_lpi()
4299 struct mvneta_port *pp = netdev_priv(to_net_dev(config->dev)); in mvneta_mac_enable_tx_lpi()
/linux/drivers/net/ethernet/atheros/
H A Dag71xx.c991 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_config()
1010 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_down()
1021 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up()
/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_main.c254 struct net_device *ndev = to_net_dev(config->dev); in prestera_mac_link_down()
276 struct net_device *dev = to_net_dev(config->dev); in prestera_mac_select_pcs()
/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c2984 struct net_device *netdev = to_net_dev(config->dev); in lan743x_phylink_mac_config()
3028 struct net_device *netdev = to_net_dev(config->dev); in lan743x_phylink_mac_link_down()
3040 struct net_device *netdev = to_net_dev(config->dev); in lan743x_phylink_mac_link_up()
3077 struct net_device *netdev = to_net_dev(config->dev); in lan743x_mac_disable_tx_lpi()
3086 struct net_device *netdev = to_net_dev(config->dev); in lan743x_mac_enable_tx_lpi()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_main.c688 len = (*format) (to_net_dev(d), buf); in attr_show()
711 ret = (*set) (to_net_dev(d), val); in attr_store()
800 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_show()
826 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_store()
/linux/drivers/net/bonding/
H A Dbond_sysfs.c29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
/linux/drivers/infiniband/ulp/ipoib/
H A Dipoib_cm.c1509 struct net_device *dev = to_net_dev(d); in mode_show()
1521 struct net_device *dev = to_net_dev(d); in mode_store()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c912 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_get_caps()
928 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_select_pcs()
949 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_down()
965 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_up()
1082 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_disable_tx_lpi()
1103 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_enable_tx_lpi()
1143 struct net_device *ndev = to_net_dev(config->dev); in stmmac_mac_finish()

12