Home
last modified time | relevance | path

Searched refs:uint64_t (Results 101 – 125 of 879) sorted by relevance

12345678910>>...36

/Zephyr-latest/include/zephyr/drivers/
Dpwm.h411 uint32_t channel, uint64_t *cycles);
509 uint64_t *cycles);
513 uint64_t *cycles) in z_impl_pwm_get_cycles_per_sec()
541 uint64_t pulse_cycles; in pwm_set()
542 uint64_t period_cycles; in pwm_set()
543 uint64_t cycles_per_sec; in pwm_set()
624 uint32_t cycles, uint64_t *usec) in pwm_cycles_to_usec()
627 uint64_t temp; in pwm_cycles_to_usec()
628 uint64_t cycles_per_sec; in pwm_cycles_to_usec()
635 if (u64_mul_overflow(cycles, (uint64_t)USEC_PER_SEC, &temp)) { in pwm_cycles_to_usec()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/
Dbs_sync.c63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint()
71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint()
73 uint8_t data[sizeof(uint64_t)]; in bs_bc_recv_uint()
81 static uint64_t counter; in bt_testlib_bs_sync_all()
88 uint64_t counter_cfm; in bt_testlib_bs_sync_all()
97 uint64_t counter_cfm; in bt_testlib_bs_sync_all()
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/
Dbs_sync.c63 void bs_bc_send_uint(uint ch, uint64_t data) in bs_bc_send_uint()
71 uint64_t bs_bc_recv_uint(uint ch) in bs_bc_recv_uint()
73 uint8_t data[sizeof(uint64_t)]; in bs_bc_recv_uint()
81 static uint64_t counter; in bt_testlib_bs_sync_all()
88 uint64_t counter_cfm; in bt_testlib_bs_sync_all()
97 uint64_t counter_cfm; in bt_testlib_bs_sync_all()
/Zephyr-latest/include/zephyr/arch/common/
Dsys_io.h53 static ALWAYS_INLINE uint64_t sys_read64(mem_addr_t addr) in sys_read64()
55 return *(volatile uint64_t *)addr; in sys_read64()
58 static ALWAYS_INLINE void sys_write64(uint64_t data, mem_addr_t addr) in sys_write64()
60 *(volatile uint64_t *)addr = data; in sys_write64()
/Zephyr-latest/samples/boards/nordic/clock_skew/src/
Dmain.c20 static uint64_t counter_ref;
25 uint64_t local_to_us(uint64_t local) in local_to_us()
32 uint64_t ref_to_us(uint64_t ref) in ref_to_us()
39 static const char *us_to_text_r(uint64_t rem, char *buf, size_t len) in us_to_text_r()
67 static const char *us_to_text(uint64_t rem) in us_to_text()
124 uint64_t ref_span_us; in sync_work_handler()
140 uint64_t err_us; in sync_work_handler()
141 uint64_t local_span_us; in sync_work_handler()
166 uint64_t rec_ref; in sync_work_handler()
174 uint64_t err_us; in sync_work_handler()
/Zephyr-latest/subsys/bluetooth/audio/
Dmpl_internal.h49 uint64_t id;
55 uint64_t segments_id;
64 uint64_t id;
77 uint64_t icon_id;
89 uint64_t search_results_id;
/Zephyr-latest/arch/x86/include/intel64/
Dkernel_arch_data.h25 uint64_t sp; /* initial stack pointer */
48 .ist2 = (uint64_t)z_x86_trampoline_stack##n + Z_X86_TRAMPOLINE_STACK_SIZE,
61 .ist6 = (uint64_t)z_x86_nmi_stack##n + CONFIG_X86_EXCEPTION_STACK_SIZE, \
62 .ist7 = (uint64_t)z_x86_exception_stack##n + CONFIG_X86_EXCEPTION_STACK_SIZE, \
70 .sp = (uint64_t)z_interrupt_stacks[n] + \
/Zephyr-latest/scripts/native_simulator/native/src/include/
Dnsi_timer_model.h20 void hwtimer_wake_in_time(uint64_t time);
22 void hwtimer_enable(uint64_t period);
32 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
/Zephyr-latest/arch/arm64/core/
Dsmp.c38 uint64_t mpid;
55 const uint64_t cpu_node_list[] = {
60 static uint64_t cpu_map[CONFIG_MP_MAX_NUM_CPUS] = {
72 uint64_t cpu_mpid = 0; in arch_cpu_start()
73 uint64_t master_core_mpid; in arch_cpu_start()
109 if (pm_cpu_on(cpu_mpid, (uint64_t)&__start)) { in arch_cpu_start()
191 uint64_t mpidr = MPIDR_TO_CORE(GET_MPIDR()); in send_ipi()
203 uint64_t target_mpidr = cpu_map[i]; in send_ipi()
265 const uint64_t mpidr = cpu_map[cpu]; in arch_flush_fpu_ipi()
/Zephyr-latest/boards/native/native_posix/
Dtimer_model.h21 void hwtimer_wake_in_time(uint64_t time);
23 void hwtimer_enable(uint64_t period);
33 void hwtimer_get_pseudohost_rtc_time(uint32_t *nsec, uint64_t *sec);
/Zephyr-latest/subsys/net/lib/prometheus/
Dcounter.c17 int prometheus_counter_add(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_add()
28 int prometheus_counter_set(struct prometheus_counter *counter, uint64_t value) in prometheus_counter_set()
30 uint64_t old_value; in prometheus_counter_set()
/Zephyr-latest/samples/basic/hash_map/src/
Dmain.c17 uint64_t n_insert;
18 uint64_t n_remove;
19 uint64_t n_replace;
20 uint64_t n_error;
21 uint64_t n_miss;
/Zephyr-latest/include/zephyr/bluetooth/audio/
Dmcc.h72 typedef void (*bt_mcc_read_icon_obj_id_cb)(struct bt_conn *conn, int err, uint64_t icon_id);
185 typedef void (*bt_mcc_read_segments_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
196 typedef void (*bt_mcc_read_current_track_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
207 typedef void (*bt_mcc_set_current_track_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
218 typedef void (*bt_mcc_read_next_track_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
229 typedef void (*bt_mcc_set_next_track_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
240 typedef void (*bt_mcc_read_parent_group_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
251 typedef void (*bt_mcc_read_current_group_obj_id_cb)(struct bt_conn *conn, int err, uint64_t id);
262 typedef void (*bt_mcc_set_current_group_obj_id_cb)(struct bt_conn *conn, int err, uint64_t obj_id);
389 int err, uint64_t id);
[all …]
/Zephyr-latest/lib/hash/
Dhash_map_oa_lp.c25 uint64_t key;
26 uint64_t value;
37 static struct oalp_entry *sys_hashmap_oa_lp_find(const struct sys_hashmap *map, uint64_t key, in sys_hashmap_oa_lp_find()
76 static int sys_hashmap_oa_lp_insert_no_rehash(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert_no_rehash()
77 uint64_t *old_value) in sys_hashmap_oa_lp_insert_no_rehash()
234 static inline int sys_hashmap_oa_lp_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_oa_lp_insert()
235 uint64_t *old_value) in sys_hashmap_oa_lp_insert()
247 static bool sys_hashmap_oa_lp_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_remove()
271 static bool sys_hashmap_oa_lp_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_oa_lp_get()
Dhash_map_sc.c20 uint64_t key;
21 uint64_t value;
25 static void sys_hashmap_sc_entry_init(struct sys_hashmap_sc_entry *entry, uint64_t key, in sys_hashmap_sc_entry_init()
26 uint64_t value) in sys_hashmap_sc_entry_init()
109 static struct sys_hashmap_sc_entry *sys_hashmap_sc_find(const struct sys_hashmap *map, uint64_t key) in sys_hashmap_sc_find()
220 static int sys_hashmap_sc_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_sc_insert()
221 uint64_t *old_value) in sys_hashmap_sc_insert()
253 static bool sys_hashmap_sc_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_sc_remove()
280 static bool sys_hashmap_sc_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_sc_get()
/Zephyr-latest/include/zephyr/xen/public/
Darch-arm.h173 #define uint64_aligned_t uint64_t __aligned(8)
204 typedef uint64_t xen_pfn_t;
214 typedef uint64_t xen_ulong_t;
221 uint64_t n64; \
226 #define __DECL_REG(n64, n32) uint64_t n64
284 uint64_t sp_el0;
285 uint64_t sp_el1, elr_el1;
299 uint64_t sctlr;
300 uint64_t ttbcr, ttbr0, ttbr1;
347 typedef uint64_t xen_callback_t;
/Zephyr-latest/drivers/timer/
Dmtk_adsp_timer.c77 static uint64_t last_announce;
84 uint64_t sys_clock_cycle_get_64(void) in sys_clock_cycle_get_64()
94 return (((uint64_t)h0) << 32) | l; in sys_clock_cycle_get_64()
100 uint64_t now = sys_clock_cycle_get_64(); in sys_clock_set_timeout()
101 uint64_t end = now + CLAMP(ticks - 1, 0, MAX_TICKS) * OST64_PER_TICK; in sys_clock_set_timeout()
140 uint64_t dcyc = sys_clock_cycle_get_64() - last_announce; in timer_isr()
141 uint64_t ticks = dcyc / OST64_PER_TICK; in timer_isr()
Dmcux_os_timer.c23 #define CYC_PER_TICK ((uint32_t)((uint64_t)sys_clock_hw_cycles_per_sec() \
24 / (uint64_t)CONFIG_SYS_CLOCK_TICKS_PER_SEC))
32 static uint64_t last_count;
38 static uint64_t cyc_sys_compensated;
43 static uint64_t mcux_lpc_ostick_get_compensated_timer_value(void) in mcux_lpc_ostick_get_compensated_timer_value()
53 uint64_t now = mcux_lpc_ostick_get_compensated_timer_value(); in mcux_lpc_ostick_isr()
62 uint64_t next = last_count + CYC_PER_TICK; in mcux_lpc_ostick_isr()
202 uint64_t now = mcux_lpc_ostick_get_compensated_timer_value(); in sys_clock_set_timeout()
243 uint64_t sys_clock_cycle_get_64(void) in sys_clock_cycle_get_64()
/Zephyr-latest/subsys/bluetooth/mesh/
Dfriend.h19 uint64_t *seq_auth, uint8_t seg_count);
23 const uint64_t *seq_auth, uint8_t seg_count,
27 const uint64_t *seq_auth, uint8_t seg_count,
31 uint16_t dst, uint64_t *seq_auth);
/Zephyr-latest/subsys/net/lib/ptp/
Dclock.h119 void ptp_clock_synchronize(uint64_t ingress, uint64_t egress);
127 void ptp_clock_delay(uint64_t egress, uint64_t ingress);
/Zephyr-latest/drivers/watchdog/
Dwdt_opentitan.c91 const uint64_t max_window = (uint64_t) UINT32_MAX * 1000 / dev_cfg->clk_freq; in ot_aontimer_install_timeout()
92 uint64_t bite_thold; in ot_aontimer_install_timeout()
95 uint64_t bark_thold; in ot_aontimer_install_timeout()
99 (uint64_t) bite->window.min > max_window) { in ot_aontimer_install_timeout()
111 if (cfg->window.min > cfg->window.max || (uint64_t) cfg->window.min > max_window) { in ot_aontimer_install_timeout()
127 bark_thold = ((uint64_t) cfg->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
128 bite_thold = ((uint64_t) bite->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
140 bite_thold = ((uint64_t) cfg->window.max * dev_cfg->clk_freq / 1000); in ot_aontimer_install_timeout()
/Zephyr-latest/arch/arm64/core/cortex_r/
Darm_mpu.c77 uint64_t type; in get_num_regions()
96 uint64_t val; in arm_core_mpu_enable()
110 uint64_t val; in arm_core_mpu_disable()
134 uint64_t mair = MPU_MAIR_ATTRS; in mpu_init()
146 static ALWAYS_INLINE void mpu_set_region(uint32_t rnr, uint64_t rbar, in mpu_set_region()
147 uint64_t rlar) in mpu_set_region()
181 uint64_t rbar = region_conf->base & MPU_RBAR_BASE_Msk; in region_init()
182 uint64_t rlar = (region_conf->limit - 1) & MPU_RLAR_LIMIT_Msk; in region_init()
263 uint64_t val; in z_arm64_mm_init()
351 uint64_t val; in arm_core_mpu_background_region_enable()
[all …]
/Zephyr-latest/tests/boards/native_sim/rtc/src/
Dmain.c20 static char *us_time_to_str(char *dest, uint64_t time) in us_time_to_str()
50 extern uint64_t get_host_us_time(void); in ZTEST()
51 uint64_t time; in ZTEST()
53 uint64_t end_time, start_time; in ZTEST()
55 uint64_t start_rtc_time[3]; in ZTEST()
149 uint64_t start_rtc_time[2]; in ZTEST()
/Zephyr-latest/tests/drivers/flash_api/src/
Dmain.c22 uint64_t size;
29 static int some_get_size(const struct device *dev, uint64_t *size) in some_get_size()
38 static int enotsup_get_size(const struct device *dev, uint64_t *size) in enotsup_get_size()
85 uint64_t size = 0; in ZTEST()
/Zephyr-latest/include/zephyr/sys/
Dhash_map.h186 static inline int sys_hashmap_insert(struct sys_hashmap *map, uint64_t key, uint64_t value, in sys_hashmap_insert()
187 uint64_t *old_value) in sys_hashmap_insert()
204 static inline bool sys_hashmap_remove(struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_remove()
221 static inline bool sys_hashmap_get(const struct sys_hashmap *map, uint64_t key, uint64_t *value) in sys_hashmap_get()
235 static inline bool sys_hashmap_contains_key(const struct sys_hashmap *map, uint64_t key) in sys_hashmap_contains_key()

12345678910>>...36