Searched refs:irqen (Results 1 – 7 of 7) sorted by relevance
66 unsigned int irqen; member137 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()140 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()143 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()146 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1553_rtc_update_alarm()149 writeb(pdata->irqen ? RTC_INTS_AE : 0, ioaddr + RTC_INTERRUPTS); in ds1553_rtc_update_alarm()165 pdata->irqen |= RTC_AF; in ds1553_rtc_set_alarm()180 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in ds1553_rtc_read_alarm()212 pdata->irqen |= RTC_AF; in ds1553_rtc_alarm_irq_enable()214 pdata->irqen &= ~RTC_AF; in ds1553_rtc_alarm_irq_enable()
67 unsigned int irqen; member144 writeb(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()147 writeb(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()150 writeb(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()153 writeb(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in stk17ta8_rtc_update_alarm()156 writeb(pdata->irqen ? RTC_INTS_AIE : 0, ioaddr + RTC_INTERRUPTS); in stk17ta8_rtc_update_alarm()173 pdata->irqen |= RTC_AF; in stk17ta8_rtc_set_alarm()188 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in stk17ta8_rtc_read_alarm()221 pdata->irqen |= RTC_AF; in stk17ta8_rtc_alarm_irq_enable()223 pdata->irqen &= ~RTC_AF; in stk17ta8_rtc_alarm_irq_enable()
91 unsigned int irqen; member297 rtc_write(pdata->alrm_mday < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()300 rtc_write(pdata->alrm_hour < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()303 rtc_write(pdata->alrm_min < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()306 rtc_write(pdata->alrm_sec < 0 || (pdata->irqen & RTC_UF) ? in ds1511_rtc_update_alarm()309 rtc_write(rtc_read(RTC_CMD) | (pdata->irqen ? RTC_TIE : 0), RTC_CMD); in ds1511_rtc_update_alarm()327 pdata->irqen |= RTC_AF; in ds1511_rtc_set_alarm()345 alrm->enabled = (pdata->irqen & RTC_AF) ? 1 : 0; in ds1511_rtc_read_alarm()379 pdata->irqen |= RTC_AF; in ds1511_rtc_alarm_irq_enable()381 pdata->irqen &= ~RTC_AF; in ds1511_rtc_alarm_irq_enable()
86 unsigned int irqen; member331 buf[0] = priv->alarm_sec < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()333 buf[1] = priv->alarm_min < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()335 buf[2] = priv->alarm_hour < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()337 buf[3] = priv->alarm_mday < 0 || (priv->irqen & RTC_UF) ? in ds1343_update_alarm()344 if (priv->irqen) { in ds1343_update_alarm()367 alarm->enabled = !!(priv->irqen & RTC_AF); in ds1343_read_alarm()396 priv->irqen |= RTC_AF; in ds1343_set_alarm()416 priv->irqen |= RTC_AF; in ds1343_alarm_irq_enable()418 priv->irqen &= ~RTC_AF; in ds1343_alarm_irq_enable()[all …]
113 u32 irqsta, irqen; in mtk_rtc_irq_handler_thread() local119 irqen = irqsta & ~RTC_IRQ_EN_AL; in mtk_rtc_irq_handler_thread()122 irqen) == 0) in mtk_rtc_irq_handler_thread()223 u32 irqen, pdn2; in mtk_rtc_read_alarm() local228 ret = regmap_read(rtc->regmap, rtc->addr_base + RTC_IRQ_EN, &irqen); in mtk_rtc_read_alarm()240 alm->enabled = !!(irqen & RTC_IRQ_EN_AL); in mtk_rtc_read_alarm()
33 u32 irqen; member292 &rc5t583_rtc->irqen); in rc5t583_rtc_suspend()303 rc5t583_rtc->irqen); in rc5t583_rtc_resume()
295 bool irqen; in stmpe_dbg_show_one() local334 irqen = !!(ret & mask); in stmpe_dbg_show_one()340 irqen ? "IRQ-enabled" : "IRQ-disabled", in stmpe_dbg_show_one()