Searched refs:eth_dev (Results 1 – 7 of 7) sorted by relevance
17 int eth_phy_binds_nodes(struct udevice *eth_dev) in eth_phy_binds_nodes() argument23 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() argument56 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() argument74 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 …]
31 #define GET_PRIV(eth_dev) ((struct ep93xx_priv *)(eth_dev)->priv) argument32 #define GET_REGS(eth_dev) (GET_PRIV(eth_dev)->regs) argument
13 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);
20 struct eth_device eth_dev; /* used with eth_register */
100 struct eth_dev { struct142 struct eth_dev ethdev; argument1557 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 …]
191 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() argument271 struct eth_device *eth_dev) in mc_fixup_dpl_mac_addr()372 struct udevice *eth_dev) in mc_fixup_dpc_mac_addr() argument374 struct eth_device *eth_dev) in mc_fixup_dpc_mac_addr()420 struct udevice *eth_dev; in mc_fixup_mac_addrs() local422 struct eth_device *eth_dev; in mc_fixup_mac_addrs() local434 eth_dev = eth_get_dev_by_name(ethname); in mc_fixup_mac_addrs()[all …]
208 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