/Linux-v5.15/net/core/ |
D | net-sysfs.c | 45 struct net_device *ndev = to_net_dev(dev); in netdev_show() 81 struct net_device *netdev = to_net_dev(dev); in netdev_store() 117 struct net_device *ndev = to_net_dev(dev); in iflink_show() 132 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show() 146 struct net_device *ndev = to_net_dev(dev); in address_show() 160 struct net_device *ndev = to_net_dev(dev); in broadcast_show() 184 struct net_device *netdev = to_net_dev(dev); in carrier_show() 196 struct net_device *netdev = to_net_dev(dev); in speed_show() 216 struct net_device *netdev = to_net_dev(dev); in duplex_show() 250 struct net_device *netdev = to_net_dev(dev); in testing_show() [all …]
|
/Linux-v5.15/drivers/net/wireless/marvell/libertas/ |
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() 211 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_show() 239 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_store() 272 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_show() 287 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_store() 339 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in mesh_get_default_parameters() 385 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in bootflag_store() 436 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in boottime_store() 495 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in channel_store() [all …]
|
/Linux-v5.15/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.15/drivers/net/usb/ |
D | qmi_wwan.c | 224 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()
|
D | cdc_ncm.c | 198 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_show() 207 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_show() 216 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_show() 225 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_show() 235 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_store() 251 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_store() 266 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_store() 281 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_store() 307 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show() 315 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store() [all …]
|
/Linux-v5.15/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_phylink.c | 33 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_validate() 117 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_link_up()
|
/Linux-v5.15/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 termination_show() 1841 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in termination_store() 1859 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in fwinfo_show()
|
D | at91_can.c | 1170 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in mb0_id_show() 1182 struct net_device *ndev = to_net_dev(dev); in mb0_id_store()
|
D | grcan.c | 1492 struct net_device *dev = to_net_dev(sdev); \ 1508 struct net_device *dev = to_net_dev(sdev); \
|
/Linux-v5.15/net/dsa/ |
D | master.c | 278 struct net_device *dev = to_net_dev(d); in tagging_show() 289 struct net_device *dev = to_net_dev(d); in tagging_store()
|
D | dsa.c | 182 nd = to_net_dev(d); in dsa_dev_to_net_device()
|
/Linux-v5.15/drivers/infiniband/ulp/ipoib/ |
D | ipoib_vlan.c | 46 struct net_device *dev = to_net_dev(d); in parent_show()
|
D | ipoib_main.c | 2275 struct net_device *ndev = to_net_dev(dev); in pkey_show() 2285 struct net_device *ndev = to_net_dev(dev); in umcast_show() 2309 ipoib_set_umcast(to_net_dev(dev), umcast_val); in umcast_store() 2397 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child_store() 2416 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child_store() 2440 struct net_device *ndev = to_net_dev(dev); in dev_id_show()
|
/Linux-v5.15/drivers/net/ethernet/xilinx/ |
D | xilinx_axienet_main.c | 1510 struct net_device *ndev = to_net_dev(config->dev); in axienet_validate() 1570 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_pcs_get_state() 1585 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_an_restart() 1594 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_prepare() 1621 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_config() 1654 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_link_up()
|
/Linux-v5.15/drivers/net/ |
D | macvtap.c | 40 struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
|
/Linux-v5.15/drivers/net/ipvlan/ |
D | ipvtap.c | 35 struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
|
/Linux-v5.15/drivers/net/can/softing/ |
D | softing_main.c | 556 struct net_device *ndev = to_net_dev(dev); in show_chip() 565 struct net_device *ndev = to_net_dev(dev); in show_output() 574 struct net_device *ndev = to_net_dev(dev); in store_output()
|
/Linux-v5.15/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 1505 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_validate() 1540 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_config() 1567 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_link_down() 1583 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_link_up()
|
/Linux-v5.15/drivers/net/arcnet/ |
D | com20020-pci.c | 100 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
|
/Linux-v5.15/drivers/net/ethernet/atheros/ |
D | ag71xx.c | 1011 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_config() 1031 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_validate() 1109 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_down() 1120 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up()
|
/Linux-v5.15/drivers/net/ethernet/marvell/ |
D | mvneta.c | 3827 struct net_device *ndev = to_net_dev(config->dev); in mvneta_validate() 3888 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_pcs_get_state() 3916 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_an_restart() 3929 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_config() 4052 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_down() 4075 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_up()
|
/Linux-v5.15/drivers/net/ethernet/cadence/ |
D | macb_main.c | 513 struct net_device *ndev = to_net_dev(config->dev); in macb_validate() 664 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_config() 719 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_link_down() 743 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_link_up() 804 struct net_device *ndev = to_net_dev(config->dev); in macb_mac_prepare() 869 struct net_device *ndev = to_net_dev(config->dev); in macb_get_pcs_fixed_state()
|
/Linux-v5.15/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 690 len = (*format) (to_net_dev(d), buf); in attr_show() 713 ret = (*set) (to_net_dev(d), val); in attr_store() 802 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_show() 828 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_store()
|
/Linux-v5.15/drivers/net/bonding/ |
D | bond_sysfs.c | 29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
|