/netbsd-current/sys/arch/x86/include/ |
H A D | rtc.h | 6 int rtc_get_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 7 int rtc_set_ymdhms(todr_chip_handle_t, struct clock_ymdhms *);
|
/netbsd-current/tools/compat/dev/ |
H A D | clock_subr.h | 42 struct clock_ymdhms { struct 52 time_t clock_ymdhms_to_secs(struct clock_ymdhms *); 53 int clock_secs_to_ymdhms(time_t, struct clock_ymdhms *);
|
/netbsd-current/sys/dev/ |
H A D | clock_subr.h | 41 struct clock_ymdhms { struct 51 time_t clock_ymdhms_to_secs(struct clock_ymdhms *); 52 int clock_secs_to_ymdhms(time_t, struct clock_ymdhms *); 89 struct clock_ymdhms *); 91 struct clock_ymdhms *);
|
/netbsd-current/sys/arch/mipsco/include/ |
H A D | sysconf.h | 42 struct clock_ymdhms;
|
/netbsd-current/sys/dev/ic/ |
H A D | mc146818var.h | 52 int mc146818_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 53 int mc146818_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *);
|
H A D | mm58167.c | 48 static int mm58167_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 49 static int mm58167_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 81 mm58167_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) 84 struct clock_ymdhms dt_reasonable; 231 mm58167_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
|
H A D | intersil7170.c | 49 int intersil7170_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 50 int intersil7170_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 75 intersil7170_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) 120 intersil7170_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/hpcmips/include/ |
H A D | sysconf.h | 53 struct clock_ymdhms;
|
/netbsd-current/sys/arch/luna68k/dev/ |
H A D | timekeeper.c | 66 static int mkclock_get(todr_chip_handle_t, struct clock_ymdhms *); 67 static int mkclock_set(todr_chip_handle_t, struct clock_ymdhms *); 68 static int dsclock_get(todr_chip_handle_t, struct clock_ymdhms *); 69 static int dsclock_set(todr_chip_handle_t, struct clock_ymdhms *); 119 mkclock_get(todr_chip_handle_t tch, struct clock_ymdhms *dt) 143 mkclock_set(todr_chip_handle_t tch, struct clock_ymdhms *dt) 192 dsclock_get(todr_chip_handle_t tch, struct clock_ymdhms *dt) 217 dsclock_set(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/dev/i2c/ |
H A D | pcf8563.c | 70 static int pcf8563rtc_clock_read(struct pcf8563rtc_softc *, struct clock_ymdhms *); 71 static int pcf8563rtc_clock_write(struct pcf8563rtc_softc *, struct clock_ymdhms *); 72 static int pcf8563rtc_gettime(struct todr_chip_handle *, struct clock_ymdhms *); 73 static int pcf8563rtc_settime(struct todr_chip_handle *, struct clock_ymdhms *); 133 pcf8563rtc_gettime(struct todr_chip_handle *ch, struct clock_ymdhms *dt) 141 pcf8563rtc_settime(struct todr_chip_handle *ch, struct clock_ymdhms *dt) 149 pcf8563rtc_clock_read(struct pcf8563rtc_softc *sc, struct clock_ymdhms *dt) 188 pcf8563rtc_clock_write(struct pcf8563rtc_softc *sc, struct clock_ymdhms *dt)
|
H A D | rs5c372.c | 59 static int rs5c372rtc_clock_read(struct rs5c372rtc_softc *, struct clock_ymdhms *); 60 static int rs5c372rtc_clock_write(struct rs5c372rtc_softc *, struct clock_ymdhms *); 61 static int rs5c372rtc_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 62 static int rs5c372rtc_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 111 rs5c372rtc_gettime_ymdhms(todr_chip_handle_t ch, struct clock_ymdhms *dt) 119 rs5c372rtc_settime_ymdhms(todr_chip_handle_t ch, struct clock_ymdhms *dt) 156 rs5c372rtc_clock_read(struct rs5c372rtc_softc *sc, struct clock_ymdhms *dt) 193 rs5c372rtc_clock_write(struct rs5c372rtc_softc *sc, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/playstation2/playstation2/ |
H A D | clock.c | 47 static int get_bootinfo_tod(todr_chip_handle_t, struct clock_ymdhms *); 78 get_bootinfo_tod(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/amiga/dev/ |
H A D | a34kbbc.c | 65 int a34kugettod(todr_chip_handle_t, struct clock_ymdhms *); 66 int a34kusettod(todr_chip_handle_t, struct clock_ymdhms *); 72 struct clock_ymdhms dt; 109 a34kugettod(todr_chip_handle_t h, struct clock_ymdhms *dt) 152 a34kusettod(todr_chip_handle_t h, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/alpha/alpha/ |
H A D | mcclock.c | 106 struct clock_ymdhms *dt; /* IN */ 113 int (*func)(todr_chip_handle_t, struct clock_ymdhms *) = arg1; 120 mcclock_bounce(int (*func)(todr_chip_handle_t, struct clock_ymdhms *), 144 mcclock_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) 155 mcclock_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/arm/xscale/ |
H A D | pxa2x0_rtc.c | 66 static int pxartc_wristwatch_gettime(todr_chip_handle_t, struct clock_ymdhms *); 67 static int pxartc_wristwatch_settime(todr_chip_handle_t, struct clock_ymdhms *); 126 struct clock_ymdhms dt; 144 struct clock_ymdhms dt; 172 pxartc_wristwatch_gettime(todr_chip_handle_t ch, struct clock_ymdhms *dt) 205 pxartc_wristwatch_settime(todr_chip_handle_t ch, struct clock_ymdhms *dt) 246 struct clock_ymdhms dummy;
|
/netbsd-current/sys/arch/arm/marvell/ |
H A D | mvsocrtc.c | 62 static int mvsocrtc_todr_gettime(todr_chip_handle_t, struct clock_ymdhms *); 63 static int mvsocrtc_todr_settime(todr_chip_handle_t, struct clock_ymdhms *); 111 mvsocrtc_todr_gettime(todr_chip_handle_t ch, struct clock_ymdhms *dt) 156 mvsocrtc_todr_settime(todr_chip_handle_t ch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/sgimips/dev/ |
H A D | dsclock.c | 67 struct clock_ymdhms *); 69 struct clock_ymdhms *); 119 dsclock_gettime_ymdhms(struct todr_chip_handle *todrch, struct clock_ymdhms *dt) 161 dsclock_settime_ymdhms(struct todr_chip_handle *todrch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/mipsco/obio/ |
H A D | mkclock.c | 62 int mkclock_read (todr_chip_handle_t, struct clock_ymdhms *); 63 int mkclock_write (todr_chip_handle_t, struct clock_ymdhms *); 114 mkclock_read(todr_chip_handle_t tch, struct clock_ymdhms *dt) 135 mkclock_write(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/dev/ofw/ |
H A D | ofrtc.c | 93 static int ofrtc_gettod(todr_chip_handle_t, struct clock_ymdhms *); 94 static int ofrtc_settod(todr_chip_handle_t, struct clock_ymdhms *); 159 ofrtc_gettod(todr_chip_handle_t tch, struct clock_ymdhms *dt) 188 ofrtc_settod(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/modules/examples/current_time/ |
H A D | current_time.c | 49 struct clock_ymdhms dt;
|
/netbsd-current/sys/arch/x68k/dev/ |
H A D | rtclock.c | 57 static int rtgettod(todr_chip_handle_t, struct clock_ymdhms *); 58 static int rtsettod(todr_chip_handle_t, struct clock_ymdhms *); 116 rtgettod(todr_chip_handle_t tch, struct clock_ymdhms *dt) 139 rtsettod(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/sparc/dev/ |
H A D | rtc.c | 69 static int rtc_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 70 static int rtc_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 147 rtc_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) 182 rtc_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt)
|
/netbsd-current/sys/arch/evbppc/walnut/dev/ |
H A D | ds1743.c | 68 static int dsrtc_read(todr_chip_handle_t, struct clock_ymdhms *); 69 static int dsrtc_write(todr_chip_handle_t, struct clock_ymdhms *); 159 struct clock_ymdhms dt; 230 dsrtc_write(todr_chip_handle_t tch, struct clock_ymdhms *dt) 251 dsrtc_read(todr_chip_handle_t tch, struct clock_ymdhms *dt)
|
/netbsd-current/sys/kern/ |
H A D | kern_todr.c | 190 struct clock_ymdhms basedate; 348 todr_debug(const char *prefix, int rv, struct clock_ymdhms *dt, 352 struct clock_ymdhms dt_val; 423 struct clock_ymdhms dt = { 0 }; 472 struct clock_ymdhms dt;
|
/netbsd-current/sys/arch/sh3/dev/ |
H A D | rtc.c | 68 static int rtc_gettime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 69 static int rtc_settime_ymdhms(todr_chip_handle_t, struct clock_ymdhms *); 143 struct clock_ymdhms dt; 154 rtc_gettime_ymdhms(todr_chip_handle_t h, struct clock_ymdhms *dt) 223 rtc_settime_ymdhms(todr_chip_handle_t h, struct clock_ymdhms *dt)
|