/freebsd-13-stable/sys/dev/bhnd/cores/chipc/pwrctl/ |
H A D | bhnd_pwrctl.h | 41 * Request that @p clock (or a faster clock) be enabled on behalf of 46 * @param clock Clock requested. 49 * @retval ENODEV If an unsupported clock was requested. 52 bhnd_pwrctl_request_clock(device_t dev, device_t child, bhnd_clock clock) argument 54 return (BHND_PWRCTL_REQUEST_CLOCK(dev, child, clock)); 58 * Return the transition latency required for @p clock in microseconds, if 65 * @param clock The clock to be queried for transition latency. 66 * @param[out] latency On success, the transition latency of @p clock i 73 bhnd_pwrctl_get_clock_latency(device_t dev, bhnd_clock clock, u_int *latency) argument 89 bhnd_pwrctl_get_clock_freq(device_t dev, bhnd_clock clock, u_int *freq) argument [all...] |
H A D | bhnd_pwrctl_private.h | 45 bhnd_clock clock); 50 * If supported by the chipset, return the clock source for the given clock. 53 * that expose clock management via their host bridge interface. Currently, 57 * @param clock The clock for which a clock source will be returned. 59 * @retval bhnd_clksrc The clock source for @p clock. 60 * @retval BHND_CLKSRC_UNKNOWN If @p clock i 64 bhnd_pwrctl_hostb_get_clksrc(device_t dev, bhnd_clock clock) argument 85 bhnd_pwrctl_hostb_gate_clock(device_t dev, bhnd_clock clock) argument 106 bhnd_pwrctl_hostb_ungate_clock(device_t dev, bhnd_clock clock) argument [all...] |
H A D | bhnd_pwrctl.c | 136 /* On devices that lack a slow clock source, HT must always be 177 /* Apply default clock transitions */ 211 /* Update clock state */ 233 /* Update clock state */ 257 /* Restore clock state */ 259 device_printf(sc->dev, "clock state restore failed: %d\n", 270 bhnd_pwrctl_get_clock_latency(device_t dev, bhnd_clock clock, argument 275 switch (clock) { 289 bhnd_pwrctl_get_clock_freq(device_t dev, bhnd_clock clock, u_int *freq) argument 293 switch (clock) { 342 bhnd_clock clock; local 403 bhnd_pwrctl_request_clock(device_t dev, device_t child, bhnd_clock clock) argument [all...] |
/freebsd-13-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i386/funcs/ |
H A D | tst.badcopyout.d | 49 copyout(this->a, (uintptr_t)&`clock, 4); 55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
|
H A D | tst.badcopyoutstr.d | 49 copyoutstr(this->str, (uintptr_t)&`clock, 10); 55 exit(arg4 == DTRACEFLT_BADADDR && arg5 == (uint64_t)&`clock ? 0 : 1);
|
/freebsd-13-stable/sys/contrib/device-tree/include/dt-bindings/clock/ |
H A D | sun7i-a20-ccu.h | 45 #include <dt-bindings/clock/sun4i-a10-ccu.h>
|
H A D | tegra124-car.h | 7 #include <dt-bindings/clock/tegra124-car-common.h>
|
H A D | r7s9210-cpg-mssr.h | 10 #include <dt-bindings/clock/renesas-cpg-mssr.h>
|
H A D | rk3066a-cru.h | 10 #include <dt-bindings/clock/rk3188-cru-common.h>
|
H A D | r8a7742-cpg-mssr.h | 8 #include <dt-bindings/clock/renesas-cpg-mssr.h>
|
H A D | r8a7743-cpg-mssr.h | 8 #include <dt-bindings/clock/renesas-cpg-mssr.h>
|
H A D | r8a7744-cpg-mssr.h | 8 #include <dt-bindings/clock/renesas-cpg-mssr.h>
|
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_timer.h | 63 #define LINUX_CPUCLOCK_WHICH(clock) \ 64 ((clock) & (clockid_t) LINUX_CPUCLOCK_MASK) 73 #define LINUX_CPUCLOCK_ID(clock) ((pid_t) ~((clock) >> 3)) 74 #define LINUX_CPUCLOCK_PERTHREAD(clock) \ 75 (((clock) & (clockid_t) LINUX_CPUCLOCK_PERTHREAD_MASK) != 0)
|
/freebsd-13-stable/sys/dev/quicc/ |
H A D | quicc_bfe_fdt.c | 77 pcell_t clock; local 86 if (OF_getprop(par, "bus-frequency", &clock, sizeof(clock)) <= 0) 87 clock = 0; 89 return (quicc_bfe_probe(dev, (uintptr_t)clock));
|
/freebsd-13-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-clock.h | 81 * Get cycle count based on the clock type. 83 * @param clock - Enumeration of the clock type. 86 static inline uint64_t cvmx_clock_get_count(cvmx_clock_t clock) argument 88 switch(clock) 129 cvmx_dprintf("cvmx_clock_get_count: Unknown clock type\n"); 133 extern uint64_t cvmx_clock_get_rate(cvmx_clock_t clock);
|
/freebsd-13-stable/include/rpcsvc/ |
H A D | spray.x | 61 spraytimeval clock;
|
/freebsd-13-stable/sys/amd64/amd64/ |
H A D | prof_machdep.c | 44 #include <machine/clock.h> 252 int clock; local 255 clock = cputime_clock; 256 error = sysctl_handle_opaque(oidp, &clock, sizeof clock, req); 258 if (clock < 0 || clock > CPUTIME_CLOCK_TSC) 260 cputime_clock = clock;
|
/freebsd-13-stable/lib/libc/softfloat/ |
H A D | timesoftfloat.c | 112 startClock = clock(); 119 } while ( clock() - startClock < CLOCKS_PER_SEC ); 121 startClock = clock(); 126 endClock = clock(); 139 startClock = clock(); 146 } while ( clock() - startClock < CLOCKS_PER_SEC ); 148 startClock = clock(); 153 endClock = clock(); 168 startClock = clock(); 175 } while ( clock() [all...] |
/freebsd-13-stable/contrib/blacklist/port/ |
H A D | clock_gettime.c | 9 clock_gettime(int clock __unused, struct timespec *ts)
|
/freebsd-13-stable/sys/dev/mmc/host/ |
H A D | dwmmc_rockchip.c | 110 unsigned int clock; local 113 if (ios->clock && ios->clock != sc->bus_hz) { 114 sc->bus_hz = clock = ios->clock; 115 /* Set the MMC clock. */ 118 * Apparently you need to set the ciu clock to 121 error = clk_set_freq(sc->ciu, clock * 2, 126 clock, error);
|
/freebsd-13-stable/sys/compat/cloudabi32/ |
H A D | cloudabi32_poll.c | 105 kevp->ident = sub.clock.identifier; 107 if ((sub.clock.flags & 109 sub.clock.timeout > 0) { 112 sub.clock.clock_id, &ts); 115 ts = ts > sub.clock.timeout ? 0 : 116 sub.clock.timeout - ts; 119 ts = sub.clock.timeout; 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, 288 sub[1].clock.timeout, sub[1].clock [all...] |
/freebsd-13-stable/sys/compat/cloudabi64/ |
H A D | cloudabi64_poll.c | 105 kevp->ident = sub.clock.identifier; 107 if ((sub.clock.flags & 109 sub.clock.timeout > 0) { 112 sub.clock.clock_id, &ts); 115 ts = ts > sub.clock.timeout ? 0 : 116 sub.clock.timeout - ts; 119 ts = sub.clock.timeout; 287 sub[0].condvar.lock_scope, sub[1].clock.clock_id, 288 sub[1].clock.timeout, sub[1].clock [all...] |
/freebsd-13-stable/lib/libc/gen/ |
H A D | clock.c | 33 __SCCSID("@(#)clock.c 8.1 (Berkeley) 6/4/93"); 41 * Convert usec to clock ticks; could do (usec * CLOCKS_PER_SEC) / 1000000, 48 clock(void) function
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Headers/openmp_wrappers/ |
H A D | time.h | 28 __DEVICE__ clock_t clock() { return __nvvm_read_ptx_sreg_clock(); } function
|
/freebsd-13-stable/sys/dev/bhnd/cores/pmu/ |
H A D | bhnd_pmu.h | 201 * Return the transition latency required for @p clock in microseconds, if 208 * @param clock The clock to be queried for transition latency. 209 * @param[out] latency On success, the transition latency of @p clock in 213 * @retval ENODEV If the transition latency for @p clock is not available. 216 bhnd_pmu_get_clock_latency(device_t dev, bhnd_clock clock, u_int *latency) argument 218 return (BHND_PMU_GET_CLOCK_LATENCY(dev, clock, latency)); 222 * Return the frequency for @p clock in Hz, if known. 225 * @param clock The clock t 232 bhnd_pmu_get_clock_freq(device_t dev, bhnd_clock clock, u_int *freq) argument [all...] |