Lines Matching refs:rt_phy_device
22 struct rt_phy_device *phy = (struct rt_phy_device *)dev->user_data; in phy_device_read()
28 struct rt_phy_device *phy = (struct rt_phy_device *)dev->user_data; in phy_device_write()
48 rt_err_t rt_hw_phy_register(struct rt_phy_device *phy, const char *name) in rt_hw_phy_register()
79 int rt_phy_set_supported(struct rt_phy_device *phydev, rt_uint32_t max_speed) in rt_phy_set_supported()
98 int rt_phy_read(struct rt_phy_device *phydev, int devad, int regnum) in rt_phy_read()
114 int rt_phy_write(struct rt_phy_device *phydev, int devad, int regnum, rt_uint16_t val) in rt_phy_write()
129 int rt_phy_startup(struct rt_phy_device *phydev) in rt_phy_startup()
144 int rt_phy_config(struct rt_phy_device *phydev) in rt_phy_config()
159 int rt_phy_shutdown(struct rt_phy_device *phydev) in rt_phy_shutdown()
174 void rt_phy_mmd_start_indirect(struct rt_phy_device *phydev, int devad, int regnum) in rt_phy_mmd_start_indirect()
187 int rt_phy_read_mmd(struct rt_phy_device *phydev, int devad, int regnum) in rt_phy_read_mmd()
206 int rt_phy_write_mmd(struct rt_phy_device *phydev, int devad, int regnum, rt_uint16_t val) in rt_phy_write_mmd()
225 int rt_phy_reset(struct rt_phy_device *phydev) in rt_phy_reset()
276 struct rt_phy_device *rt_phy_device_create(struct mii_bus *bus, int addr, in rt_phy_device_create()
279 struct rt_phy_device *dev = rt_malloc(sizeof(struct rt_phy_device)); in rt_phy_device_create()
360 static struct rt_phy_device *create_phy_by_mask(struct mii_bus *bus, unsigned int phy_mask,int deva… in create_phy_by_mask()
396 static struct rt_phy_device *rt_phydev_create_by_mask(struct mii_bus *bus, unsigned int phy_mask) in rt_phydev_create_by_mask()
398 struct rt_phy_device *phy; in rt_phydev_create_by_mask()
426 struct rt_phy_device *rt_phy_find_by_mask(struct mii_bus *bus, unsigned int phy_mask) in rt_phy_find_by_mask()
428 struct rt_phy_device *phy; in rt_phy_find_by_mask()
470 struct rt_phy_device *rt_phy_get_device(struct mii_bus *bus,struct rt_ofw_node *np, int addr,rt_phy… in rt_phy_get_device()
472 struct rt_phy_device *phy = RT_NULL; in rt_phy_get_device()
505 rt_err_t rt_phy_device_register(struct rt_phy_device *pdev) in rt_phy_device_register()
536 struct rt_phy_device *pdev = rt_container_of(dev, struct rt_phy_device, parent); in phy_match()
549 struct rt_phy_device *pdev = rt_container_of(dev, struct rt_phy_device, parent); in phy_probe()