Lines Matching refs:anar_reg
258 uint32_t anar_reg; in qc_ar8031_cfg_link() local
262 if (qc_ar8031_read(dev, MII_ANAR, &anar_reg) < 0) { in qc_ar8031_cfg_link()
275 anar_reg |= MII_ADVERTISE_10_FULL; in qc_ar8031_cfg_link()
277 anar_reg &= ~MII_ADVERTISE_10_FULL; in qc_ar8031_cfg_link()
281 anar_reg |= MII_ADVERTISE_10_HALF; in qc_ar8031_cfg_link()
283 anar_reg &= ~MII_ADVERTISE_10_HALF; in qc_ar8031_cfg_link()
287 anar_reg |= MII_ADVERTISE_100_FULL; in qc_ar8031_cfg_link()
289 anar_reg &= ~MII_ADVERTISE_100_FULL; in qc_ar8031_cfg_link()
293 anar_reg |= MII_ADVERTISE_100_HALF; in qc_ar8031_cfg_link()
295 anar_reg &= ~MII_ADVERTISE_100_HALF; in qc_ar8031_cfg_link()
316 if (qc_ar8031_write(dev, MII_ANAR, anar_reg) < 0) { in qc_ar8031_cfg_link()