Lines Matching refs:ctrlreg
67 u8 ctrlreg; member
220 rx8010->ctrlreg = (ctrl[1] & ~RX8010_CTRL_TEST); in rx8010_init()
246 t->enabled = !!(rx8010->ctrlreg & RX8010_CTRL_AIE); in rx8010_read_alarm()
258 if (rx8010->ctrlreg & (RX8010_CTRL_AIE | RX8010_CTRL_UIE)) { in rx8010_set_alarm()
259 rx8010->ctrlreg &= ~(RX8010_CTRL_AIE | RX8010_CTRL_UIE); in rx8010_set_alarm()
260 err = regmap_write(rx8010->regs, RX8010_CTRL, rx8010->ctrlreg); in rx8010_set_alarm()
290 rx8010->ctrlreg |= RX8010_CTRL_UIE; in rx8010_set_alarm()
292 rx8010->ctrlreg |= in rx8010_set_alarm()
295 err = regmap_write(rx8010->regs, RX8010_CTRL, rx8010->ctrlreg); in rx8010_set_alarm()
310 ctrl = rx8010->ctrlreg; in rx8010_alarm_irq_enable()
328 if (ctrl != rx8010->ctrlreg) { in rx8010_alarm_irq_enable()
329 rx8010->ctrlreg = ctrl; in rx8010_alarm_irq_enable()
330 err = regmap_write(rx8010->regs, RX8010_CTRL, rx8010->ctrlreg); in rx8010_alarm_irq_enable()