/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | gsttestclock.c | 38 GstClockID clock_id; member 76 gst_clock_id_wait (ctx->clock_id, &ctx->jitter); in test_wait_pending_single_shot_id_sync_worker() 84 GstClockID clock_id = data; in test_wait_pending_single_shot_id_async_worker() local 87 gst_clock_id_wait_async (clock_id, test_async_wait_cb, NULL, NULL); in test_wait_pending_single_shot_id_async_worker() 95 GstClockID clock_id = data; in test_wait_pending_periodic_id_waiter_thread() local 96 gst_clock_id_wait (clock_id, NULL); in test_wait_pending_periodic_id_waiter_thread() 270 GstClockID clock_id; in GST_START_TEST() local 279 clock_id = gst_clock_new_single_shot_id (clock, GST_SECOND - 1); in GST_START_TEST() 280 context.clock_id = gst_clock_id_ref (clock_id); in GST_START_TEST() 286 assert_pending_id (pending_id, clock_id, GST_CLOCK_ENTRY_SINGLE, in GST_START_TEST() [all …]
|
/third_party/uboot/u-boot-2020.01/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 …]
|
/third_party/uboot/u-boot-2020.01/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 …]
|
/third_party/uboot/u-boot-2020.01/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 …]
|
/third_party/gstreamer/gstplugins_base/tests/icles/ |
D | audio-trickplay.c | 55 GstClockID clock_id; in main() local 175 clock_id = in main() 182 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 186 gst_clock_id_unref (clock_id); in main() 198 clock_id = in main() 201 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 204 gst_clock_id_unref (clock_id); in main() 216 clock_id = in main() 219 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 222 gst_clock_id_unref (clock_id); in main() [all …]
|
/third_party/boost/boost/chrono/detail/inlined/posix/ |
D | thread_clock.hpp | 36 clockid_t clock_id; in now() 37 pthread_getcpuclockid(pth, &clock_id); in now() 39 if ( ::clock_gettime( clock_id, &ts ) ) in now() 62 clockid_t clock_id; in now() 63 pthread_getcpuclockid(pth, &clock_id); in now() 65 if ( ::clock_gettime( clock_id, &ts ) ) in now()
|
/third_party/ltp/lib/ |
D | tst_timer.c | 16 static clockid_t clock_id; variable 34 clock_id = clk_id; in tst_timer_start() 36 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start() 44 if (tst_clock_gettime(clock_id, &cur_time)) in tst_timer_expired_ms() 52 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
|
/third_party/mingw-w64/mingw-w64-libraries/winpthreads/src/ |
D | clock.c | 53 int clock_getres(clockid_t clock_id, struct timespec *res) in clock_getres() argument 55 switch(clock_id) { in clock_getres() 109 int clock_gettime(clockid_t clock_id, struct timespec *tp) in clock_gettime() argument 118 switch(clock_id) { in clock_gettime() 187 int clock_nanosleep(clockid_t clock_id, int flags, in clock_nanosleep() argument 193 if (clock_id != CLOCK_REALTIME) in clock_nanosleep() 220 int clock_settime(clockid_t clock_id, const struct timespec *tp) in clock_settime() argument 229 if (clock_id != CLOCK_REALTIME) in clock_settime()
|
D | cond.c | 130 pthread_condattr_getclock (const pthread_condattr_t *a, clockid_t *clock_id) in pthread_condattr_getclock() argument 132 if (!a || !clock_id) in pthread_condattr_getclock() 134 *clock_id = 0; in pthread_condattr_getclock() 139 pthread_condattr_setclock(pthread_condattr_t *a, clockid_t clock_id) in pthread_condattr_setclock() argument 141 if (!a || clock_id != 0) in pthread_condattr_setclock() 147 __pthread_clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *rqtp, in __pthread_clock_nanosleep() argument 154 if (clock_id != CLOCK_REALTIME in __pthread_clock_nanosleep() 155 && clock_id != CLOCK_MONOTONIC in __pthread_clock_nanosleep() 156 && clock_id != CLOCK_PROCESS_CPUTIME_ID) in __pthread_clock_nanosleep()
|
/third_party/mingw-w64/mingw-w64-libraries/winpthreads/include/ |
D | pthread_time.h | 86 int __cdecl WINPTHREAD_API clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *re… 87 int __cdecl WINPTHREAD_API clock_getres(clockid_t clock_id, struct timespec *res); 88 int __cdecl WINPTHREAD_API clock_gettime(clockid_t clock_id, struct timespec *tp); 89 int __cdecl WINPTHREAD_API clock_settime(clockid_t clock_id, const struct timespec *tp);
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-imx/imx8m/ |
D | clock_slice.c | 543 static int select(enum clk_root_index clock_id) in select() argument 551 if (clock_id == p->entry) in select() 597 int clock_get_target_val(enum clk_root_index clock_id, u32 *val) in clock_get_target_val() argument 603 if (clock_id >= CLK_ROOT_MAX) in clock_get_target_val() 606 root_entry = select(clock_id); in clock_get_target_val() 620 int clock_set_target_val(enum clk_root_index clock_id, u32 val) in clock_set_target_val() argument 626 if (clock_id >= CLK_ROOT_MAX) in clock_set_target_val() 629 root_entry = select(clock_id); in clock_set_target_val() 643 int clock_root_enabled(enum clk_root_index clock_id) in clock_root_enabled() argument 650 if (clock_id >= CLK_ROOT_MAX) in clock_root_enabled() [all …]
|
/third_party/uboot/u-boot-2020.01/arch/arm/include/asm/arch-imx8m/ |
D | clock.h | 262 int clock_root_enabled(enum clk_root_index clock_id); 263 int clock_root_cfg(enum clk_root_index clock_id, enum root_pre_div pre_div, 265 int clock_set_target_val(enum clk_root_index clock_id, u32 val); 266 int clock_get_target_val(enum clk_root_index clock_id, u32 *val); 267 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div); 268 int clock_get_postdiv(enum clk_root_index clock_id, 270 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src);
|
/third_party/gstreamer/gstreamer/tests/examples/controller/ |
D | absolute-example.c | 24 GstClockID clock_id; in main() local 79 clock_id = in main() 84 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 91 gst_clock_id_unref (clock_id); in main()
|
D | audio-example.c | 23 GstClockID clock_id; in main() local 77 clock_id = in main() 82 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 89 gst_clock_id_unref (clock_id); in main()
|
D | text-color-example.c | 25 GstClockID clock_id; in main() local 99 clock_id = in main() 104 if ((wait_ret = gst_clock_id_wait (clock_id, NULL)) != GST_CLOCK_OK) { in main() 111 gst_clock_id_unref (clock_id); in main()
|
/third_party/uboot/u-boot-2020.01/arch/arm/mach-tegra/ |
D | clock.c | 72 static struct clk_pll *get_pll(enum clock_id clkid) in get_pll() 78 if (clkid >= (enum clock_id)TEGRA_CLK_PLLS) { in get_pll() 85 __weak struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() 90 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, in clock_ll_read_pll() 114 unsigned long clock_start_pll(enum clock_id clkid, u32 divm, u32 divn, in clock_start_pll() 122 if (clkid < (enum clock_id)TEGRA_CLK_PLLS) { in clock_start_pll() 264 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout, unsigned rate) in clock_set_pllout() 311 enum clock_id parent) in clock_get_periph_rate() 426 enum clock_id clock_get_periph_parent(enum periph_id periph_id) in clock_get_periph_parent() 441 enum clock_id parent, unsigned rate, int *extra_div) in clock_adjust_periph_pll_div() [all …]
|
/third_party/musl/src/linux/ |
D | clock_adjtime.c | 37 int clock_adjtime (clockid_t clock_id, struct timex *utx) in clock_adjtime() argument 66 r = __syscall(SYS_clock_adjtime, clock_id, &ktx); in clock_adjtime() 121 if (clock_id==CLOCK_REALTIME) r = __syscall(SYS_adjtimex, &ktx); in clock_adjtime() 124 r = __syscall(SYS_clock_adjtime, clock_id, &ktx); in clock_adjtime() 151 if (clock_id==CLOCK_REALTIME) return syscall(SYS_adjtimex, utx); in clock_adjtime() 153 return syscall(SYS_clock_adjtime, clock_id, utx); in clock_adjtime()
|
/third_party/ltp/include/lapi/ |
D | common_timers.h | 37 static inline const char *get_clock_str(const int clock_id) in get_clock_str() argument 39 switch (clock_id) { in get_clock_str()
|
/third_party/gstreamer/gstplugins_good/tests/examples/spectrum/ |
D | demo-osssrc.c | 135 GstClockID clock_id; in message_handler() local 148 clock_id = in message_handler() 150 gst_clock_id_wait_async (clock_id, delayed_spectrum_update, in message_handler() 152 gst_clock_id_unref (clock_id); in message_handler()
|
D | demo-audiotest.c | 182 GstClockID clock_id; in message_handler() local 195 clock_id = in message_handler() 197 gst_clock_id_wait_async (clock_id, delayed_spectrum_update, in message_handler() 199 gst_clock_id_unref (clock_id); in message_handler()
|
/third_party/libuv/src/unix/ |
D | linux-core.c | 124 clock_t clock_id; in uv__hrtime() local 134 clock_id = CLOCK_MONOTONIC; in uv__hrtime() 138 clock_id = uv__load_relaxed(&fast_clock_id); in uv__hrtime() 139 if (clock_id != -1) in uv__hrtime() 142 clock_id = CLOCK_MONOTONIC; in uv__hrtime() 145 clock_id = CLOCK_MONOTONIC_COARSE; in uv__hrtime() 147 uv__store_relaxed(&fast_clock_id, clock_id); in uv__hrtime() 151 if (clock_gettime(clock_id, &t)) in uv__hrtime()
|
/third_party/uboot/u-boot-2020.01/drivers/clk/ |
D | clk_versal.c | 200 static int versal_pm_clock_get_name(u32 clock_id, char *name) in versal_pm_clock_get_name() argument 207 qdata.arg1 = clock_id; in versal_pm_clock_get_name() 217 static int versal_pm_clock_get_topology(u32 clock_id, u32 index, u32 *topology) in versal_pm_clock_get_topology() argument 224 qdata.arg1 = clock_id; in versal_pm_clock_get_topology() 233 static int versal_pm_clock_get_parents(u32 clock_id, u32 index, u32 *parents) in versal_pm_clock_get_parents() argument 240 qdata.arg1 = clock_id; in versal_pm_clock_get_parents() 249 static int versal_pm_clock_get_attributes(u32 clock_id, u32 *attr) in versal_pm_clock_get_attributes() argument 256 qdata.arg1 = clock_id; in versal_pm_clock_get_attributes()
|
/third_party/uboot/u-boot-2020.01/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
D | os_unix.c | 74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 78 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 87 res = clock_gettime(clock_id, &ts); in os_get_reltime() 93 switch (clock_id) { in os_get_reltime() 96 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 101 clock_id = CLOCK_REALTIME; in os_get_reltime()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
D | os_unix.c | 74 static clockid_t clock_id = CLOCK_BOOTTIME; in os_get_reltime() local 76 static clockid_t clock_id = CLOCK_MONOTONIC; in os_get_reltime() 78 static clockid_t clock_id = CLOCK_REALTIME; in os_get_reltime() 87 res = clock_gettime(clock_id, &ts); in os_get_reltime() 93 switch (clock_id) { in os_get_reltime() 96 clock_id = CLOCK_MONOTONIC; in os_get_reltime() 101 clock_id = CLOCK_REALTIME; in os_get_reltime()
|