Lines Matching refs:qc_ar8031_read
75 static int qc_ar8031_read(const struct device *dev, uint16_t reg_addr, uint32_t *data) in qc_ar8031_read() function
136 ret = qc_ar8031_read(dev, MII_MMD_AADR, data); in qc_ar8031_mmd_read()
164 if (qc_ar8031_read(dev, PHY_SPECIFIC_STATUS_REG, ®_value) < 0) { in qc_ar8031_update_link_state()
182 if (qc_ar8031_read(dev, PHY_SPECIFIC_STATUS_REG, ®_value) < 0) { in qc_ar8031_update_link_state()
262 if (qc_ar8031_read(dev, MII_ANAR, &anar_reg) < 0) { in qc_ar8031_cfg_link()
266 if (qc_ar8031_read(dev, MII_BMCR, &bmcr_reg) < 0) { in qc_ar8031_cfg_link()
270 if (qc_ar8031_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in qc_ar8031_cfg_link()
374 if (qc_ar8031_read(dev, MII_PHYID1R, ®_value) < 0) { in qc_ar8031_init()
395 ret = qc_ar8031_read(dev, MII_MMD_AADR, ®_value); in qc_ar8031_init()
409 ret = qc_ar8031_read(dev, PHY_DEBUGPORT_DATA_REG, ®_value); in qc_ar8031_init()
424 ret = qc_ar8031_read(dev, PHY_DEBUGPORT_DATA_REG, ®_value); in qc_ar8031_init()
455 ret = qc_ar8031_read(dev, MII_BMCR, ®_value); in qc_ar8031_init()
490 .read = qc_ar8031_read,