Searched refs:ds1687_read (Results 1 - 3 of 3) sorted by relevance
/netbsd-current/sys/arch/arm/footbridge/isa/ |
H A D | dsrtc.c | 63 int ds1687_read(struct dsrtc_softc *sc, int addr); 74 ds1687_read(struct dsrtc_softc *sc, int addr) function 94 data = ds1687_read(sc, RTC_REG_A); 107 return(ds1687_read(sc, RTC_PC_RAM_START + addr)); 111 return(ds1687_read(sc, RTC_BANK0_RAM_START + addr)); 119 data = ds1687_read(sc, RTC_EXT_RAM_DATA); 168 dt->dt_sec = ds1687_read(sc, RTC_SECONDS); 169 dt->dt_min = ds1687_read(sc, RTC_MINUTES); 170 dt->dt_hour = ds1687_read(sc, RTC_HOURS); 171 dt->dt_day = ds1687_read(s [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | ds1687reg.h | 203 u_int ds1687_read(void *, u_int); 221 ctl = ds1687_read(sc, DS1687_CONTROLB); \ 226 (*regs)[i] = ds1687_read(sc, i); \ 229 ds1687_read(sc, DS1687_BANK1_CENTURY); \ 231 ds1687_read(sc, DS1687_BANK1_ADATE); \ 247 ctl = ds1687_read(sc, DS1687_CONTROLB); \
|
/netbsd-current/sys/arch/sgimips/mace/ |
H A D | mcclock_mace.c | 105 unsigned int ds1687_read(void *arg, unsigned int addr); 145 if (!(ds1687_read(sc, DS1687_CONTROLD) & DS1687_VRT)) 164 ds1687_read(void *arg, unsigned int addr) function 235 a = ds1687_read(mace0, DS1687_CONTROLA); 241 xctl_b = ds1687_read(mace0, DS1687_BANK1_XCTRL4B); 245 xctl_a = ds1687_read(mace0, DS1687_BANK1_XCTRL4A);
|
Completed in 275 milliseconds