Searched refs:chipdata (Results 1 – 2 of 2) sorted by relevance
38 do { *chiptime = (off); (data) = (*chipdata); } while (0)40 do { *chiptime = (off); *chipdata = (uint8_t)(data); } while (0)89 volatile uint8_t *chipdata = chiptime + 1; in ds_gettime() local102 if ((*chipdata & DS_REGA_UIP) == 0) in ds_gettime()107 t->Second = bcdtobin(*chipdata); in ds_gettime()109 t->Minute = bcdtobin(*chipdata); in ds_gettime()111 t->Hour = bcdtobin(*chipdata); in ds_gettime()113 t->Day = bcdtobin(*chipdata); in ds_gettime()115 t->Month = bcdtobin(*chipdata); in ds_gettime()117 t->Year = bcdtobin(*chipdata); in ds_gettime()
207 do { *chiptime = (off); (data) = (*chipdata); } while (0)209 do { *chiptime = (off); *chipdata = (u_int8_t)(data); } while (0)214 c = *chipdata; (data) = FROMBCD(c); \219 *chipdata = TOBCD((u_int8_t)(data)); \230 volatile u_int8_t *chipdata = (void *)(sc->sc_clock + 1); in dsclock_get() local245 if ((*chipdata & DS_REGA_UIP) == 0) in dsclock_get()278 volatile u_int8_t *chipdata = (void *)(sc->sc_clock + 1); in dsclock_set() local