Home
last modified time | relevance | path

Searched refs:DCR_TCE (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/rtc/
H A Dimxdi.c37 #define DCR_TCE (1 << 3) /* Time Counter Enable */ macro
167 if (!(__raw_readl(&data.regs->dcr) & DCR_TCE)) { in di_init()
168 rc = DI_WRITE_WAIT(__raw_readl(&data.regs->dcr) | DCR_TCE, dcr); in di_init()
/openbmc/linux/drivers/rtc/
H A Drtc-imxdi.c52 #define DCR_TCE (1 << 3) /* Time Counter Enable */ macro
302 if (!(dcr & DCR_TCE)) { in di_handle_invalid_state()
329 di_write_busy_wait(imxdi, dcr | DCR_TCE, DCR); in di_handle_invalid_state()
564 if (!(dcr & DCR_TCE) || (dsr & DSR_SVF)) { in dryice_rtc_set_time()
586 return di_write_wait(imxdi, readl(imxdi->ioaddr + DCR) | DCR_TCE, DCR); in dryice_rtc_set_time()