Searched refs:eth_dev (Results 1 – 7 of 7) sorted by relevance
| /rk3399_rockchip-uboot/drivers/net/ |
| H A D | eth-phy-uclass.c | 17 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 …]
|
| H A D | ep93xx_eth.c | 29 #define GET_PRIV(eth_dev) ((struct ep93xx_priv *)(eth_dev)->priv) argument 30 #define GET_REGS(eth_dev) (GET_PRIV(eth_dev)->regs) argument
|
| /rk3399_rockchip-uboot/include/ |
| H A D | eth_phy.h | 12 int eth_phy_binds_nodes(struct udevice *eth_dev); 13 int eth_phy_set_mdio_bus(struct udevice *eth_dev, struct mii_dev *mdio_bus); 14 struct mii_dev *eth_phy_get_mdio_bus(struct udevice *eth_dev);
|
| H A D | usb_ether.h | 31 struct eth_device eth_dev; /* used with eth_register */
|
| /rk3399_rockchip-uboot/drivers/usb/gadget/ |
| H A D | ether.c | 104 struct eth_dev { struct 146 struct eth_dev ethdev; argument 161 static inline int is_cdc(struct eth_dev *dev) in is_cdc() 173 static inline int rndis_active(struct eth_dev *dev) in rndis_active() 928 static void eth_start(struct eth_dev *dev, gfp_t gfp_flags); 929 static int alloc_requests(struct eth_dev *dev, unsigned n, gfp_t gfp_flags); 932 set_ether_config(struct eth_dev *dev, gfp_t gfp_flags) in set_ether_config() 1009 static void eth_reset_config(struct eth_dev *dev) in eth_reset_config() 1049 static int eth_set_config(struct eth_dev *dev, unsigned number, in eth_set_config() 1131 struct eth_dev *dev = ep->driver_data; in eth_status_complete() [all …]
|
| /rk3399_rockchip-uboot/drivers/net/fsl-mc/ |
| H A D | mc.c | 167 const char *propname, struct eth_device *eth_dev, in mc_fixup_mac_addr() argument 179 enetaddr_32[i] = cpu_to_fdt32(eth_dev->enetaddr[i]); in mc_fixup_mac_addr() 185 val = eth_dev->enetaddr; in mc_fixup_mac_addr() 193 if (!eth_env_get_enetaddr_by_index("eth", eth_dev->index, in mc_fixup_mac_addr() 243 struct eth_device *eth_dev) in mc_fixup_dpl_mac_addr() argument 257 err = mc_fixup_mac_addr(blob, dpmacoff, "mac_addr", eth_dev, in mc_fixup_dpl_mac_addr() 278 return mc_fixup_mac_addr(blob, dpnioff, "mac_addr", eth_dev, in mc_fixup_dpl_mac_addr() 283 struct eth_device *eth_dev) in mc_fixup_dpc_mac_addr() argument 319 return mc_fixup_mac_addr(blob, noff, "port_mac_address", eth_dev, in mc_fixup_dpc_mac_addr() 327 struct eth_device *eth_dev; in mc_fixup_mac_addrs() local [all …]
|
| /rk3399_rockchip-uboot/drivers/usb/eth/ |
| H A D | usb_ether.c | 206 if (&usb_eth[i].eth_dev == dev) in is_eth_dev_on_usb_host() 227 eth = &usb_eth[usb_max_eth_dev].eth_dev; in probe_valid_drivers() 265 eth_unregister(&usb_eth[i].eth_dev); in usb_host_eth_scan()
|