Searched refs:lr_bsh (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.2-release/sys/arm/lpc/ |
H A D | lpc_rtc.c | 54 bus_space_handle_t lr_bsh; member in struct:lpc_rtc_softc 94 sc->lr_bsh = rman_get_bushandle(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 97 milliseconds