Home
last modified time | relevance | path

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

/components/drivers/phy/
A Dphy.c24 return phy->bus->ops->read(phy->bus, phy->addr, msg->reg, &(msg->value), 4); in phy_device_read()
30 return phy->bus->ops->write(phy->bus, phy->addr, msg->reg, &(msg->value), 4); in phy_device_write()
53 device = &(phy->parent); in rt_hw_phy_register()
69 device->user_data = phy; in rt_hw_phy_register()
419 if(phy) in rt_phydev_create_by_mask()
420 return phy; in rt_phydev_create_by_mask()
457 return phy; in rt_phy_find_by_mask()
479 if(!phy) in rt_phy_get_device()
482 if(phy) in rt_phy_get_device()
484 rt_phy_reset(phy); in rt_phy_get_device()
[all …]
A DKconfig2 bool "Using ethernet phy device drivers"
6 bool "Using phy device and mii bus v2"
A DSConscript14 SrcRemove(src, ['phy.c'])
/components/drivers/include/drivers/
A Dphy.h212 rt_phy_status (*read)(rt_phy_t *phy, rt_uint32_t reg, rt_uint32_t *data);
213 rt_phy_status (*write)(rt_phy_t *phy, rt_uint32_t reg, rt_uint32_t data);
214 rt_phy_status (*loopback)(rt_phy_t *phy, rt_uint32_t mode, rt_uint32_t speed, rt_bool_t enable);
215 rt_phy_status (*get_link_status)(rt_phy_t *phy, rt_bool_t *status);
216 rt_phy_status (*get_link_speed_duplex)(rt_phy_t *phy, rt_uint32_t *speed, rt_uint32_t *duplex);
219 rt_err_t rt_hw_phy_register(struct rt_phy_device *phy, const char *name);
/components/drivers/
A DKconfig10 rsource "phy/Kconfig"

Completed in 7 milliseconds