/linux-4.1.27/net/core/ |
D | net-sysfs.c | 48 struct net_device *ndev = to_net_dev(dev); in netdev_show() 84 struct net_device *netdev = to_net_dev(dev); in netdev_store() 119 struct net_device *ndev = to_net_dev(dev); in iflink_show() 134 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 148 struct net_device *ndev = to_net_dev(dev); in address_show() 162 struct net_device *ndev = to_net_dev(dev); in broadcast_show() 185 struct net_device *netdev = to_net_dev(dev); in carrier_show() 196 struct net_device *netdev = to_net_dev(dev); in speed_show() 215 struct net_device *netdev = to_net_dev(dev); in duplex_show() 247 struct net_device *netdev = to_net_dev(dev); in dormant_show() [all …]
|
/linux-4.1.27/drivers/net/wireless/libertas/ |
D | mesh.c | 159 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_get() 182 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_set() 207 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_get() 234 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_set() 266 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_get() 280 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_set() 333 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in mesh_get_default_parameters() 379 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in bootflag_set() 429 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in boottime_set() 488 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in channel_set() [all …]
|
/linux-4.1.27/drivers/net/wimax/i2400m/ |
D | sysfs.c | 47 struct i2400m *i2400m = net_dev_to_i2400m(to_net_dev(dev)); in i2400m_idle_timeout_store()
|
/linux-4.1.27/drivers/net/usb/ |
D | cdc_ncm.c | 191 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_min_tx_pkt() 199 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_rx_max() 207 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_max() 215 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_timer_usecs() 223 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_min_tx_pkt() 237 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_rx_max() 250 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_max() 263 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_timer_usecs() 290 struct usbnet *dev = netdev_priv(to_net_dev(d)); \
|
/linux-4.1.27/drivers/net/can/ |
D | led.c | 62 struct can_priv *priv = netdev_priv(to_net_dev(gendev)); in can_led_release()
|
D | at91_can.c | 1204 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in at91_sysfs_show_mb0_id() 1215 struct net_device *ndev = to_net_dev(dev); in at91_sysfs_set_mb0_id()
|
D | grcan.c | 1495 struct net_device *dev = to_net_dev(sdev); \ 1511 struct net_device *dev = to_net_dev(sdev); \
|
D | janz-ican3.c | 1700 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_show_term() 1719 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_set_term()
|
/linux-4.1.27/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 45 struct net_device *dev = to_net_dev(d); in show_parent()
|
D | ipoib_main.c | 1437 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(dev)); in show_pkey() 1446 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(dev)); in show_umcast() 1469 ipoib_set_umcast(to_net_dev(dev), umcast_val); in set_umcast() 1499 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child() 1518 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child()
|
D | ipoib_cm.c | 1462 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(d)); in show_mode() 1473 struct net_device *dev = to_net_dev(d); in set_mode()
|
/linux-4.1.27/drivers/net/can/softing/ |
D | softing_main.c | 563 struct net_device *ndev = to_net_dev(dev); in show_chip() 572 struct net_device *ndev = to_net_dev(dev); in show_output() 581 struct net_device *ndev = to_net_dev(dev); in store_output()
|
/linux-4.1.27/drivers/net/ |
D | tun.c | 1523 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_flags() 1530 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_owner() 1540 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_group()
|
/linux-4.1.27/drivers/net/bonding/ |
D | bond_sysfs.c | 46 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 694 len = (*format) (to_net_dev(d), buf); in attr_show() 716 ret = (*set) (to_net_dev(d), val); in attr_store() 803 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_show() 829 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_store()
|
/linux-4.1.27/net/batman-adv/ |
D | sysfs.c | 33 return to_net_dev(dev); in batadv_kobj_to_netdev()
|
/linux-4.1.27/net/dsa/ |
D | dsa.c | 503 nd = to_net_dev(d); in dev_to_net_device()
|
/linux-4.1.27/net/bridge/ |
D | br_sysfs_br.c | 26 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 670 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_show_dspcfg_workaround() 679 struct netdev_private *np = netdev_priv(to_net_dev(dev)); in natsemi_set_dspcfg_workaround()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_main.c | 2788 struct net_device *net = to_net_dev(dev); in netxen_store_bridged_mode() 2813 struct net_device *net = to_net_dev(dev); in netxen_show_bridged_mode()
|
/linux-4.1.27/drivers/base/ |
D | core.c | 2047 struct net_device *net = to_net_dev(dev); in create_syslog_header()
|
/linux-4.1.27/include/linux/ |
D | netdevice.h | 1755 #define to_net_dev(d) container_of(d, struct net_device, dev) macro
|