Home
last modified time | relevance | path

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

12

/Linux-v6.6/drivers/net/ethernet/microchip/lan966x/
Dlan966x_phylink.c14 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_select()
29 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_prepare()
37 netdev_err(to_net_dev(config->dev), in lan966x_phylink_mac_prepare()
53 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_up()
72 struct lan966x_port *port = netdev_priv(to_net_dev(config->dev)); in lan966x_phylink_mac_link_down()
/Linux-v6.6/net/core/
Dnet-sysfs.c48 struct net_device *ndev = to_net_dev(dev); in netdev_show()
84 struct net_device *netdev = to_net_dev(dev); in netdev_store()
120 struct net_device *ndev = to_net_dev(dev); in iflink_show()
135 struct net_device *ndev = to_net_dev(dev); in name_assign_type_show()
149 struct net_device *ndev = to_net_dev(dev); in address_show()
163 struct net_device *ndev = to_net_dev(dev); in broadcast_show()
181 struct net_device *netdev = to_net_dev(dev); in carrier_store()
195 struct net_device *netdev = to_net_dev(dev); in carrier_show()
207 struct net_device *netdev = to_net_dev(dev); in speed_show()
233 struct net_device *netdev = to_net_dev(dev); in duplex_show()
[all …]
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
Dmesh.c162 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()
214 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_show()
242 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in prb_rsp_limit_store()
274 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_show()
289 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in lbs_mesh_store()
344 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in mesh_get_default_parameters()
390 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in bootflag_store()
443 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in boottime_store()
505 struct lbs_private *priv = to_net_dev(dev)->ml_priv; in channel_store()
[all …]
/Linux-v6.6/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth_sysfs.c16 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_addr()
29 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_fqids()
106 struct dpaa_priv *priv = netdev_priv(to_net_dev(dev)); in dpaa_eth_show_bpids()
/Linux-v6.6/drivers/net/ethernet/microchip/sparx5/
Dsparx5_phylink.c33 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_select_pcs()
52 struct sparx5_port *port = netdev_priv(to_net_dev(config->dev)); in sparx5_phylink_mac_link_up()
/Linux-v6.6/drivers/net/usb/
Dqmi_wwan.c224 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()
Dcdc_ncm.c204 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_show()
213 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_show()
222 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_show()
231 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_show()
241 struct usbnet *dev = netdev_priv(to_net_dev(d)); in min_tx_pkt_store()
257 struct usbnet *dev = netdev_priv(to_net_dev(d)); in rx_max_store()
272 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_max_store()
287 struct usbnet *dev = netdev_priv(to_net_dev(d)); in tx_timer_usecs_store()
313 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_show()
321 struct usbnet *dev = netdev_priv(to_net_dev(d)); in ndp_to_end_store()
[all …]
Dasix_devices.c752 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_down()
764 struct usbnet *dev = netdev_priv(to_net_dev(config->dev)); in ax88772_mac_link_up()
/Linux-v6.6/drivers/net/ethernet/wangxun/txgbe/
Dtxgbe_phy.c162 struct txgbe *txgbe = netdev_to_txgbe(to_net_dev(config->dev)); in txgbe_phylink_mac_select()
178 struct wx *wx = netdev_priv(to_net_dev(config->dev)); in txgbe_mac_link_down()
189 struct wx *wx = netdev_priv(to_net_dev(config->dev)); in txgbe_mac_link_up()
220 struct wx *wx = netdev_priv(to_net_dev(config->dev)); in txgbe_mac_prepare()
231 struct wx *wx = netdev_priv(to_net_dev(config->dev)); in txgbe_mac_finish()
/Linux-v6.6/net/dsa/
Dmaster.c283 struct net_device *dev = to_net_dev(d); in tagging_show()
295 struct net_device *dev = to_net_dev(d); in tagging_store()
/Linux-v6.6/drivers/infiniband/ulp/ipoib/
Dipoib_vlan.c45 struct net_device *dev = to_net_dev(d); in parent_show()
Dipoib_main.c2286 struct net_device *ndev = to_net_dev(dev); in pkey_show()
2296 struct net_device *ndev = to_net_dev(dev); in umcast_show()
2320 ipoib_set_umcast(to_net_dev(dev), umcast_val); in umcast_store()
2408 ret = ipoib_vlan_add(to_net_dev(dev), pkey); in create_child_store()
2427 ret = ipoib_vlan_delete(to_net_dev(dev), pkey); in delete_child_store()
2451 struct net_device *ndev = to_net_dev(dev); in dev_id_show()
/Linux-v6.6/drivers/net/ipvlan/
Dipvtap.c35 const struct net_device *dev = to_net_dev(d->parent); in ipvtap_net_namespace()
/Linux-v6.6/drivers/net/
Dmacvtap.c40 const struct net_device *dev = to_net_dev(d->parent); in macvtap_net_namespace()
/Linux-v6.6/drivers/net/can/softing/
Dsofting_main.c554 struct net_device *ndev = to_net_dev(dev); in show_chip()
563 struct net_device *ndev = to_net_dev(dev); in show_output()
572 struct net_device *ndev = to_net_dev(dev); in store_output()
/Linux-v6.6/drivers/net/ethernet/altera/
Daltera_tse_main.c1044 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_mac_config()
1063 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_mac_link_up()
1086 struct net_device *ndev = to_net_dev(config->dev); in alt_tse_select_pcs()
/Linux-v6.6/drivers/net/arcnet/
Dcom20020-pci.c100 struct net_device *net_dev = to_net_dev(dev); in backplane_mode_show()
/Linux-v6.6/drivers/net/can/
Djanz-ican3.c1831 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in termination_show()
1850 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in termination_store()
1868 struct ican3_dev *mod = netdev_priv(to_net_dev(dev)); in fwinfo_show()
Dat91_can.c1163 struct at91_priv *priv = netdev_priv(to_net_dev(dev)); in mb0_id_show()
1175 struct net_device *ndev = to_net_dev(dev); in mb0_id_store()
Dgrcan.c1477 struct net_device *dev = to_net_dev(sdev); \
1493 struct net_device *dev = to_net_dev(sdev); \
/Linux-v6.6/drivers/leds/trigger/
Dledtrig-netdev.c147 ndev = to_net_dev(dev); in validate_net_dev()
/Linux-v6.6/drivers/net/ethernet/mscc/
Docelot_net.c1676 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_config()
1688 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_link_down()
1704 struct net_device *ndev = to_net_dev(config->dev); in vsc7514_phylink_mac_link_up()
/Linux-v6.6/drivers/net/ethernet/atheros/
Dag71xx.c1012 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_link_down()
1042 struct ag71xx *ag = netdev_priv(to_net_dev(config->dev)); in ag71xx_mac_link_up()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_main.c254 struct net_device *ndev = to_net_dev(config->dev); in prestera_mac_link_down()
276 struct net_device *dev = to_net_dev(config->dev); in prestera_mac_select_pcs()
/Linux-v6.6/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_main.c689 len = (*format) (to_net_dev(d), buf); in attr_show()
712 ret = (*set) (to_net_dev(d), val); in attr_store()
801 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_show()
827 struct port_info *pi = netdev_priv(to_net_dev(d)); in tm_attr_store()

12