Searched refs:devad (Results 1 – 3 of 3) sorted by relevance
| /components/drivers/phy/ |
| A D | phy.c | 184 (devad | RT_MII_MMD_CTRL_NOINCR)); in rt_phy_mmd_start_indirect() 195 return drv->read_mmd(phydev, devad, regnum); in rt_phy_read_mmd() 198 devad == RT_MDIO_DEVAD_NONE || !devad) in rt_phy_read_mmd() 199 return rt_phy_read(phydev, devad, regnum); in rt_phy_read_mmd() 201 rt_phy_mmd_start_indirect(phydev, devad, regnum); in rt_phy_read_mmd() 217 devad == RT_MDIO_DEVAD_NONE || !devad) in rt_phy_write_mmd() 229 int devad = RT_MDIO_DEVAD_NONE; in rt_phy_reset() local 240 reg = rt_phy_read(phydev, devad, RT_MII_BMCR); in rt_phy_reset() 368 int r = get_phy_id(bus, addr, devad, &id); in create_phy_by_mask() 405 int devad[] = { in rt_phydev_create_by_mask() local [all …]
|
| A D | mdio.h | 80 int (*read)(struct mii_bus* bus, int addr, int devad, int reg); 81 int (*write)(struct mii_bus* bus, int addr, int devad, int reg, rt_uint16_t val); 83 int (*read_c45)(struct mii_bus* bus, int addr, int devad, int reg); 85 int (*write_c45)(struct mii_bus* bus, int addr, int devad, int reg, rt_uint16_t val);
|
| /components/drivers/include/drivers/ |
| A D | phy.h | 103 int (*read)(struct rt_phy_device *phydev, int addr, int devad, int reg); 104 int (*write)(struct rt_phy_device *phydev, int addr, int devad, int reg, 106 int (*read_mmd)(struct rt_phy_device *phydev, int devad, int reg); 107 int (*write_mmd)(struct rt_phy_device *phydev, int devad, int reg, 114 int rt_phy_read(struct rt_phy_device *phydev, int devad, int regnum); 115 int rt_phy_write(struct rt_phy_device *phydev, int devad, int regnum, rt_uint16_t val); 116 int rt_phy_read_mmd(struct rt_phy_device *phydev, int devad, int regnum); 117 int rt_phy_write_mmd(struct rt_phy_device *phydev, int devad, int regnum, rt_uint16_t val); 122 int rt_phy_read_mmd(struct rt_phy_device *phydev, int devad, int regnum); 125 void rt_phy_mmd_start_indirect(struct rt_phy_device *phydev, int devad, int regnum);
|
Completed in 5 milliseconds