/netbsd-current/sys/external/gpl2/dts/dist/include/dt-bindings/sound/ |
H A D | apq8016-lpass.h | 7 #include <dt-bindings/sound/qcom,lpass.h>
|
H A D | sc7180-lpass.h | 7 #include <dt-bindings/sound/qcom,lpass.h>
|
/netbsd-current/sys/dev/pci/ixgbe/ |
H A D | ixgbe_netbsd.c | 50 ixgbe_dma_tag_destroy(ixgbe_dma_tag_t *dt) argument 52 kmem_free(dt, sizeof(*dt)); 60 ixgbe_dma_tag_t *dt; local 64 dt = kmem_zalloc(sizeof(*dt), KM_SLEEP); 65 dt->dt_dmat = dmat; 66 dt->dt_alignment = alignment; 67 dt->dt_boundary = boundary; 68 dt 78 ixgbe_dmamap_destroy(ixgbe_dma_tag_t *dt, bus_dmamap_t dmam) argument 84 ixgbe_dmamap_sync(ixgbe_dma_tag_t *dt, bus_dmamap_t dmam, int ops) argument 90 ixgbe_dmamap_unload(ixgbe_dma_tag_t *dt, bus_dmamap_t dmam) argument 96 ixgbe_dmamap_create(ixgbe_dma_tag_t *dt, int flags, bus_dmamap_t *dmamp) argument [all...] |
/netbsd-current/sys/arch/playstation2/playstation2/ |
H A D | clock.c | 78 get_bootinfo_tod(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 85 dt->dt_year = bcdtobin(rtc->year) + 2000; 86 dt->dt_mon = bcdtobin(rtc->mon); 87 dt->dt_day = bcdtobin(rtc->day); 88 dt->dt_hour = bcdtobin(rtc->hour); 89 dt->dt_min = bcdtobin(rtc->min); 90 dt->dt_sec = bcdtobin(rtc->sec); 93 utc = clock_ymdhms_to_secs(dt) - 9*60*60; 94 clock_secs_to_ymdhms(utc, dt); 96 printf("bootinfo: %lld/%d/%d/%d/%d/%d rtc_offset %d\n", dt [all...] |
/netbsd-current/sys/modules/examples/current_time/ |
H A D | current_time.c | 49 struct clock_ymdhms dt; local 56 clock_secs_to_ymdhms(tv.tv_sec, &dt); 60 w_day[dt.dt_wday], dt.dt_year, dt.dt_mon, dt.dt_day, dt.dt_hour, 61 dt.dt_min, dt.dt_sec);
|
/netbsd-current/sys/arch/arm/xscale/ |
H A D | pxa2x0_rtc.c | 126 struct clock_ymdhms dt; local 129 clock_secs_to_ymdhms(tv->tv_sec, &dt); 132 dt.dt_year, dt.dt_mon, dt.dt_day, 133 dt.dt_hour, dt.dt_min, dt.dt_sec)); 144 struct clock_ymdhms dt; local 147 clock_secs_to_ymdhms(tv->tv_sec, &dt); 172 pxartc_wristwatch_gettime(todr_chip_handle_t ch, struct clock_ymdhms *dt) argument 205 pxartc_wristwatch_settime(todr_chip_handle_t ch, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/dev/ic/ |
H A D | msm6242b.c | 64 struct clock_ymdhms dt; local 77 if (msm6242b_gettime_ymdhms(handle, &dt) != 0) { 84 dt.dt_year, dt.dt_mon, dt.dt_day, dt.dt_hour, dt.dt_min, dt.dt_sec); 90 msm6242b_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 100 dt 213 msm6242b_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
H A D | mm58167.c | 81 mm58167_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 106 dt->dt_f = bcdtobin(byte_value) 136 if (dt->dt_mon < dt_reasonable.dt_mon || 137 (dt->dt_mon == dt_reasonable.dt_mon && 138 (dt->dt_day < dt_reasonable.dt_day || 139 (dt->dt_day == dt_reasonable.dt_day && 140 (dt->dt_hour < dt_reasonable.dt_hour || 141 (dt->dt_hour == dt_reasonable.dt_hour && 142 (dt->dt_min < dt_reasonable.dt_min || 143 (dt 231 mm58167_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument [all...] |
H A D | intersil7170.c | 75 intersil7170_gettime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 93 dt->dt_hour = bus_space_read_1(bt, bh, INTERSIL_IHOUR); 94 dt->dt_min = bus_space_read_1(bt, bh, INTERSIL_IMIN); 95 dt->dt_sec = bus_space_read_1(bt, bh, INTERSIL_ISEC); 96 dt->dt_mon = bus_space_read_1(bt, bh, INTERSIL_IMON); 97 dt->dt_day = bus_space_read_1(bt, bh, INTERSIL_IDAY); 99 dt->dt_wday = bus_space_read_1(bt, bh, INTERSIL_IDOW); 111 dt->dt_year = year; 120 intersil7170_settime_ymdhms(todr_chip_handle_t handle, struct clock_ymdhms *dt) argument 129 year = dt [all...] |
/netbsd-current/sys/arch/amiga/dev/ |
H A D | a34kbbc.c | 72 struct clock_ymdhms dt; local 86 if (a34kugettod(&a34ktodr, &dt) != 0) 109 a34kugettod(todr_chip_handle_t h, struct clock_ymdhms *dt) argument 119 dt->dt_sec = rt->second1 * 10 + rt->second2; 120 dt->dt_min = rt->minute1 * 10 + rt->minute2; 121 dt->dt_hour = rt->hour1 * 10 + rt->hour2; 122 dt->dt_wday = rt->weekday; 123 dt->dt_day = rt->day1 * 10 + rt->day2; 124 dt->dt_mon = rt->month1 * 10 + rt->month2; 125 dt 152 a34kusettod(todr_chip_handle_t h, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/dev/dec/ |
H A D | mcclock.c | 158 struct clock_ymdhms dt; local 164 dt.dt_sec = regs[MC_SEC]; 165 dt.dt_min = regs[MC_MIN]; 166 dt.dt_hour = regs[MC_HOUR]; 167 dt.dt_day = regs[MC_DOM]; 168 dt.dt_mon = regs[MC_MONTH]; 169 dt.dt_year = 1972; 171 yearsecs = clock_ymdhms_to_secs(&dt) - (72 - 70) * SECS_PER_COMMON_YEAR; 177 dt.dt_year = 1972; /* or MINYEAR or base/SECS_PER_COMMON_YEAR+1970... */ 178 dt 201 struct clock_ymdhms dt; local [all...] |
/netbsd-current/sys/external/gpl2/dts/dist/include/dt-bindings/interrupt-controller/ |
H A D | mips-gic.h | 7 #include <dt-bindings/interrupt-controller/irq.h>
|
H A D | apple-aic.h | 7 #include <dt-bindings/interrupt-controller/irq.h>
|
H A D | arm-gic.h | 11 #include <dt-bindings/interrupt-controller/irq.h>
|
/netbsd-current/sys/dev/ |
H A D | clock_subr.c | 83 clock_ymdhms_to_secs(struct clock_ymdhms *dt) argument 87 year = dt->dt_year; 96 if (is_leap_year(year) && dt->dt_mon > FEBRUARY) 120 for (i = dt->dt_year-year; i < dt->dt_year; i++) 126 for (i = 1; i < dt->dt_mon; i++) 128 days += (dt->dt_day - 1); 132 * 24 + dt->dt_hour) 133 * 60 + dt->dt_min) 134 * 60 + dt 142 clock_secs_to_ymdhms(time_t secs, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/external/gpl2/dts/dist/include/dt-bindings/clock/ |
H A D | sun7i-a20-ccu.h | 47 #include <dt-bindings/clock/sun4i-a10-ccu.h>
|
H A D | tegra124-car.h | 9 #include <dt-bindings/clock/tegra124-car-common.h>
|
H A D | r7s9210-cpg-mssr.h | 12 #include <dt-bindings/clock/renesas-cpg-mssr.h>
|
/netbsd-current/sys/arch/luna68k/dev/ |
H A D | timekeeper.c | 119 mkclock_get(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 127 dt->dt_sec = bcdtobin(chiptime[MK_SEC]); 128 dt->dt_min = bcdtobin(chiptime[MK_MIN]); 129 dt->dt_hour = bcdtobin(chiptime[MK_HOUR]); 130 dt->dt_wday = bcdtobin(chiptime[MK_DOW]); 131 dt->dt_day = bcdtobin(chiptime[MK_DOM]); 132 dt->dt_mon = bcdtobin(chiptime[MK_MONTH]); 133 dt->dt_year = bcdtobin(chiptime[MK_YEAR]) + YEAR0; 143 mkclock_set(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 152 chiptime[MK_SEC] = bintobcd(dt 192 dsclock_get(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 217 dsclock_set(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/lib/libm/src/ |
H A D | s_cbrtl.c | 40 double dr, dt, dx; local 99 dt = ft; 100 dr = dt * dt * dt; 101 dt = dt * (dx + dx + dr) / (dx + dr + dr); 104 dr = dt * dt * dt; [all...] |
/netbsd-current/sys/arch/x68k/dev/ |
H A D | rtclock.c | 116 rtgettod(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 124 dt->dt_sec = RTC_REG(RTC_SEC10) * 10 + RTC_REG(RTC_SEC); 125 dt->dt_min = RTC_REG(RTC_MIN10) * 10 + RTC_REG(RTC_MIN); 126 dt->dt_hour = RTC_REG(RTC_HOUR10) * 10 + RTC_REG(RTC_HOUR); 127 dt->dt_day = RTC_REG(RTC_DAY10) * 10 + RTC_REG(RTC_DAY); 128 dt->dt_mon = RTC_REG(RTC_MON10) * 10 + RTC_REG(RTC_MON); 129 dt->dt_year = RTC_REG(RTC_YEAR10) * 10 + RTC_REG(RTC_YEAR) 139 rtsettod(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 150 sec1 = dt->dt_sec / 10; 151 sec2 = dt [all...] |
/netbsd-current/sys/arch/sgimips/dev/ |
H A D | dsclock.c | 119 dsclock_gettime_ymdhms(struct todr_chip_handle *todrch, struct clock_ymdhms *dt) argument 129 dt->dt_sec = bcdtobin(regs[DS1286_SEC]); 130 dt->dt_min = bcdtobin(regs[DS1286_MIN]); 133 dt->dt_hour = 142 if (dt->dt_hour == 24) 143 dt->dt_hour = 0; 145 dt->dt_hour = 149 dt->dt_wday = bcdtobin(regs[DS1286_DOW]); 150 dt->dt_day = bcdtobin(regs[DS1286_DOM]); 151 dt 161 dsclock_settime_ymdhms(struct todr_chip_handle *todrch, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/sys/arch/mipsco/obio/ |
H A D | mkclock.c | 114 mkclock_read(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument 120 dt->dt_sec = mk_read(sc, 0); 121 dt->dt_min = mk_read(sc, 1); 122 dt->dt_hour = mk_read(sc, 2); 123 dt->dt_wday = mk_read(sc, 3); 124 dt->dt_day = mk_read(sc, 4); 125 dt->dt_mon = mk_read(sc, 5); 126 dt->dt_year = mk_read(sc, 6); 130 dt->dt_year = dt 135 mkclock_write(todr_chip_handle_t tch, struct clock_ymdhms *dt) argument [all...] |
/netbsd-current/external/mpl/bind/dist/bin/tools/ |
H A D | dnstap-read.c | 101 print_dtdata(dns_dtdata_t *dt) { argument 110 CHECKM(dns_dt_datatotext(dt, &b), "dns_dt_datatotext"); 121 print_hex(dns_dtdata_t *dt) { argument 126 if (dt->msg == NULL) { 130 textlen = (dt->msgdata.length * 2) + 1; 136 result = isc_hex_totext(&dt->msgdata, 0, "", b); 149 print_packet(dns_dtdata_t *dt, const dns_master_style_t *style) { argument 153 if (dt->msg != NULL) { 167 result = dns_message_totext(dt->msg, style, 0, b); 191 print_yaml(dns_dtdata_t *dt) { argument 332 dns_dtdata_t *dt = NULL; local [all...] |
/netbsd-current/sys/kern/ |
H A D | kern_todr.c | 348 todr_debug(const char *prefix, int rv, struct clock_ymdhms *dt, argument 354 if (dt == NULL) { 356 dt = &dt_val; 360 tvp->tv_sec = clock_ymdhms_to_secs(dt); 367 (unsigned)dt->dt_year, dt->dt_mon, dt->dt_day, 368 dt->dt_hour, dt->dt_min, dt 423 struct clock_ymdhms dt = { 0 }; local 472 struct clock_ymdhms dt; local [all...] |