Home
last modified time | relevance | path

Searched refs:to_net_dev (Results 1 – 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/net/core/
Dnet-sysfs.c45 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()
178 struct net_device *netdev = to_net_dev(dev); in carrier_store()
192 struct net_device *netdev = to_net_dev(dev); in carrier_show()
204 struct net_device *netdev = to_net_dev(dev); in speed_show()
230 struct net_device *netdev = to_net_dev(dev); in duplex_show()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
Dmesh.c162 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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c42 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()
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
Dsysfs.c33 struct i2400m *i2400m = net_dev_to_i2400m(to_net_dev(dev)); in i2400m_idle_timeout_store()
/kernel/linux/linux-5.10/drivers/net/usb/
Dcdc_ncm.c199 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_min_tx_pkt()
207 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_rx_max()
215 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_max()
223 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_show_tx_timer_usecs()
231 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_min_tx_pkt()
245 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_rx_max()
258 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_max()
271 struct usbnet *dev = netdev_priv(to_net_dev(d)); in cdc_ncm_store_tx_timer_usecs()
297 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show()
305 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store()
[all …]
Dqmi_wwan.c331 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_show()
339 struct usbnet *dev = netdev_priv(to_net_dev(d)); in raw_ip_store()
383 struct net_device *dev = to_net_dev(d); in add_mux_show()
401 struct usbnet *dev = netdev_priv(to_net_dev(d)); in add_mux_store()
439 struct usbnet *dev = netdev_priv(to_net_dev(d)); in del_mux_store()
/kernel/linux/linux-5.10/drivers/net/can/
Dled.c59 struct can_priv *priv = netdev_priv(to_net_dev(gendev)); in can_led_release()
Djanz-ican3.c1822 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()
Dat91_can.c1182 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()
Dgrcan.c1492 struct net_device *dev = to_net_dev(sdev); \
1508 struct net_device *dev = to_net_dev(sdev); \
/kernel/linux/linux-5.10/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c46 struct net_device *dev = to_net_dev(d); in show_parent()
Dipoib_main.c2266 struct net_device *ndev = to_net_dev(dev); in show_pkey()
2276 struct net_device *ndev = to_net_dev(dev); in show_umcast()
2300 ipoib_set_umcast(to_net_dev(dev), umcast_val); in set_umcast()
2388 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child()
2407 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child()
2431 struct net_device *ndev = to_net_dev(dev); in dev_id_show()
Dipoib_cm.c1513 struct net_device *dev = to_net_dev(d); in show_mode()
1525 struct net_device *dev = to_net_dev(d); in set_mode()
/kernel/linux/linux-5.10/drivers/net/
Dmacvtap.c40 struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
/kernel/linux/linux-5.10/drivers/net/ipvlan/
Dipvtap.c35 struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
/kernel/linux/linux-5.10/drivers/net/can/softing/
Dsofting_main.c558 struct net_device *ndev = to_net_dev(dev); in show_chip()
567 struct net_device *ndev = to_net_dev(dev); in show_output()
576 struct net_device *ndev = to_net_dev(dev); in store_output()
/kernel/linux/linux-5.10/drivers/net/ethernet/xilinx/
Dxilinx_axienet_main.c1529 struct net_device *ndev = to_net_dev(config->dev); in axienet_validate()
1579 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_pcs_get_state()
1594 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_an_restart()
1603 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_config()
1636 struct net_device *ndev = to_net_dev(config->dev); in axienet_mac_link_up()
/kernel/linux/linux-5.10/net/dsa/
Dmaster.c278 struct net_device *dev = to_net_dev(d); in tagging_show()
Ddsa.c156 nd = to_net_dev(d); in dsa_dev_to_net_device()
/kernel/linux/linux-5.10/drivers/net/arcnet/
Dcom20020-pci.c100 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/
Dag71xx.c999 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_config()
1019 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_validate()
1097 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_down()
1108 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_sysfs.c29 #define to_bond(cd) ((struct bonding *)(netdev_priv(to_net_dev(cd))))
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c3814 struct net_device *ndev = to_net_dev(config->dev); in mvneta_validate()
3867 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_pcs_get_state()
3895 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_an_restart()
3908 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_config()
4030 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_down()
4053 struct net_device *ndev = to_net_dev(config->dev); in mvneta_mac_link_up()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c690 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()
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c846 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_validate()
940 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_pcs_get_state()
949 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_config()
962 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_down()
977 struct stmmac_priv *priv = netdev_priv(to_net_dev(config->dev)); in stmmac_mac_link_up()

12