| /Linux-v5.4/net/core/ |
| D | net-sysfs.c | 44 struct net_device *ndev = to_net_dev(dev); in netdev_show() 80 struct net_device *netdev = to_net_dev(dev); in netdev_store() 116 struct net_device *ndev = to_net_dev(dev); in iflink_show() 131 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 145 struct net_device *ndev = to_net_dev(dev); in address_show() 159 struct net_device *ndev = to_net_dev(dev); in broadcast_show() 183 struct net_device *netdev = to_net_dev(dev); in carrier_show() 195 struct net_device *netdev = to_net_dev(dev); in speed_show() 215 struct net_device *netdev = to_net_dev(dev); in duplex_show() 249 struct net_device *netdev = to_net_dev(dev); in dormant_show() [all …]
|
| /Linux-v5.4/drivers/net/wireless/marvell/libertas/ |
| D | mesh.c | 162 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_get() 185 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_anycast_set() 210 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_get() 237 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_prb_rsp_limit_set() 270 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_get() 284 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_set() 337 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in mesh_get_default_parameters() 383 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in bootflag_set() 433 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in boottime_set() 492 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in channel_set() [all …]
|
| /Linux-v5.4/drivers/net/ethernet/freescale/dpaa/ |
| D | dpaa_eth_sysfs.c | 42 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_addr() 55 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_fqids() 132 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_bpids()
|
| /Linux-v5.4/drivers/net/wimax/i2400m/ |
| D | sysfs.c | 33 struct i2400m *i2400m = net_dev_to_i2400m(to_net_dev(dev)); in i2400m_idle_timeout_store()
|
| /Linux-v5.4/drivers/net/usb/ |
| D | cdc_ncm.c | 193 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_min_tx_pkt() 201 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_rx_max() 209 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_max() 217 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_timer_usecs() 225 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_min_tx_pkt() 239 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_rx_max() 252 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_max() 265 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_timer_usecs() 291 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show() 299 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store() [all …]
|
| D | qmi_wwan.c | 351 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_show() 359 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_store() 403 struct net_device *dev = to_net_dev(d); in add_mux_show() 421 struct usbnet *dev = netdev_priv(to_net_dev(d)); in add_mux_store() 466 struct usbnet *dev = netdev_priv(to_net_dev(d)); in del_mux_store()
|
| /Linux-v5.4/drivers/net/can/ |
| D | led.c | 59 struct can_priv *priv = netdev_priv(to_net_dev(gendev)); in can_led_release()
|
| D | janz-ican3.c | 1822 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_show_term() 1841 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_set_term() 1859 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in ican3_sysfs_show_fwinfo()
|
| D | at91_can.c | 1182 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in at91_sysfs_show_mb0_id() 1193 struct net_device *ndev = to_net_dev(dev); in at91_sysfs_set_mb0_id()
|
| D | grcan.c | 1492 struct net_device *dev = to_net_dev(sdev); \ 1508 struct net_device *dev = to_net_dev(sdev); \
|
| /Linux-v5.4/drivers/infiniband/ulp/ipoib/ |
| D | ipoib_vlan.c | 46 struct net_device *dev = to_net_dev(d); in show_parent()
|
| D | ipoib_main.c | 2245 struct net_device *ndev = to_net_dev(dev); in show_pkey() 2255 struct net_device *ndev = to_net_dev(dev); in show_umcast() 2279 ipoib_set_umcast(to_net_dev(dev), umcast_val); in set_umcast() 2367 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child() 2386 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child() 2410 struct net_device *ndev = to_net_dev(dev); in dev_id_show()
|
| D | ipoib_cm.c | 1510 struct net_device *dev = to_net_dev(d); in show_mode() 1522 struct net_device *dev = to_net_dev(d); in set_mode()
|
| /Linux-v5.4/drivers/net/ipvlan/ |
| D | ipvtap.c | 35 struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
|
| /Linux-v5.4/drivers/net/ |
| D | macvtap.c | 40 struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
|
| /Linux-v5.4/drivers/net/can/softing/ |
| D | softing_main.c | 552 struct net_device *ndev = to_net_dev(dev); in show_chip() 561 struct net_device *ndev = to_net_dev(dev); in show_output() 570 struct net_device *ndev = to_net_dev(dev); in store_output()
|
| /Linux-v5.4/net/dsa/ |
| D | dsa.c | 160 nd = to_net_dev(d); in dsa_dev_to_net_device()
|
| D | master.c | 269 struct net_device *dev = to_net_dev(d); in tagging_show()
|
| /Linux-v5.4/drivers/net/arcnet/ |
| D | com20020-pci.c | 100 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
|
| /Linux-v5.4/drivers/net/ethernet/xilinx/ |
| D | xilinx_axienet_main.c | 1378 struct net_device *ndev = to_net_dev(config->dev); in axienet_validate() 1411 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_link_state() 1446 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_config()
|
| /Linux-v5.4/drivers/net/ethernet/marvell/ |
| D | mvneta.c | 3364 struct net_device *ndev = to_net_dev(config->dev); in mvneta_validate() 3417 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_state() 3447 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_an_restart() 3460 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_config() 3593 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_down() 3614 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_up()
|
| /Linux-v5.4/drivers/net/bonding/ |
| D | bond_sysfs.c | 29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
|
| /Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/ |
| D | cxgb3_main.c | 691 len = (*format) (to_net_dev(d), buf); in attr_show() 714 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-v5.4/net/batman-adv/ |
| D | sysfs.c | 60 return to_net_dev(dev); in batadv_kobj_to_netdev()
|
| /Linux-v5.4/net/bridge/ |
| D | br_sysfs_br.c | 22 #define to_bridge(cd) ((struct net_bridge *)netdev_priv(to_net_dev(cd)))
|