Searched refs:adj (Results 1 – 10 of 10) sorted by relevance
/Zephyr-Core-3.7.0/drivers/timer/ |
D | xtensa_sys_timer.c | 75 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()
|
D | esp32_sys_timer.c | 94 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()
|
D | mips_cp0_timer.c | 80 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()
|
D | intel_adsp_timer.c | 145 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()
|
D | mcux_os_timer.c | 201 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()
|
D | mcux_gpt_timer.c | 140 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/ |
D | main.c | 124 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/ |
D | README.rst | 103 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/ |
D | dma_gd32.c | 86 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/ |
D | nrf_qspi_nor.c | 579 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()
|