Searched defs:rt_phy_ops (Results 1 – 1 of 1) sorted by relevance
| /components/drivers/include/drivers/ |
| A D | phy.h | 209 struct rt_phy_ops struct 211 rt_phy_status (*init)(void *object, rt_uint32_t phy_addr, rt_uint32_t src_clock_hz); 212 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);
|
Completed in 4 milliseconds