Home
last modified time | relevance | path

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

/u-boot/drivers/net/
A Deth-phy-uclass.c17 int eth_phy_binds_nodes(struct udevice *eth_dev) in eth_phy_binds_nodes() argument
23 mdio_node = dev_read_subnode(eth_dev, "mdio"); in eth_phy_binds_nodes()
26 eth_dev->name); in eth_phy_binds_nodes()
35 ret = device_bind_driver_to_node(eth_dev, in eth_phy_binds_nodes()
49 int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus) in eth_phy_set_mdio_bus() argument
56 if (dev->parent == eth_dev) { in eth_phy_set_mdio_bus()
67 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev) in eth_phy_get_mdio_bus() argument
74 ret = uclass_get_device_by_phandle(UCLASS_ETH_PHY, eth_dev, in eth_phy_get_mdio_bus()
77 if (eth_dev != phy_dev->parent) { in eth_phy_get_mdio_bus()
84 printf("Get shared mii bus on %s\n", eth_dev->name); in eth_phy_get_mdio_bus()
[all …]
A Dep93xx_eth.c31 #define GET_PRIV(eth_dev) ((struct ep93xx_priv *)(eth_dev)->priv) argument
32 #define GET_REGS(eth_dev) (GET_PRIV(eth_dev)->regs) argument
/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);
A Dusb_ether.h20 struct eth_device eth_dev; /* used with eth_register */
/u-boot/drivers/usb/gadget/
A Dether.c100 struct eth_dev { struct
142 struct eth_dev ethdev; argument
1557 struct eth_dev *dev = ep->driver_data; in rx_complete()
1626 struct eth_dev *dev = ep->driver_data; in tx_complete()
1864 struct eth_dev *dev; in rndis_control_ack()
1926 static int eth_stop(struct eth_dev *dev) in eth_stop()
2013 struct eth_dev *dev = &l_priv->ethdev; in eth_bind()
2349 struct eth_dev *dev = &priv->ethdev; in _usb_eth_init()
2428 struct eth_dev *dev = &priv->ethdev; in _usb_eth_send()
2501 struct eth_dev *dev = &priv->ethdev; in _usb_eth_halt()
[all …]
/u-boot/drivers/net/fsl-mc/
A Dmc.c191 int eth_index = dev_seq(eth_dev); in mc_fixup_mac_addr()
193 unsigned char *enetaddr = eth_dev->enetaddr; in mc_fixup_mac_addr()
194 int eth_index = eth_dev->index; in mc_fixup_mac_addr()
269 struct udevice *eth_dev) in mc_fixup_dpl_mac_addr() argument
271 struct eth_device *eth_dev) in mc_fixup_dpl_mac_addr()
372 struct udevice *eth_dev) in mc_fixup_dpc_mac_addr() argument
374 struct eth_device *eth_dev) in mc_fixup_dpc_mac_addr()
420 struct udevice *eth_dev; in mc_fixup_mac_addrs() local
422 struct eth_device *eth_dev; in mc_fixup_mac_addrs() local
434 eth_dev = eth_get_dev_by_name(ethname); in mc_fixup_mac_addrs()
[all …]
/u-boot/drivers/usb/eth/
A Dusb_ether.c208 if (&usb_eth[i].eth_dev == dev) in is_eth_dev_on_usb_host()
229 eth = &usb_eth[usb_max_eth_dev].eth_dev; in probe_valid_drivers()
267 eth_unregister(&usb_eth[i].eth_dev); in usb_host_eth_scan()

Completed in 13 milliseconds