Searched refs:lr_bst (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/arm/lpc/ |
H A D | lpc_rtc.c | 53 bus_space_tag_t lr_bst; member in struct:lpc_rtc_softc 93 sc->lr_bst = rman_get_bustag(sc->lr_mem_res); 104 ts->tv_sec = bus_space_read_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_UCOUNT); 117 ctrl = bus_space_read_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_CTRL); 118 bus_space_write_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_CTRL, ctrl | LPC_RTC_CTRL_DISABLE); 121 bus_space_write_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_UCOUNT, ts->tv_sec); 124 ctrl = bus_space_read_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_CTRL); 125 bus_space_write_4(sc->lr_bst, sc->lr_bsh, LPC_RTC_CTRL, ctrl & ~LPC_RTC_CTRL_DISABLE);
|
Completed in 112 milliseconds