Lines Matching refs:bct
238 struct bcd_clocktime bct;
268 bct.nsec = 0;
269 bct.sec = tregs.sec;
270 bct.min = tregs.min;
271 bct.hour = tregs.hour & hourmask;
272 bct.day = tregs.day;
273 bct.mon = tregs.month;
274 bct.year = tregs.year;
275 bct.ispm = tregs.hour & ISL12XX_PM_FLAG;
277 clock_dbgprint_bcd(sc->dev, CLOCK_DBG_READ, &bct);
278 return (clock_bcd_to_ts(&bct, ts, sc->use_ampm));
285 struct bcd_clocktime bct;
296 clock_ts_to_bcd(ts, &bct, sc->use_ampm);
297 clock_dbgprint_bcd(sc->dev, CLOCK_DBG_WRITE, &bct);
303 ampmflags = bct.ispm ? ISL12XX_PM_FLAG : 0;
305 tregs.sec = bct.sec;
306 tregs.min = bct.min;
307 tregs.hour = bct.hour | ampmflags;
308 tregs.day = bct.day;
309 tregs.month = bct.mon;
310 tregs.year = bct.year % 100;