/linux-4.4.14/net/core/ |
D | net-sysfs.c | 47 struct net_device *ndev = to_net_dev(dev); in netdev_show() 83 struct net_device *netdev = to_net_dev(dev); in netdev_store() 118 struct net_device *ndev = to_net_dev(dev); in iflink_show() 133 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 147 struct net_device *ndev = to_net_dev(dev); in address_show() 161 struct net_device *ndev = to_net_dev(dev); in broadcast_show() 184 struct net_device *netdev = to_net_dev(dev); in carrier_show() 195 struct net_device *netdev = to_net_dev(dev); in speed_show() 214 struct net_device *netdev = to_net_dev(dev); in duplex_show() 246 struct net_device *netdev = to_net_dev(dev); in dormant_show() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/net/can/ |
D | led.c | 62 struct can_priv *priv = netdev_priv(to_net_dev(gendev)); in can_led_release()
|
D | janz-ican3.c | 1740 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_show_term() 1759 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_set_term() 1777 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_show_fwinfo()
|
D | at91_can.c | 1183 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in at91_sysfs_show_mb0_id() 1194 struct net_device *ndev = to_net_dev(dev); in at91_sysfs_set_mb0_id()
|
D | grcan.c | 1496 struct net_device *dev = to_net_dev(sdev); \ 1512 struct net_device *dev = to_net_dev(sdev); \
|
/linux-4.4.14/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 45 struct net_device *dev = to_net_dev(d); in show_parent()
|
D | ipoib_main.c | 1685 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(dev)); in show_pkey() 1694 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(dev)); in show_umcast() 1717 ipoib_set_umcast(to_net_dev(dev), umcast_val); in set_umcast() 1747 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child() 1766 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child()
|
D | ipoib_cm.c | 1457 struct ipoib_dev_priv *priv = netdev_priv(to_net_dev(d)); in show_mode() 1468 struct net_device *dev = to_net_dev(d); in set_mode()
|
/linux-4.4.14/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.4.14/drivers/net/ |
D | tun.c | 1568 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_flags() 1575 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_owner() 1585 struct tun_struct *tun = netdev_priv(to_net_dev(dev)); in tun_show_group()
|
/linux-4.4.14/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.4.14/net/batman-adv/ |
D | sysfs.c | 52 return to_net_dev(dev); in batadv_kobj_to_netdev()
|
/linux-4.4.14/drivers/net/bonding/ |
D | bond_sysfs.c | 46 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
|
/linux-4.4.14/net/bridge/ |
D | br_sysfs_br.c | 26 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
|
/linux-4.4.14/net/dsa/ |
D | dsa.c | 581 nd = to_net_dev(d); in dev_to_net_device()
|
/linux-4.4.14/drivers/net/arcnet/ |
D | arcnet.c | 224 struct arcnet_local *lp = netdev_priv(to_net_dev(gendev)); in arcnet_led_release()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/base/ |
D | core.c | 2141 struct net_device *net = to_net_dev(dev); in create_syslog_header()
|
/linux-4.4.14/include/linux/ |
D | netdevice.h | 1803 #define to_net_dev(d) container_of(d, struct net_device, dev) macro
|