Home
last modified time | relevance | path

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

/external/u-boot/net/
Dmdio-uclass.c118 struct udevice *ethdev, in dm_mdio_phy_connect() argument
126 return phy_connect(pdata->mii_bus, phyaddr, ethdev, interface); in dm_mdio_phy_connect()
129 static struct phy_device *dm_eth_connect_phy_handle(struct udevice *ethdev, in dm_eth_connect_phy_handle() argument
139 if (!dev_read_phandle_with_args(ethdev, phy_handle_str[i], NULL, in dm_eth_connect_phy_handle()
153 dev_dbg(ethdev, "missing reg property in phy node\n"); in dm_eth_connect_phy_handle()
165 phy = dm_mdio_phy_connect(mdiodev, phy_addr, ethdev, interface); in dm_eth_connect_phy_handle()
174 struct phy_device *dm_eth_phy_connect(struct udevice *ethdev) in dm_eth_phy_connect() argument
181 if (!ofnode_valid(ethdev->node)) { in dm_eth_phy_connect()
182 debug("%s: supplied eth dev has no DT node!\n", ethdev->name); in dm_eth_phy_connect()
188 if_str = ofnode_read_string(ethdev->node, phy_mode_str[i]); in dm_eth_phy_connect()
[all …]
/external/autotest/client/tests/pktgen/
Dpktgen.py27 self.ethdev='/proc/net/pktgen/' + eth
28 self.pgdev=self.ethdev
44 utils.system('cp %s %s_%05d' % (self.ethdev, output, i))
/external/u-boot/include/
Dmiiphy.h165 struct udevice *ethdev,
178 struct phy_device *dm_eth_phy_connect(struct udevice *ethdev);
/external/u-boot/drivers/usb/gadget/
Dether.c141 struct eth_dev ethdev; member
1863 struct eth_dev *dev = &priv->ethdev; in rndis_control_ack()
2004 struct eth_dev *dev = &l_priv->ethdev; in eth_bind()
2340 struct eth_dev *dev = &priv->ethdev; in _usb_eth_init()
2419 struct eth_dev *dev = &priv->ethdev; in _usb_eth_send()
2493 struct eth_dev *dev = &priv->ethdev; in _usb_eth_halt()
2542 struct eth_dev *dev = &priv->ethdev; in usb_eth_recv()
2606 struct eth_dev *ethdev = &priv->ethdev; in usb_eth_recv() local
2616 if (ethdev->rx_req) { in usb_eth_recv()
2618 return ethdev->rx_req->length; in usb_eth_recv()
[all …]
/external/u-boot/board/ti/am335x/
Dboard.c635 struct udevice *ethdev; in ft_board_setup() local
659 ethdev = eth_get_dev_by_name(enet_name); in ft_board_setup()
660 if (!ethdev) in ft_board_setup()
663 phy_addr = cpsw_get_slave_phy_addr(ethdev, i); in ft_board_setup()