/Zephyr-latest/scripts/native_simulator/common/src/ |
D | nsi_hw_scheduler.c | 24 uint64_t nsi_simu_time; /* The actual time as known by the HW models */ 25 static uint64_t end_of_time = NSI_NEVER; /* When will this device stop */ 33 static uint64_t next_timer_time; 83 (uint64_t)next_timer_time, in nsi_hws_sleep_until_next_event() 84 (uint64_t)nsi_simu_time, in nsi_hws_sleep_until_next_event() 114 uint64_t nsi_hws_get_next_event_time(void) in nsi_hws_get_next_event_time() 139 void nsi_hws_set_end_of_time(uint64_t new_end_of_time) in nsi_hws_set_end_of_time()
|
/Zephyr-latest/arch/arm64/core/ |
D | mmu.c | 32 static uint64_t xlat_tables[CONFIG_MAX_XLAT_TABLES * Ln_XLAT_NUM_ENTRIES] 33 __aligned(Ln_XLAT_NUM_ENTRIES * sizeof(uint64_t)); 42 static uint64_t *new_table(void) in new_table() 44 uint64_t *table; in new_table() 61 static inline unsigned int table_index(uint64_t *pte) in table_index() 70 static int table_usage(uint64_t *table, int adjustment) in table_usage() 92 static inline void inc_table_ref(uint64_t *table) in inc_table_ref() 97 static inline void dec_table_ref(uint64_t *table) in dec_table_ref() 104 static inline bool is_table_unused(uint64_t *table) in is_table_unused() 109 static inline bool is_table_single_referenced(uint64_t *table) in is_table_single_referenced() [all …]
|
D | reset.c | 70 uint64_t reg; in z_arm64_el3_init() 73 write_vbar_el3((uint64_t)_vector_table); in z_arm64_el3_init() 122 uint64_t reg; in z_arm64_el2_init() 171 uint64_t reg; in z_arm64_el1_init() 174 write_vbar_el1((uint64_t)_vector_table); in z_arm64_el1_init() 189 write_cntv_cval_el0(~(uint64_t)0); in z_arm64_el1_init() 202 void z_arm64_el3_get_next_el(uint64_t switch_addr) in z_arm64_el3_get_next_el() 204 uint64_t spsr; in z_arm64_el3_get_next_el()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/hal/RV32M1/ |
D | ticker.h | 35 ((uint32_t)(((uint64_t) (x) * HAL_TICKER_FSEC_PER_USEC) / \ 45 DIV_ROUND_UP(((uint64_t) (x) * HAL_TICKER_FSEC_PER_USEC), \ 53 ((uint32_t)(((uint64_t)(x) * HAL_TICKER_CNTR_CLK_UNIT_FSEC) / \ 61 ((uint64_t) (x) * HAL_TICKER_FSEC_PER_USEC) \ 62 - ((uint64_t)HAL_TICKER_US_TO_TICKS(x) * \
|
/Zephyr-latest/scripts/native_simulator/common/src/include/ |
D | nsi_hw_scheduler.h | 19 static inline uint64_t nsi_hws_get_time(void) in nsi_hws_get_time() 21 extern uint64_t nsi_simu_time; in nsi_hws_get_time() 29 void nsi_hws_set_end_of_time(uint64_t new_end_of_time); 31 uint64_t nsi_hws_get_next_event_time(void);
|
/Zephyr-latest/scripts/native_simulator/native/src/include/ |
D | hw_counter.h | 23 void hw_counter_set_period(uint64_t period); 24 void hw_counter_set_target(uint64_t counter_target); 25 void hw_counter_set_wrap_value(uint64_t wrap_value); 29 uint64_t hw_counter_get_value(void);
|
/Zephyr-latest/boards/native/native_posix/ |
D | hw_counter.h | 19 void hw_counter_set_period(uint64_t period); 20 void hw_counter_set_target(uint64_t counter_target); 21 void hw_counter_set_wrap_value(uint64_t wrap_value); 25 uint64_t hw_counter_get_value(void);
|
/Zephyr-latest/lib/net_buf/ |
D | buf_simple.c | 130 void net_buf_simple_add_le40(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_le40() 137 void net_buf_simple_add_be40(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_be40() 144 void net_buf_simple_add_le48(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_le48() 151 void net_buf_simple_add_be48(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_be48() 158 void net_buf_simple_add_le64(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_le64() 165 void net_buf_simple_add_be64(struct net_buf_simple *buf, uint64_t val) in net_buf_simple_add_be64() 263 uint64_t net_buf_simple_remove_le40(struct net_buf_simple *buf) in net_buf_simple_remove_le40() 266 uint64_t u40: 40; in net_buf_simple_remove_le40() 276 uint64_t net_buf_simple_remove_be40(struct net_buf_simple *buf) in net_buf_simple_remove_be40() 279 uint64_t u40: 40; in net_buf_simple_remove_be40() [all …]
|
/Zephyr-latest/arch/arc/core/ |
D | timestamp.c | 26 uint64_t z_tsc_read(void) in z_tsc_read() 29 uint64_t t; in z_tsc_read() 33 t = (uint64_t)sys_clock_tick_get(); in z_tsc_read() 37 t += (uint64_t)count; in z_tsc_read()
|
/Zephyr-latest/include/zephyr/arch/x86/ |
D | intel_vtd.h | 90 #define VTD_CAP_NFR_MASK ((uint64_t)0xFFUL << VTD_CAP_NFR_POS) 92 (((uint64_t)cap & VTD_CAP_NFR_MASK) >> VTD_CAP_NFR_POS) 95 #define VTD_CAP_FRO_MASK ((uint64_t)0x3FFUL << VTD_CAP_FRO_POS) 97 (((uint64_t)cap & VTD_CAP_FRO_MASK) >> VTD_CAP_FRO_POS) 129 ((uint64_t)(addr) | (mode) | (size & VTD_IRTA_SIZE_MASK)) 167 #define VTD_FRCD_FR_MASK ((uint64_t)0xFF << VTD_FRCD_FR_POS) 177 #define VTD_FRCD_FI_MASK ((uint64_t)0xFFFFFFFFFFFFF << VTD_FRCD_FI_POS) 182 #define VTD_FRCD_FI_IR_MASK ((uint64_t)0xFFFF << VTD_FRCD_FI_IR_POS) 191 ((uint64_t)0 | (addr) | (width) | (size & VTD_IQA_SIZE_MASK)) 195 #define VTD_IQH_QH_MASK ((uint64_t)0xEF << VTD_IQH_QH_POS_128) [all …]
|
D | msr.h | 58 static inline void z_x86_msr_write(unsigned int msr, uint64_t data) in z_x86_msr_write() 68 static inline uint64_t z_x86_msr_read(unsigned int msr) in z_x86_msr_read() 75 uint64_t value; in z_x86_msr_read() 85 static inline uint64_t z_x86_msr_read(unsigned int msr) in z_x86_msr_read() 87 uint64_t ret; in z_x86_msr_read()
|
/Zephyr-latest/samples/posix/eventfd/src/ |
D | main.c | 28 uint64_t u; in writer() 34 s = write(efd, &u, sizeof(uint64_t)); in writer() 35 if (s != sizeof(uint64_t)) { in writer() 44 uint64_t u; in reader() 50 s = read(efd, &u, sizeof(uint64_t)); in reader() 51 if (s != sizeof(uint64_t)) { in reader()
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | lll_conn_iso.h | 12 uint64_t payload_count:39; /* cisPayloadCounter */ 13 uint64_t phy_flags:1; /* S2 or S8 coding scheme */ 14 uint64_t max_pdu:8; /* Maximum PDU size */ 15 uint64_t ft:8; /* Flush timeout (FT) */ 16 uint64_t bn:4; /* Burst number (BN) */ 17 uint64_t phy:3; /* PHY */ 18 uint64_t rfu0:1; 48 uint64_t event_count:39; /* cisEventCount */
|
D | isoal.h | 44 typedef uint64_t isoal_pdu_cnt_t; 197 uint64_t target_event:39; 279 uint64_t prev_pdu_is_end:1; 280 uint64_t prev_pdu_is_padding:1; 282 uint64_t only_padding:1; 283 uint64_t sdu_allocated:1; 284 uint64_t initialized:1; 394 uint64_t payload_number:39; 395 uint64_t seg_hdr_sc:1; 396 uint64_t seg_hdr_length:8; [all …]
|
/Zephyr-latest/drivers/timer/ |
D | esp32_sys_timer.c | 22 #define CYC_PER_TICK ((uint32_t)((uint64_t)sys_clock_hw_cycles_per_sec() \ 23 / (uint64_t)CONFIG_SYS_CLOCK_TICKS_PER_SEC)) 35 static uint64_t last_count; 40 static void set_systimer_alarm(uint64_t time) in set_systimer_alarm() 54 static uint64_t get_systimer_alarm(void) in get_systimer_alarm() 65 uint64_t now = get_systimer_alarm(); in sys_timer_isr() 67 uint64_t dticks = (uint64_t)((now - last_count) / CYC_PER_TICK); in sys_timer_isr() 72 uint64_t next = last_count + CYC_PER_TICK; in sys_timer_isr() 93 uint64_t now = get_systimer_alarm(); in sys_clock_set_timeout() 132 uint64_t sys_clock_cycle_get_64(void) in sys_clock_cycle_get_64()
|
D | npcx_itim_timer.c | 73 static uint64_t cyc_sys_announced; 74 static uint64_t last_ticks; 80 __unused static uint64_t cyc_sys_compensated; 85 static inline uint64_t npcx_itim_get_sys_cyc64(void) in npcx_itim_get_sys_cyc64() 101 return ((((uint64_t)cnt64h) << 32) | cnt64l) + in npcx_itim_get_sys_cyc64() 104 return (((uint64_t)cnt64h) << 32) | cnt64l; in npcx_itim_get_sys_cyc64() 110 uint64_t cyc_start; in npcx_itim_evt_enable() 151 uint64_t next_cycs; in npcx_itim_start_evt_tmr_by_tick() 152 uint64_t curr = npcx_itim_get_sys_cyc64(); in npcx_itim_start_evt_tmr_by_tick() 153 uint64_t dcycles; in npcx_itim_start_evt_tmr_by_tick() [all …]
|
D | cc13xx_cc26xx_rtc_timer.c | 59 static volatile uint64_t rtc_last; 64 static uint64_t nextThreshold = RTC_COUNTS_PER_TICK; 98 uint64_t newThreshold; in rtc_isr() 101 uint64_t ticks, currCount; in rtc_isr() 110 currCount = (uint64_t)AONRTCCurrent64BitValueGet(); in rtc_isr() 123 next = (uint32_t)((uint64_t)newThreshold >> 16); in rtc_isr() 153 uint64_t period; in startDevice() 202 uint64_t count = AONRTCCurrent64BitValueGet(); in sys_clock_set_timeout() 203 uint64_t timeout = ticks * RTC_COUNTS_PER_TICK + in sys_clock_set_timeout() 232 uint64_t sys_clock_cycle_get_64(void) in sys_clock_cycle_get_64()
|
D | intel_adsp_timer.c | 48 static uint64_t last_count; 63 static void set_compare(uint64_t time) in set_compare() 77 static uint64_t count(void) in count() 92 return (((uint64_t)hi0) << 32) | lo; in count() 106 uint64_t curr; in compare_isr() 107 uint64_t dticks; in compare_isr() 121 uint64_t next = last_count + CYC_PER_TICK; in compare_isr() 143 uint64_t curr = count(); in sys_clock_set_timeout() 144 uint64_t next; in sys_clock_set_timeout() 172 uint64_t ret = (count() - last_count) / CYC_PER_TICK; in sys_clock_elapsed() [all …]
|
/Zephyr-latest/include/zephyr/arch/arm64/ |
D | timer.h | 30 uint64_t cntfrq_el0 = read_cntfrq_el0(); in arm_arch_timer_init() 37 static ALWAYS_INLINE void arm_arch_timer_set_compare(uint64_t val) in arm_arch_timer_set_compare() 44 uint64_t cntv_ctl; in arm_arch_timer_enable() 59 uint64_t cntv_ctl; in arm_arch_timer_set_irq_mask() 72 static ALWAYS_INLINE uint64_t arm_arch_timer_count(void) in arm_arch_timer_count()
|
/Zephyr-latest/include/zephyr/sys/ |
D | timeutil.h | 123 uint64_t ref; 129 uint64_t local; 258 uint64_t local, uint64_t *refp); 282 uint64_t ref, int64_t *localp);
|
D | byteorder.h | 27 #define BSWAP_40(x) ((uint64_t) ((((x) >> 32) & 0xff) | \ 32 #define BSWAP_48(x) ((uint64_t) ((((x) >> 40) & 0xff) | \ 38 #define BSWAP_64(x) ((uint64_t) ((((x) >> 56) & 0xff) | \ 365 static inline void sys_put_be40(uint64_t val, uint8_t dst[5]) in sys_put_be40() 380 static inline void sys_put_be48(uint64_t val, uint8_t dst[6]) in sys_put_be48() 395 static inline void sys_put_be64(uint64_t val, uint8_t dst[8]) in sys_put_be64() 455 static inline void sys_put_le40(uint64_t val, uint8_t dst[5]) in sys_put_le40() 470 static inline void sys_put_le48(uint64_t val, uint8_t dst[6]) in sys_put_le48() 485 static inline void sys_put_le64(uint64_t val, uint8_t dst[8]) in sys_put_le64() 546 static inline uint64_t sys_get_be40(const uint8_t src[5]) in sys_get_be40() [all …]
|
/Zephyr-latest/include/zephyr/drivers/timer/ |
D | nrf_rtc_timer.h | 34 uint64_t expire_time, 56 uint64_t z_nrf_rtc_timer_read(void); 133 int z_nrf_rtc_timer_set(int32_t chan, uint64_t target_time, 162 int z_nrf_rtc_timer_exact_set(int32_t chan, uint64_t target_time, 186 uint64_t z_nrf_rtc_timer_get_ticks(k_timeout_t t);
|
/Zephyr-latest/include/zephyr/drivers/ |
D | edac.h | 52 int (*inject_set_param1)(const struct device *dev, uint64_t value); 53 int (*inject_get_param1)(const struct device *dev, uint64_t *value); 54 int (*inject_set_param2)(const struct device *dev, uint64_t value); 55 int (*inject_get_param2)(const struct device *dev, uint64_t *value); 61 int (*ecc_error_log_get)(const struct device *dev, uint64_t *value); 63 int (*parity_error_log_get)(const struct device *dev, uint64_t *value); 98 uint64_t value) in edac_inject_set_param1() 122 uint64_t *value) in edac_inject_get_param1() 147 uint64_t value) in edac_inject_set_param2() 169 uint64_t *value) in edac_inject_get_param2() [all …]
|
/Zephyr-latest/samples/subsys/zbus/benchmark/src/ |
D | benchmark.c | 55 uint64_t start_ns = GET_ARCH_TIME_NS(); in producer_thread() 57 for (uint64_t internal_count = BYTES_TO_BE_SENT / CONFIG_BM_ONE_TO; internal_count > 0; in producer_thread() 62 uint64_t end_ns = GET_ARCH_TIME_NS(); in producer_thread() 64 uint64_t duration_ns = end_ns - start_ns; in producer_thread() 70 uint64_t i = ((BYTES_TO_BE_SENT * NSEC_PER_SEC) / MB(1)) / duration_ns; in producer_thread() 71 uint64_t f = ((BYTES_TO_BE_SENT * NSEC_PER_SEC * 100) / MB(1) / duration_ns) % 100; in producer_thread()
|
/Zephyr-latest/include/zephyr/drivers/pcie/endpoint/ |
D | pcie_ep.h | 64 int (*map_addr)(const struct device *dev, uint64_t pcie_addr, 65 uint64_t *mapped_addr, uint32_t size, 67 void (*unmap_addr)(const struct device *dev, uint64_t mapped_addr); 74 int (*dma_xfer)(const struct device *dev, uint64_t mapped_addr, 145 uint64_t pcie_addr, in pcie_ep_map_addr() 146 uint64_t *mapped_addr, uint32_t size, in pcie_ep_map_addr() 167 uint64_t mapped_addr) in pcie_ep_unmap_addr() 247 uint64_t mapped_addr, in pcie_ep_dma_xfer() 279 int pcie_ep_xfer_data_memcpy(const struct device *dev, uint64_t pcie_addr, 301 int pcie_ep_xfer_data_dma(const struct device *dev, uint64_t pcie_addr,
|