Searched refs:lpsr (Results 1 – 1 of 1) sorted by relevance
196 u32 lptar, lpsr; in snvs_rtc_read_alarm() local201 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr); in snvs_rtc_read_alarm()202 alrm->pending = (lpsr & SNVS_LPSR_LPTA) ? 1 : 0; in snvs_rtc_read_alarm()251 u32 lpsr; in snvs_rtc_irq_handler() local254 regmap_read(data->regmap, data->offset + SNVS_LPSR, &lpsr); in snvs_rtc_irq_handler()256 if (lpsr & SNVS_LPSR_LPTA) { in snvs_rtc_irq_handler()266 regmap_write(data->regmap, data->offset + SNVS_LPSR, lpsr); in snvs_rtc_irq_handler()