Searched refs:c1kt_reg (Results 1 – 2 of 2) sorted by relevance
152 uint16_t c1kt_reg = 0; in update_link_state() local230 if (phy_mii_reg_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in update_link_state()240 ((c1kt_reg & s1kt_reg) & MII_ADVERTISE_1000_FULL)) { in update_link_state()243 ((c1kt_reg & s1kt_reg) & MII_ADVERTISE_1000_HALF)) { in update_link_state()320 uint16_t c1kt_reg; in phy_mii_cfg_link() local331 if (phy_mii_reg_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in phy_mii_cfg_link()362 c1kt_reg |= MII_ADVERTISE_1000_FULL; in phy_mii_cfg_link()364 c1kt_reg &= ~MII_ADVERTISE_1000_FULL; in phy_mii_cfg_link()368 c1kt_reg |= MII_ADVERTISE_1000_HALF; in phy_mii_cfg_link()370 c1kt_reg &= ~MII_ADVERTISE_1000_HALF; in phy_mii_cfg_link()[all …]
260 uint32_t c1kt_reg; in qc_ar8031_cfg_link() local270 if (qc_ar8031_read(dev, MII_1KTCR, &c1kt_reg) < 0) { in qc_ar8031_cfg_link()299 c1kt_reg |= MII_ADVERTISE_1000_FULL; in qc_ar8031_cfg_link()301 c1kt_reg &= ~MII_ADVERTISE_1000_FULL; in qc_ar8031_cfg_link()305 c1kt_reg |= MII_ADVERTISE_1000_HALF; in qc_ar8031_cfg_link()307 c1kt_reg &= ~MII_ADVERTISE_1000_HALF; in qc_ar8031_cfg_link()310 if (qc_ar8031_write(dev, MII_1KTCR, c1kt_reg) < 0) { in qc_ar8031_cfg_link()