Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Deth-phy-uclass.c26 int eth_phy_binds_nodes(struct udevice *eth_dev) in eth_phy_binds_nodes() argument
33 dev_for_each_subnode(mdio_node, eth_dev) { in eth_phy_binds_nodes()
40 eth_dev->name); in eth_phy_binds_nodes()
48 dev_dbg(eth_dev, "* Found child node: '%s'\n", node_name); in eth_phy_binds_nodes()
50 ret = device_bind_driver_to_node(eth_dev, in eth_phy_binds_nodes()
54 dev_dbg(eth_dev, " - Eth phy binding error: %d\n", ret); in eth_phy_binds_nodes()
71 if (dev->parent == eth_dev) { in eth_phy_set_mdio_bus()
82 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev) in eth_phy_get_mdio_bus() argument
89 ret = uclass_get_device_by_phandle(UCLASS_ETH_PHY, eth_dev, in eth_phy_get_mdio_bus()
92 if (eth_dev != phy_dev->parent) { in eth_phy_get_mdio_bus()
[all …]
/u-boot/include/
A Deth_phy.h13 int eth_phy_binds_nodes(struct udevice *eth_dev);
14 int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus);
15 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
/u-boot/drivers/usb/gadget/
A Dether.c100 struct eth_dev { struct
138 struct eth_dev ethdev; argument
1522 struct eth_dev *dev = ep->driver_data; in rx_complete()
1591 struct eth_dev *dev = ep->driver_data; in tx_complete()
1825 struct eth_dev *dev; in rndis_control_ack()
1883 static int eth_stop(struct eth_dev *dev) in eth_stop()
1970 struct eth_dev *dev = &l_priv->ethdev; in eth_bind()
2280 struct eth_dev *dev = &priv->ethdev; in _usb_eth_init()
2358 struct eth_dev *dev = &priv->ethdev; in _usb_eth_send()
2431 struct eth_dev *dev = &priv->ethdev; in _usb_eth_halt()
[all …]
/u-boot/drivers/net/fsl-mc/
A Dmc.c169 const char *propname, struct udevice *eth_dev, in mc_fixup_mac_addr() argument
172 struct eth_pdata *plat = dev_get_plat(eth_dev); in mc_fixup_mac_addr()
174 int eth_index = dev_seq(eth_dev); in mc_fixup_mac_addr()
247 struct udevice *eth_dev) in mc_fixup_dpl_mac_addr() argument
346 struct udevice *eth_dev) in mc_fixup_dpc_mac_addr() argument
387 struct udevice *eth_dev; in mc_fixup_mac_addrs() local
393 uclass_foreach_dev(eth_dev, uc) { in mc_fixup_mac_addrs()
394 if (!eth_dev->driver || !eth_dev->driver->name || in mc_fixup_mac_addrs()
398 dpmac_id = ldpaa_eth_get_dpmac_id(eth_dev); in mc_fixup_mac_addrs()
401 err = mc_fixup_dpl_mac_addr(blob, dpmac_id, eth_dev); in mc_fixup_mac_addrs()
[all …]

Completed in 20 milliseconds