Home
last modified time | relevance | path

Searched refs:eth_dev (Results 1 – 3 of 3) sorted by relevance

/drivers/net/
A Deth-phy-uclass.c25 int eth_phy_binds_nodes(struct udevice *eth_dev) in eth_phy_binds_nodes() argument
32 dev_for_each_subnode(mdio_node, eth_dev) { in eth_phy_binds_nodes()
39 eth_dev->name); in eth_phy_binds_nodes()
47 dev_dbg(eth_dev, "* Found child node: '%s'\n", node_name); in eth_phy_binds_nodes()
49 ret = device_bind_driver_to_node(eth_dev, in eth_phy_binds_nodes()
53 dev_dbg(eth_dev, " - Eth phy binding error: %d\n", ret); in eth_phy_binds_nodes()
70 if (dev->parent == eth_dev) { in eth_phy_set_mdio_bus()
81 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev) in eth_phy_get_mdio_bus() argument
88 ret = uclass_get_device_by_phandle(UCLASS_ETH_PHY, eth_dev, in eth_phy_get_mdio_bus()
91 if (eth_dev != phy_dev->parent) { in eth_phy_get_mdio_bus()
[all …]
/drivers/usb/gadget/
A Dether.c99 struct eth_dev { struct
137 struct eth_dev ethdev; argument
1519 struct eth_dev *dev = ep->driver_data; in rx_complete()
1588 struct eth_dev *dev = ep->driver_data; in tx_complete()
1822 struct eth_dev *dev; in rndis_control_ack()
1883 struct eth_dev *dev = &priv->ethdev; in eth_stop()
1969 struct eth_dev *dev = &l_priv->ethdev; in eth_bind()
2266 struct eth_dev *dev = &priv->ethdev; in usb_eth_start()
2304 struct eth_dev *dev = &priv->ethdev; in usb_eth_send()
2371 struct eth_dev *dev = &priv->ethdev; in usb_eth_stop()
[all …]
/drivers/net/fsl-mc/
A Dmc.c171 const char *propname, struct udevice *eth_dev, in mc_fixup_mac_addr() argument
174 struct eth_pdata *plat = dev_get_plat(eth_dev); in mc_fixup_mac_addr()
176 int eth_index = dev_seq(eth_dev); in mc_fixup_mac_addr()
249 struct udevice *eth_dev) in mc_fixup_dpl_mac_addr() argument
348 struct udevice *eth_dev) in mc_fixup_dpc_mac_addr() argument
389 struct udevice *eth_dev; in mc_fixup_mac_addrs() local
395 uclass_foreach_dev(eth_dev, uc) { in mc_fixup_mac_addrs()
396 if (!eth_dev->driver || !eth_dev->driver->name || in mc_fixup_mac_addrs()
400 dpmac_id = ldpaa_eth_get_dpmac_id(eth_dev); in mc_fixup_mac_addrs()
403 err = mc_fixup_dpl_mac_addr(blob, dpmac_id, eth_dev); in mc_fixup_mac_addrs()
[all …]

Completed in 23 milliseconds