| /linux/drivers/net/wireless/marvell/libertas/ |
| H A D | mesh.c | 162 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 D | dpaa_eth_sysfs.c | 16 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()
|
| H A D | dpaa_eth.c | 902 struct net_device *net_dev = to_net_dev(mac_dev->phylink_config.dev); in dpaa_eth_cgr_set_speed()
|
| /linux/drivers/net/usb/ |
| H A D | qmi_wwan.c | 231 struct net_device *dev = to_net_dev(d); in mux_id_show() 334 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_show() 342 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_store() 393 struct net_device *dev = to_net_dev(d); in add_mux_show() 411 struct usbnet *dev = netdev_priv(to_net_dev(d)); in add_mux_store() 449 struct usbnet *dev = netdev_priv(to_net_dev(d)); in del_mux_store() 480 struct usbnet *dev = netdev_priv(to_net_dev(d)); in pass_through_show() 492 struct usbnet *dev = netdev_priv(to_net_dev(d)); in pass_through_store()
|
| H A D | cdc_ncm.c | 204 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 D | asix_devices.c | 770 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_down() 781 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_up()
|
| H A D | lan78xx.c | 2255 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_config() 2290 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_link_down() 2464 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_link_up() 2553 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_disable_tx_lpi() 2562 struct net_device *net = to_net_dev(config->dev); in lan78xx_mac_enable_tx_lpi()
|
| /linux/net/dsa/ |
| H A D | conduit.c | 357 struct net_device *dev = to_net_dev(d); 369 struct net_device *dev = to_net_dev(d); in dsa_conduit_reset_mtu()
|
| H A D | dsa.c | 1416 conduit = to_net_dev(d); in dsa_port_parse()
|
| /linux/drivers/net/ |
| H A D | macvtap.c | 40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
|
| /linux/drivers/net/ipvlan/ |
| H A D | ipvtap.c | 35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
|
| /linux/drivers/net/ethernet/freescale/fs_enet/ |
| H A D | fs_enet-main.c | 629 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/arcnet/ |
| H A D | com20020-pci.c | 101 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
|
| H A D | arcnet.c | 223 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); in arcnet_led_release()
|
| /linux/drivers/net/ethernet/atheros/ |
| H A D | ag71xx.c | 991 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/infiniband/ulp/ipoib/ |
| H A D | ipoib_cm.c | 1509 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 D | stmmac_main.c | 888 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_get_caps() 904 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_select_pcs() 932 struct net_device *ndev = to_net_dev(config->dev); in stmmac_mac_finish() 944 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_down() 960 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_up() 1077 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_disable_tx_lpi() 1098 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_enable_tx_lpi() 1138 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_wol_set()
|
| /linux/drivers/net/wwan/ |
| H A D | wwan_core.c | 1181 wwan_rtnl_dellink(to_net_dev(dev), kill_list); in wwan_child_dellink()
|
| /linux/net/bridge/ |
| H A D | br_sysfs_br.c | 26 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
|
| /linux/drivers/net/ethernet/cadence/ |
| H A D | macb_main.c | 595 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_config() 653 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_link_down() 677 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_link_up() 742 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_select_pcs() 801 struct net_device *ndev = to_net_dev(config->dev); in macb_get_pcs_fixed_state()
|
| /linux/drivers/net/ethernet/freescale/ |
| H A D | ucc_geth.c | 1490 struct net_device *ndev = to_net_dev(config->dev); in ugeth_mac_link_up() 1583 struct net_device *ndev = to_net_dev(config->dev); in ugeth_mac_link_down() 1592 struct net_device *ndev = to_net_dev(config->dev); in ugeth_mac_config()
|
| /linux/drivers/net/ethernet/xilinx/ |
| H A D | xilinx_axienet_main.c | 2602 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_select_pcs() 2631 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_link_up()
|
| /linux/drivers/net/ethernet/natsemi/ |
| H A D | natsemi.c | 672 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() 681 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround()
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic_main.c | 2732 struct net_device *net = to_net_dev(dev); in netxen_store_bridged_mode() 2757 struct net_device *net = to_net_dev(dev); in netxen_show_bridged_mode()
|
| /linux/drivers/base/ |
| H A D | core.c | 4897 struct net_device *net = to_net_dev(dev); in set_dev_info()
|