Searched refs:phy_id (Results 1 – 6 of 6) sorted by relevance
| /components/drivers/phy/ |
| A D | phy.c | 277 rt_uint32_t phy_id, rt_bool_t is_c45) in rt_phy_device_create() argument 299 dev->phy_id = phy_id; in rt_phy_device_create() 308 if (addr >= 0 && addr < RT_PHY_MAX && phy_id != RT_PHY_FIXED_ID && in rt_phy_device_create() 309 phy_id != RT_PHY_NCSI_ID) in rt_phy_device_create() 330 static int get_phy_id(struct mii_bus *bus, int addr, int devad, rt_uint32_t *phy_id) in get_phy_id() argument 339 *phy_id = (phy_reg & 0xffff) << 16; in get_phy_id() 346 *phy_id |= (phy_reg & 0xffff); in get_phy_id() 538 if ((pdrv->uid & pdrv->mask) == (pdev->phy_id & pdrv->mask)) in phy_match()
|
| A D | ofw.c | 111 const char *phy_id; in rt_ofw_get_phyid() local 115 ret = rt_ofw_prop_read_string(np,"compatible",&phy_id); in rt_ofw_get_phyid() 119 ret = rt_sscanf(phy_id,"ethernet-phy-id%4x.%4x",&upper, &lower); in rt_ofw_get_phyid()
|
| /components/drivers/include/drivers/ |
| A D | phy.h | 69 rt_uint32_t phy_id; member 131 struct rt_phy_device *rt_phy_device_create(struct mii_bus *bus, int addr, rt_uint32_t phy_id, rt_bo…
|
| /components/drivers/usb/cherryusb/class/vendor/net/ |
| A D | usbh_asix.c | 110 static int usbh_asix_mdio_write(struct usbh_asix *asix_class, int phy_id, int loc, int val) in usbh_asix_mdio_write() argument 132 ret = usbh_asix_write_cmd(asix_class, AX_CMD_WRITE_MII_REG, phy_id, loc, &res, 2); in usbh_asix_mdio_write() 144 static int usbh_asix_mdio_read(struct usbh_asix *asix_class, int phy_id, int loc) in usbh_asix_mdio_read() argument 166 ret = usbh_asix_read_cmd(asix_class, AX_CMD_READ_MII_REG, phy_id, loc, &res, 2); in usbh_asix_mdio_read()
|
| /components/drivers/spi/ |
| A D | enc28j60.h | 332 rt_uint32_t phy_id; member
|
| A D | enc28j60.c | 798 enc28j60_dev.phy_id = (enc28j60_phy_read(spi_device, PHHID1) | ((value >> 10) << 16)) << 3; in enc28j60_attach() 800 if (enc28j60_dev.phy_id != 0x00280418) in enc28j60_attach() 806 NET_DEBUG("phy_id:%08X\r\n", enc28j60_dev.phy_id); in enc28j60_attach()
|
Completed in 11 milliseconds