Searched refs:ctrl4 (Results 1 – 2 of 2) sorted by relevance
780 unsigned int ctrl4; in pcf2127_rtc_irq() local782 ret = regmap_read(pcf2127->regmap, PCF2131_REG_CTRL4, &ctrl4); in pcf2127_rtc_irq()786 if (!(ctrl4 & PCF2131_CTRL4_IRQ_MASK || ctrl2 & PCF2131_CTRL2_IRQ_MASK)) in pcf2127_rtc_irq()789 if (ctrl4 & PCF2131_CTRL4_IRQ_MASK) { in pcf2127_rtc_irq()794 if (ctrl4 & tsf_bit) in pcf2127_rtc_irq()801 ctrl4 & ~PCF2131_CTRL4_IRQ_MASK); in pcf2127_rtc_irq()
6414 u32 old_ctrl4, ctrl4; in mvpp2_gmac_config() local6418 old_ctrl4 = ctrl4 = readl(port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()6426 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()6427 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()6432 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()6433 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()6437 ctrl4 &= ~MVPP22_CTRL4_DP_CLK_SEL; in mvpp2_gmac_config()6438 ctrl4 |= MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()6464 if (old_ctrl4 != ctrl4) in mvpp2_gmac_config()6465 writel(ctrl4, port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()