/fuchsia/zircon/third_party/ulib/musl/pthread/ |
H A D | pthread_condattr_setclock.c | 3 int pthread_condattr_setclock(pthread_condattr_t* a, clockid_t clk) { argument 4 if (clk < 0 || clk - 2U < 2) 7 a->__attr |= clk;
|
H A D | pthread_attr_get.c | 32 int pthread_condattr_getclock(const pthread_condattr_t* restrict a, clockid_t* restrict clk) { argument 33 *clk = a->__attr & 0x7fffffff;
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | clk.h | 22 static inline zx_status_t clk_enable(clk_protocol_t * clk, const uint32_t index) { argument 23 return clk->ops->enable(clk->ctx, index); 26 static inline zx_status_t clk_disable(clk_protocol_t * clk, const uint32_t index) { argument 27 return clk->ops->disable(clk->ctx, index);
|
/fuchsia/zircon/third_party/ulib/musl/src/time/ |
H A D | clock_settime.c | 4 int clock_settime(clockid_t clk, const struct timespec* ts) { argument
|
H A D | clock_getres.c | 4 int clock_getres(clockid_t clk, struct timespec* ts) { argument
|
H A D | clock_getcpuclockid.c | 5 int clock_getcpuclockid(pid_t pid, clockid_t* clk) { argument
|
H A D | clock_nanosleep.c | 4 int clock_nanosleep(clockid_t clk, int flags, const struct timespec* req, struct timespec* rem) { argument
|
H A D | clock_gettime.c | 11 int __clock_gettime(clockid_t clk, struct timespec* ts) { argument 13 switch (clk) {
|
/fuchsia/zircon/third_party/ulib/musl/src/thread/ |
H A D | __timedwait.c | 7 int __timedwait(atomic_int* futex, int val, clockid_t clk, const struct timespec* at) { argument 11 int ret = __timespec_to_deadline(at, clk, &deadline);
|
/fuchsia/zircon/system/dev/clk/amlogic-clk/ |
H A D | aml-clk.h | 7 #include "aml-clk-blocks.h" 12 #include <ddktl/protocol/clk.h> 17 #include <zircon/device/clk.h> 38 zx_status_t ClkEnable(uint32_t clk); 39 zx_status_t ClkDisable(uint32_t clk); 42 zx_status_t ClkMeasure(uint32_t clk, clk_freq_info_t* info); 55 zx_status_t ClkToggle(uint32_t clk, const bool enable); 59 zx_status_t ClkMeasureUtil(uint32_t clk, uint32_t* clk_freq);
|
H A D | rules.mk | 12 $(LOCAL_DIR)/aml-clk.cpp \ 13 $(LOCAL_DIR)/aml-clk.c \
|
H A D | aml-clk.cpp | 5 #include "aml-clk.h" 31 zxlogf(ERROR, "aml-clk: could not map periph mmio: %d\n", status); 53 zxlogf(ERROR, "aml-clk: could not map periph mmio: %d\n", status); 81 zxlogf(ERROR, "aml-clk: pdev_get_device_info failed\n"); 148 zxlogf(ERROR, "aml-clk: Unsupported SOC DID %u\n", info.pid); 155 zxlogf(ERROR, "aml-clk: failed to get ZX_PROTOCOL_PLATFORM_BUS, " 186 zxlogf(ERROR, "aml-clk: Could not create clock device: %d\n", status); 195 zx_status_t AmlClock::ClkToggle(uint32_t clk, const bool enable) { argument 196 if (clk >= gates_.size()) { 200 const meson_clk_gate_t* gate = &gates_[clk]; 214 ClkEnable(uint32_t clk) argument 222 ClkDisable(uint32_t clk) argument 235 ClkMeasureUtil(uint32_t clk, uint32_t* clk_freq) argument 274 ClkMeasure(uint32_t clk, clk_freq_info_t* info) argument [all...] |
H A D | aml-g12a-blocks.h | 7 #include "aml-clk-blocks.h" 8 #include <soc/aml-meson/g12a-clk.h> 42 // Indexes here, correspond to actual clk mux 43 // values written to measure respective clk.
|
/fuchsia/zircon/system/dev/clk/hisi-lib/ |
H A D | hisi-clk.c | 17 #include <ddk/protocol/clk.h> 22 #include <dev/clk/hisi-lib/hisi.h> 46 clk_protocol_t clk; member in struct:hisi_clk 116 static zx_status_t hisi_clk_enable(void* ctx, uint32_t clk) { argument 117 return hisi_clk_toggle(ctx, clk, true); 120 static zx_status_t hisi_clk_disable(void* ctx, uint32_t clk) { argument 121 return hisi_clk_toggle(ctx, clk, false); 130 hisi_clk_t* clk = ctx; local 131 mmio_buffer_release(&clk->peri_crg_mmio); 132 mmio_buffer_release(&clk [all...] |
H A D | rules.mk | 12 $(LOCAL_DIR)/hisi-clk.c
|
/fuchsia/zircon/system/uapp/clock/ |
H A D | clkctl.c | 14 #include <zircon/device/clk.h> 91 int measure_clk(const char* path, uint32_t idx, bool clk) { argument 105 if (clk) { 128 bool clk = false; local 145 clk = true; 168 err = measure_clk(path, idx, clk);
|
/fuchsia/zircon/third_party/ulib/musl/src/internal/ |
H A D | time_conversion.h | 19 clockid_t clk, zx_time_t* deadline) { 24 if (__clock_gettime(clk, &to)) 18 __timespec_to_deadline(const struct timespec* timespec, clockid_t clk, zx_time_t* deadline) argument
|
/fuchsia/zircon/system/dev/clk/hisi3660/ |
H A D | rules.mk | 12 $(LOCAL_DIR)/hisi3660-clk.c \ 15 system/dev/clk/hisi-lib \
|
/fuchsia/zircon/system/dev/board/gauss/ |
H A D | gauss-pcie.c | 15 #include <soc/aml-meson/axg-clk.h> 59 .clk = CLK_AXG_CLK81, 62 .clk = CLK_AXG_PCIE_A, 65 .clk = CLK_CML0_EN,
|
/fuchsia/zircon/system/dev/board/astro/ |
H A D | astro-thermal.c | 11 #include <soc/aml-meson/g12a-clk.h> 50 .clk = CLK_SYS_PLL_DIV16, 53 .clk = CLK_SYS_CPU_CLK_DIV16,
|
H A D | rules.mk | 25 $(LOCAL_DIR)/astro-clk.c \
|
/fuchsia/zircon/system/dev/pci/amlogic-pcie/ |
H A D | aml-pcie-device.h | 10 #include <ddk/protocol/clk.h>
|
H A D | rules.mk | 12 $(LOCAL_DIR)/aml-pcie-clk.cpp \
|
/fuchsia/zircon/system/dev/board/vim/ |
H A D | rules.mk | 27 $(LOCAL_DIR)/vim-clk.c \
|
/fuchsia/zircon/system/dev/thermal/aml-thermal-s905d2g/ |
H A D | aml-cpufreq.h | 10 #include <ddktl/protocol/clk.h>
|