Home
last modified time | relevance | path

Searched refs:ctrl4 (Results 1 - 3 of 3) sorted by relevance

/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-pcf2127.c700 unsigned int ctrl4; in pcf2127_rtc_irq() local
702 ret = regmap_read(pcf2127->regmap, PCF2131_REG_CTRL4, &ctrl4); in pcf2127_rtc_irq()
706 if (!(ctrl4 & PCF2131_CTRL4_IRQ_MASK || ctrl2 & PCF2131_CTRL2_IRQ_MASK)) in pcf2127_rtc_irq()
709 if (ctrl4 & PCF2131_CTRL4_IRQ_MASK) { in pcf2127_rtc_irq()
714 if (ctrl4 & tsf_bit) in pcf2127_rtc_irq()
721 ctrl4 & ~PCF2131_CTRL4_IRQ_MASK); in pcf2127_rtc_irq()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6029 u32 old_ctrl4, ctrl4; in mvpp2_gmac_config() local
6033 old_ctrl4 = ctrl4 = readl(port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()
6041 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
6042 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
6047 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
6048 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
6052 ctrl4 &= ~MVPP22_CTRL4_DP_CLK_SEL; in mvpp2_gmac_config()
6053 ctrl4 |= MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()
6079 if (old_ctrl4 != ctrl4) in mvpp2_gmac_config()
6080 writel(ctrl4, por in mvpp2_gmac_config()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/mvpp2/
H A Dmvpp2_main.c6364 u32 old_ctrl4, ctrl4; in mvpp2_gmac_config() local
6368 old_ctrl4 = ctrl4 = readl(port->base + MVPP22_GMAC_CTRL_4_REG); in mvpp2_gmac_config()
6376 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
6377 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
6382 ctrl4 &= ~MVPP22_CTRL4_EXT_PIN_GMII_SEL; in mvpp2_gmac_config()
6383 ctrl4 |= MVPP22_CTRL4_SYNC_BYPASS_DIS | in mvpp2_gmac_config()
6387 ctrl4 &= ~MVPP22_CTRL4_DP_CLK_SEL; in mvpp2_gmac_config()
6388 ctrl4 |= MVPP22_CTRL4_EXT_PIN_GMII_SEL | in mvpp2_gmac_config()
6414 if (old_ctrl4 != ctrl4) in mvpp2_gmac_config()
6415 writel(ctrl4, por in mvpp2_gmac_config()
[all...]

Completed in 19 milliseconds