Home
last modified time | relevance | path

Searched refs:time (Results 1 – 25 of 236) sorted by relevance

12345678910

/arch/m68k/kernel/
Dtime.c75 struct rtc_time time; in read_persistent_clock() local
80 mach_hwclk(0, &time); in read_persistent_clock()
82 if ((time.tm_year += 1900) < 1970) in read_persistent_clock()
83 time.tm_year += 100; in read_persistent_clock()
84 ts->tv_sec = mktime(time.tm_year, time.tm_mon, time.tm_mday, in read_persistent_clock()
85 time.tm_hour, time.tm_min, time.tm_sec); in read_persistent_clock()
/arch/s390/include/asm/
Dtimex.h19 static inline int set_tod_clock(__u64 time) in set_tod_clock() argument
27 : "=d" (cc) : "Q" (time) : "cc"); in set_tod_clock()
31 static inline int store_tod_clock(__u64 *time) in store_tod_clock() argument
39 : "=d" (cc), "=Q" (*time) : : "cc"); in store_tod_clock()
43 static inline void set_clock_comparator(__u64 time) in set_clock_comparator() argument
45 asm volatile("sckc %0" : : "Q" (time)); in set_clock_comparator()
48 static inline void store_clock_comparator(__u64 *time) in store_clock_comparator() argument
50 asm volatile("stckc %0" : "=Q" (*time)); in store_clock_comparator()
/arch/powerpc/include/asm/
Drtc.h45 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument
48 ppc_md.get_rtc_time(time); in get_rtc_time()
53 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument
56 return ppc_md.set_rtc_time(time); in set_rtc_time()
Dmpic_timer.h32 const struct timeval *time);
35 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time);
39 const struct timeval *time) { return NULL; } in mpic_request_timer() argument
42 void mpic_get_remain_time(struct mpic_timer *handle, struct timeval *time) { } in mpic_get_remain_time() argument
/arch/m68k/include/asm/
Drtc.h31 static inline unsigned int get_rtc_time(struct rtc_time *time) in get_rtc_time() argument
40 mach_hwclk(0, time); in get_rtc_time()
44 static inline int set_rtc_time(struct rtc_time *time) in set_rtc_time() argument
47 return mach_hwclk(1, time); in set_rtc_time()
/arch/powerpc/sysdev/
Dmpic_timer.c93 const u64 ticks, struct timeval *time) in convert_ticks_to_time() argument
97 time->tv_sec = (__kernel_time_t)div_u64(ticks, priv->timerfreq); in convert_ticks_to_time()
98 tmp_sec = (u64)time->tv_sec * (u64)priv->timerfreq; in convert_ticks_to_time()
100 time->tv_usec = 0; in convert_ticks_to_time()
103 time->tv_usec = (__kernel_suseconds_t) in convert_ticks_to_time()
111 const struct timeval *time, u64 *ticks) in convert_time_to_ticks() argument
122 if (time->tv_sec > max_value || in convert_time_to_ticks()
123 (time->tv_sec == max_value && time->tv_usec > 0)) in convert_time_to_ticks()
126 tmp_sec = (u64)time->tv_sec * (u64)priv->timerfreq; in convert_time_to_ticks()
129 tmp_ms = time->tv_usec / 1000; in convert_time_to_ticks()
[all …]
/arch/mn10300/unit-asb2305/
Dleds.c82 void peripheral_leds7x4_display_minssecs(unsigned int time, unsigned int points) in peripheral_leds7x4_display_minssecs() argument
86 leds = asb2305_led_hex_tbl[(time/600) % 6]; in peripheral_leds7x4_display_minssecs()
88 leds |= asb2305_led_hex_tbl[(time/60) % 10]; in peripheral_leds7x4_display_minssecs()
90 leds |= asb2305_led_hex_tbl[(time/10) % 6]; in peripheral_leds7x4_display_minssecs()
92 leds |= asb2305_led_hex_tbl[time % 10]; in peripheral_leds7x4_display_minssecs()
/arch/m68k/mac/
Dmisc.c40 long time; in cuda_read_time() local
47 time = (req.reply[3] << 24) | (req.reply[4] << 16) in cuda_read_time()
49 return time - RTC_OFFSET; in cuda_read_time()
95 long time; in pmu_read_time() local
102 time = (req.reply[1] << 24) | (req.reply[2] << 16) in pmu_read_time()
104 return time - RTC_OFFSET; in pmu_read_time()
153 long time;
158 time = (req.reply[3] << 24) | (req.reply[4] << 16)
160 return time - RTC_OFFSET;
348 static void via_write_time(long time) in via_write_time() argument
[all …]
/arch/powerpc/platforms/ps3/
Dtime.c44 static void __maybe_unused _dump_time(int time, const char *func, in _dump_time() argument
49 to_tm(time, &tm); in _dump_time()
51 pr_debug("%s:%d time %d\n", func, line, time); in _dump_time()
/arch/arc/boot/dts/
Dabilis_tb101_dvk.dts48 i2c-sda-hold-time-ns = <432>;
51 i2c-sda-hold-time-ns = <432>;
54 i2c-sda-hold-time-ns = <432>;
57 i2c-sda-hold-time-ns = <432>;
60 i2c-sda-hold-time-ns = <432>;
Dabilis_tb100_dvk.dts48 i2c-sda-hold-time-ns = <432>;
51 i2c-sda-hold-time-ns = <432>;
54 i2c-sda-hold-time-ns = <432>;
57 i2c-sda-hold-time-ns = <432>;
60 i2c-sda-hold-time-ns = <432>;
/arch/score/
DKconfig.debug15 some command-line options at build time by entering them here. In
20 bool "Enable run-time debugging"
23 If you say Y here, some debugging macros will do run-time checking.
/arch/xtensa/
DKconfig.debug19 Enable this function to disable link-time optimizations.
23 Enabling this option improves the link time but increases the
24 code size, and possibly execution time.
/arch/x86/xen/
Dtime.c129 runnable = state.time[RUNSTATE_runnable] - snap->time[RUNSTATE_runnable]; in do_stolen_accounting()
130 offline = state.time[RUNSTATE_offline] - snap->time[RUNSTATE_offline]; in do_stolen_accounting()
150 &HYPERVISOR_shared_info->vcpu_info[0].time; in xen_tsc_khz()
161 src = &__this_cpu_read(xen_vcpu)->time; in xen_clocksource_read()
178 vcpu_time = &get_cpu_var(xen_vcpu)->time; in xen_read_wallclock()
/arch/powerpc/kernel/
Dsysfs.c166 u64 time; in show_pw20_wait_time() local
178 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_pw20_wait_time()
182 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_pw20_wait_time()
184 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_pw20_wait_time()
187 time = pw20_wt; in show_pw20_wait_time()
190 return sprintf(buf, "%llu\n", time > 0 ? time : 0); in show_pw20_wait_time()
288 u64 time; in show_altivec_idle_wait_time() local
300 time = div_u64(tb_cycle, tb_ticks_per_usec / 1000); in show_altivec_idle_wait_time()
304 time = div_u64_rem(tb_cycle, tb_ticks_per_usec, in show_altivec_idle_wait_time()
306 time = time * 1000 + rem_us * 1000 / tb_ticks_per_usec; in show_altivec_idle_wait_time()
[all …]
Dnvram_64.c447 int *count, struct timespec *time, char **buf, in nvram_pstore_read() argument
469 time->tv_sec = 0; in nvram_pstore_read()
470 time->tv_nsec = 0; in nvram_pstore_read()
476 time->tv_sec = last_rtas_event; in nvram_pstore_read()
477 time->tv_nsec = 0; in nvram_pstore_read()
484 time->tv_sec = 0; in nvram_pstore_read()
485 time->tv_nsec = 0; in nvram_pstore_read()
494 time->tv_sec = 0; in nvram_pstore_read()
495 time->tv_nsec = 0; in nvram_pstore_read()
536 time->tv_sec = 0; in nvram_pstore_read()
[all …]
/arch/arm/boot/dts/
Daks-cdu.dts33 linux,rs485-enabled-at-boot-time;
39 linux,rs485-enabled-at-boot-time;
45 linux,rs485-enabled-at-boot-time;
Drk3288-veyron.dtsi171 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
172 i2c-scl-rising-time-ns = <100>; /* 45ns measured */
253 * we just refer to vcc33_io every time something is
308 i2c-scl-falling-time-ns = <50>; /* 2.5ns measured */
309 i2c-scl-rising-time-ns = <100>; /* 40ns measured */
323 i2c-scl-falling-time-ns = <50>; /* 10ns measured */
324 i2c-scl-rising-time-ns = <800>; /* 600ns measured */
331 i2c-scl-falling-time-ns = <50>; /* 11ns measured */
332 i2c-scl-rising-time-ns = <300>; /* 225ns measured */
339 i2c-scl-falling-time-ns = <300>;
[all …]
/arch/sh/include/asm/
Dromimage-macros.h48 .macro WAIT, time
58 2 : .long \time * 100
/arch/x86/entry/vdso/
Dvdso.lds.S25 time;
/arch/arm/mach-omap2/
Dsdram-nokia.c196 int time, long rate, const char *name) in set_sdrc_timing_regval_ps() argument
199 int time, long rate) in set_sdrc_timing_regval_ps()
205 if (time == 0) in set_sdrc_timing_regval_ps()
208 ticks = sdrc_ps_to_ticks(time, rate); in set_sdrc_timing_regval_ps()
/arch/cris/arch-v10/
Doutput_arch.ld1 /* At the time of this writing, there's no equivalent ld option. */
/arch/cris/arch-v32/
Doutput_arch.ld1 /* At the time of this writing, there's no equivalent ld option. */
/arch/x86/um/vdso/
Dvdso.lds.S26 time;
/arch/powerpc/platforms/8xx/
Dm8xx_setup.c171 int time; in mpc8xx_set_rtc_time() local
175 time = mktime(tm->tm_year+1900, tm->tm_mon+1, tm->tm_mday, in mpc8xx_set_rtc_time()
179 out_be32(&sys_tmr2->sit_rtc, time); in mpc8xx_set_rtc_time()

12345678910