/external/linux-kselftest/tools/testing/selftests/timers/ |
D | set-timer-lat.c | 53 int clock_id; variable 102 clock_gettime(clock_id, &ts); in sigalarm() 118 clockstring(clock_id), in describe_timer() 123 int setup_timer(int clock_id, int flags, int interval, timer_t *tm1) in setup_timer() argument 139 err = timer_create(clock_id, &se, tm1); in setup_timer() 141 if ((clock_id == CLOCK_REALTIME_ALARM) || in setup_timer() 142 (clock_id == CLOCK_BOOTTIME_ALARM)) { in setup_timer() 144 clockstring(clock_id), in setup_timer() 149 printf("%s - timer_create() failed\n", clockstring(clock_id)); in setup_timer() 153 clock_gettime(clock_id, &start_time); in setup_timer() [all …]
|
/external/u-boot/arch/arm/mach-imx/mx7/ |
D | clock_slice.c | 375 static int select(enum clk_root_index clock_id) in select() argument 383 if (clock_id == p->entry) in select() 409 int clock_set_src(enum clk_root_index clock_id, enum clk_root_src clock_src) in clock_set_src() argument 414 if (clock_id >= CLK_ROOT_MAX) in clock_set_src() 417 root_entry = select(clock_id); in clock_set_src() 425 reg = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_set_src() 428 __raw_writel(reg, &imx_ccm->root[clock_id].target_root); in clock_set_src() 434 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src) in clock_get_src() argument 440 if (clock_id >= CLK_ROOT_MAX) in clock_get_src() 443 val = __raw_readl(&imx_ccm->root[clock_id].target_root); in clock_get_src() [all …]
|
D | clock.c | 437 u32 get_root_clk(enum clk_root_index clock_id) in get_root_clk() argument 443 if (clock_root_enabled(clock_id) <= 0) in get_root_clk() 446 if (clock_get_prediv(clock_id, &pre_podf) < 0) in get_root_clk() 449 if (clock_get_postdiv(clock_id, &post_podf) < 0) in get_root_clk() 452 if (clock_get_autopostdiv(clock_id, &auto_podf, &auto_en) < 0) in get_root_clk() 458 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
|
/external/u-boot/arch/arm/include/asm/arch-mx7/ |
D | clock_slice.h | 98 int clock_set_src(enum clk_root_index clock_id, enum clk_root_src clock_src); 99 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src); 100 int clock_set_prediv(enum clk_root_index clock_id, enum root_pre_div pre_div); 101 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div); 102 int clock_set_postdiv(enum clk_root_index clock_id, enum root_post_div div); 103 int clock_get_postdiv(enum clk_root_index clock_id, enum root_post_div *div); 104 int clock_set_autopostdiv(enum clk_root_index clock_id, enum root_auto_div div, 106 int clock_get_autopostdiv(enum clk_root_index clock_id, enum root_auto_div *div, 108 int clock_get_target_val(enum clk_root_index clock_id, u32 *val); 109 int clock_set_target_val(enum clk_root_index clock_id, u32 val); [all …]
|
/external/u-boot/arch/arm/include/asm/arch-tegra/ |
D | clock.h | 61 unsigned long clock_start_pll(enum clock_id id, u32 divm, u32 divn, 73 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout, 88 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, 196 enum clock_id clock_get_periph_parent(enum periph_id periph_id); 208 enum clock_id parent, unsigned rate); 221 enum clock_id parent); 237 enum clock_id parent, unsigned rate, int *extra_div); 245 unsigned clock_get_rate(enum clock_id clkid); 297 struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid); 327 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source); [all …]
|
/external/ltp/lib/ |
D | tst_timer.c | 16 static clockid_t clock_id; variable 58 clock_id = clk_id; in tst_timer_start() 60 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start() 68 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms() 76 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
|
/external/u-boot/arch/arm/mach-imx/mx8m/ |
D | clock_slice.c | 478 static int select(enum clk_root_index clock_id) in select() argument 486 if (clock_id == p->entry) in select() 532 int clock_get_target_val(enum clk_root_index clock_id, u32 *val) in clock_get_target_val() argument 538 if (clock_id >= CLK_ROOT_MAX) in clock_get_target_val() 541 root_entry = select(clock_id); in clock_get_target_val() 555 int clock_set_target_val(enum clk_root_index clock_id, u32 val) in clock_set_target_val() argument 561 if (clock_id >= CLK_ROOT_MAX) in clock_set_target_val() 564 root_entry = select(clock_id); in clock_set_target_val() 578 int clock_root_enabled(enum clk_root_index clock_id) in clock_root_enabled() argument 585 if (clock_id >= CLK_ROOT_MAX) in clock_root_enabled() [all …]
|
D | clock.c | 285 static u32 get_root_clk(enum clk_root_index clock_id) in get_root_clk() argument 290 if (clock_root_enabled(clock_id) <= 0) in get_root_clk() 293 if (clock_get_prediv(clock_id, &pre_podf) < 0) in get_root_clk() 296 if (clock_get_postdiv(clock_id, &post_podf) < 0) in get_root_clk() 299 if (clock_get_src(clock_id, &root_src) < 0) in get_root_clk()
|
/external/syzkaller/sys/fuchsia/ |
D | time.txt | 9 zx_clock_get(clock_id flags[clock_id]) zx_time 10 zx_clock_get_new(clock_id int32, zx_time ptr[out, intptr]) 20 clock_id = ZX_CLOCK_MONOTONIC, ZX_CLOCK_UTC, ZX_CLOCK_THREAD
|
D | timers.txt | 8 zx_timer_create(options flags[timer_options], clock_id const[ZX_CLOCK_MONOTONIC], out ptr[out, zx_t…
|
/external/u-boot/arch/arm/mach-tegra/ |
D | clock.c | 71 static struct clk_pll *get_pll(enum clock_id clkid) in get_pll() 77 if (clkid >= (enum clock_id)TEGRA_CLK_PLLS) { in get_pll() 84 __weak struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() 89 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, in clock_ll_read_pll() 113 unsigned long clock_start_pll(enum clock_id clkid, u32 divm, u32 divn, in clock_start_pll() 121 if (clkid < (enum clock_id)TEGRA_CLK_PLLS) { in clock_start_pll() 263 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout, unsigned rate) in clock_set_pllout() 310 enum clock_id parent) in clock_get_periph_rate() 425 enum clock_id clock_get_periph_parent(enum periph_id periph_id) in clock_get_periph_parent() 440 enum clock_id parent, unsigned rate, int *extra_div) in clock_adjust_periph_pll_div() [all …]
|
/external/u-boot/arch/arm/include/asm/arch-mx8m/ |
D | clock.h | 642 int clock_root_enabled(enum clk_root_index clock_id); 643 int clock_root_cfg(enum clk_root_index clock_id, enum root_pre_div pre_div, 645 int clock_set_target_val(enum clk_root_index clock_id, u32 val); 646 int clock_get_target_val(enum clk_root_index clock_id, u32 *val); 647 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div); 648 int clock_get_postdiv(enum clk_root_index clock_id, 650 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src);
|
/external/ltp/testcases/kernel/timers/include/ |
D | common_timers.h | 41 const char *get_clock_str(const int clock_id) in get_clock_str() argument 43 switch(clock_id) { in get_clock_str()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep2/ |
D | clock_nanosleep2_01.c | 34 static int clock_nanosleep2(clockid_t clock_id, int flags, in clock_nanosleep2() argument 37 return tst_syscall(__NR_clock_nanosleep, clock_id, flags, req, rem); in clock_nanosleep2()
|
/external/wpa_supplicant_8/src/utils/ |
D | os_unix.c | 76 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 78 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 80 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 89 res = clock_gettime(clock_id, &ts); in os_get_reltime() 95 switch (clock_id) { in os_get_reltime() 98 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 103 clock_id = CLOCK_REALTIME; in os_get_reltime()
|
/external/u-boot/arch/arm/mach-bcm283x/ |
D | msg.c | 67 int bcm2835_get_mmc_clock(u32 clock_id) in bcm2835_get_mmc_clock() argument 78 msg_clk->get_clock_rate.body.req.clock_id = clock_id; in bcm2835_get_mmc_clock()
|
/external/u-boot/drivers/clk/tegra/ |
D | tegra-car-clk.c | 41 enum clock_id parent; in tegra_car_clk_get_rate() 52 enum clock_id parent; in tegra_car_clk_set_rate()
|
/external/syzkaller/sys/netbsd/ |
D | sys.txt | 100 clock_gettime(id flags[clock_id], tp ptr[out, timespec]) 101 clock_settime(id flags[clock_id], tp ptr[in, timespec]) 102 clock_getres(id flags[clock_id], tp ptr[out, timespec]) 103 clock_nanosleep(id flags[clock_id], flags flags[timer_flags], rqtp ptr[in, timespec], rmtp ptr[out,… 194 clock_id = CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID, CLOC…
|
/external/syzkaller/sys/freebsd/ |
D | sys.txt | 108 clock_gettime(id flags[clock_id], tp ptr[out, timespec]) 109 clock_settime(id flags[clock_id], tp ptr[in, timespec]) 110 clock_getres(id flags[clock_id], tp ptr[out, timespec]) 111 clock_nanosleep(id flags[clock_id], flags flags[timer_flags], rqtp ptr[in, timespec], rmtp ptr[out,… 208 clock_id = CLOCK_REALTIME, CLOCK_MONOTONIC, CLOCK_PROCESS_CPUTIME_ID, CLOCK_THREAD_CPUTIME_ID
|
/external/u-boot/arch/arm/mach-bcm283x/include/mach/ |
D | msg.h | 23 int bcm2835_get_mmc_clock(u32 clock_id);
|
D | mbox.h | 242 u32 clock_id; member 245 u32 clock_id; member
|
/external/u-boot/arch/arm/include/asm/arch-tegra20/ |
D | clock-tables.h | 13 enum clock_id { enum
|
/external/u-boot/arch/arm/mach-tegra/tegra20/ |
D | clock.c | 60 static enum clock_id clock_source[CLOCK_TYPE_COUNT][CLOCK_MAX_MUX] = { 447 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() 479 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source()
|
/external/u-boot/arch/arm/mach-tegra/tegra114/ |
D | clock.c | 63 static enum clock_id clock_source[CLOCK_TYPE_COUNT][CLOCK_MAX_MUX+1] = { 524 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() 556 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source()
|
/external/u-boot/arch/arm/mach-tegra/tegra30/ |
D | clock.c | 63 static enum clock_id clock_source[CLOCK_TYPE_COUNT][CLOCK_MAX_MUX+1] = { 504 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() 536 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source()
|