Searched refs:lpsr (Results 1 – 1 of 1) sorted by relevance
208 u32 lptar, lpsr; in snvs_rtc_read_alarm() local218 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr); in snvs_rtc_read_alarm()219 alrm->pending = (lpsr & SNVS_LPSR_LPTA) ? 1 : 0; in snvs_rtc_read_alarm()282 u32 lpsr; in snvs_rtc_irq_handler() local287 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr); in snvs_rtc_irq_handler()289 if (lpsr & SNVS_LPSR_LPTA) { in snvs_rtc_irq_handler()299 regmap_write(data->regmap, data->offset + SNVS_LPSR, lpsr); in snvs_rtc_irq_handler()