Home
last modified time | relevance | path

Searched refs:ethdev (Results 1 – 5 of 5) sorted by relevance

/u-boot/net/
A Dmdio-uclass.c122 struct udevice *ethdev, in dm_mdio_phy_connect() argument
130 return phy_connect(pdata->mii_bus, phyaddr, ethdev, interface); in dm_mdio_phy_connect()
143 ofnode_valid(dev_read_subnode(ethdev, "fixed-link"))) { in dm_eth_connect_phy_handle()
144 phy = phy_connect(NULL, -1, ethdev, interface); in dm_eth_connect_phy_handle()
154 dev_dbg(ethdev, "can't find PHY node\n"); in dm_eth_connect_phy_handle()
163 dev_dbg(ethdev, "missing reg property in phy node\n"); in dm_eth_connect_phy_handle()
170 dev_dbg(ethdev, "can't find MDIO bus for node %s\n", in dm_eth_connect_phy_handle()
185 struct phy_device *dm_eth_phy_connect(struct udevice *ethdev) in dm_eth_phy_connect() argument
192 if (!dev_has_ofnode(ethdev)) { in dm_eth_phy_connect()
199 if_str = dev_read_string(ethdev, phy_mode_str[i]); in dm_eth_phy_connect()
[all …]
/u-boot/drivers/net/octeontx2/
A Dcgx_intf.c559 ethdev->name); in cgx_intf_set_phy_mod_type()
584 ethdev->name); in cgx_intf_set_an_lbk()
597 if (ethdev) { in cgx_intf_get_ignore()
598 rvu = dev_get_priv(ethdev); in cgx_intf_get_ignore()
607 if (ethdev) in cgx_intf_get_ignore()
609 ethdev->name); in cgx_intf_get_ignore()
615 if (ethdev) in cgx_intf_get_ignore()
633 if (ethdev) { in cgx_intf_set_ignore()
634 rvu = dev_get_priv(ethdev); in cgx_intf_set_ignore()
644 if (ethdev) in cgx_intf_set_ignore()
[all …]
/u-boot/include/
A Dmiiphy.h173 struct udevice *ethdev,
186 struct phy_device *dm_eth_phy_connect(struct udevice *ethdev);
/u-boot/drivers/usb/gadget/
A Dether.c142 struct eth_dev ethdev; member
1873 dev = &priv->ethdev; in rndis_control_ack()
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()
2550 struct eth_dev *dev = &priv->ethdev; in usb_eth_recv()
2614 struct eth_dev *ethdev = &priv->ethdev; in usb_eth_recv() local
2624 if (ethdev->rx_req) { in usb_eth_recv()
2626 return ethdev->rx_req->length; in usb_eth_recv()
2640 struct eth_dev *ethdev = &priv->ethdev; in usb_eth_free_pkt() local
[all …]
/u-boot/board/ti/am335x/
A Dboard.c641 struct udevice *ethdev; in ft_board_setup() local
665 ethdev = eth_get_dev_by_name(enet_name); in ft_board_setup()
666 if (!ethdev) in ft_board_setup()
669 phy_addr = cpsw_get_slave_phy_addr(ethdev, i); in ft_board_setup()

Completed in 11 milliseconds