Home
last modified time | relevance | path

Searched refs:adj (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.7.0/drivers/timer/
Dxtensa_sys_timer.c75 uint32_t curr = ccount(), cyc, adj; in sys_clock_set_timeout() local
79 adj = (curr - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
80 if (cyc <= MAX_CYC - adj) { in sys_clock_set_timeout()
81 cyc += adj; in sys_clock_set_timeout()
Desp32_sys_timer.c94 uint32_t adj, cyc = ticks * CYC_PER_TICK; in sys_clock_set_timeout() local
97 adj = (uint32_t)(now - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
98 if (cyc <= MAX_CYC - adj) { in sys_clock_set_timeout()
99 cyc += adj; in sys_clock_set_timeout()
Dmips_cp0_timer.c80 uint32_t adj = (current_count - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout() local
82 if (delay_wanted <= MAX_CYC - adj) { in sys_clock_set_timeout()
83 delay_wanted += adj; in sys_clock_set_timeout()
Dintel_adsp_timer.c145 uint32_t adj, cyc = ticks * CYC_PER_TICK; in sys_clock_set_timeout() local
148 adj = (uint32_t)(curr - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
149 if (cyc <= MAX_CYC - adj) { in sys_clock_set_timeout()
150 cyc += adj; in sys_clock_set_timeout()
Dmcux_os_timer.c201 uint32_t adj, cyc = ticks * CYC_PER_TICK; in sys_clock_set_timeout() local
204 adj = (uint32_t)(now - last_count) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
205 if (cyc <= MAX_CYC - adj) { in sys_clock_set_timeout()
206 cyc += adj; in sys_clock_set_timeout()
Dmcux_gpt_timer.c140 uint32_t next, adj, now; in sys_clock_set_timeout() local
152 adj = (now - announced_cycles) + (CYC_PER_TICK - 1); in sys_clock_set_timeout()
159 next += adj; in sys_clock_set_timeout()
/Zephyr-Core-3.7.0/samples/drivers/counter/maxim_ds3231/src/
Dmain.c124 struct timespec adj; in min_alarm_handler() local
126 adj.tv_sec = offset_syncclock / syncclock_Hz; in min_alarm_handler()
127 adj.tv_nsec = (offset_syncclock % syncclock_Hz) in min_alarm_handler()
136 ts->tv_sec += adj.tv_sec; in min_alarm_handler()
137 ts->tv_nsec += adj.tv_nsec; in min_alarm_handler()
/Zephyr-Core-3.7.0/samples/drivers/counter/maxim_ds3231/
DREADME.rst103 2019-07-19 06:01:00 Fri 200: adj 0.002000000, uptime 0:01:00.002, clk err 34 ppm
104 2019-07-19 06:02:00 Fri 200: adj 0.003000000, uptime 0:02:00.004, clk err 25 ppm
105 2019-07-19 06:03:00 Fri 200: adj 0.005000000, uptime 0:03:00.005, clk err 28 ppm
106 2019-07-19 06:04:00 Fri 200: adj 0.006000000, uptime 0:04:00.007, clk err 25 ppm
107 2019-07-19 06:05:00 Fri 200: adj 0.008000000, uptime 0:05:00.008, clk err 26 ppm
/Zephyr-Core-3.7.0/drivers/dma/
Ddma_gd32.c86 uint32_t adj; member
427 src_cfg.adj = dma_cfg->head_block->source_addr_adj; in dma_gd32_config()
431 dst_cfg.adj = dma_cfg->head_block->dest_addr_adj; in dma_gd32_config()
453 if (memory_cfg->adj == DMA_ADDR_ADJ_INCREMENT) { in dma_gd32_config()
460 if (periph_cfg->adj == DMA_ADDR_ADJ_INCREMENT) { in dma_gd32_config()
/Zephyr-Core-3.7.0/drivers/flash/
Dnrf_qspi_nor.c579 uint32_t adj = 0; in qspi_erase() local
584 adj = size; in qspi_erase()
589 adj = QSPI_BLOCK_SIZE; in qspi_erase()
594 adj = QSPI_SECTOR_SIZE; in qspi_erase()
603 addr += adj; in qspi_erase()
604 size -= adj; in qspi_erase()