Home
last modified time | relevance | path

Searched refs:ccr (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.6.0/drivers/timer/
Dapic_timer.c90 uint32_t ccr; in sys_clock_set_timeout() local
116 ccr = x86_read_loapic(LOAPIC_TIMER_CCR); in sys_clock_set_timeout()
117 total_cycles += (cached_icr - ccr); in sys_clock_set_timeout()
127 uint32_t ccr; in sys_clock_elapsed() local
131 ccr = x86_read_loapic(LOAPIC_TIMER_CCR); in sys_clock_elapsed()
133 ticks += cached_icr - ccr; in sys_clock_elapsed()
209 uint32_t ccr; in sys_clock_cycle_get_32() local
212 ccr = x86_read_loapic(LOAPIC_TIMER_CCR); in sys_clock_cycle_get_32()
213 ret = total_cycles + (cached_icr - ccr); in sys_clock_cycle_get_32()
Dmchp_xec_rtos_timer.c161 uint32_t ccr = TIMER_REGS->CNT; in timer_count() local
163 if ((ccr == 0) && (TIMER_REGS->CTRL & MCHP_RTMR_CTRL_START)) { in timer_count()
164 ccr = cached_icr; in timer_count()
167 return ccr; in timer_count()
190 uint32_t ccr, temp; in sys_clock_set_timeout() local
217 ccr = timer_count(); in sys_clock_set_timeout()
225 temp += (cached_icr - ccr); in sys_clock_set_timeout()
249 uint32_t ccr; in sys_clock_elapsed() local
255 ccr = timer_count(); in sys_clock_elapsed()
263 ticks += cached_icr - ccr; in sys_clock_elapsed()
[all …]
/Zephyr-Core-3.6.0/samples/bluetooth/peripheral_csc/src/
Dmain.c258 uint16_t ccr; member
263 uint16_t ccr, uint16_t lcet) in measurement_nfy() argument
268 (ccr ? sizeof(struct crank_rev_data_nfy) : 0)]; in measurement_nfy()
287 if (ccr) { in measurement_nfy()
291 data.ccr = sys_cpu_to_le16(ccr); in measurement_nfy()
301 static uint16_t ccr; /* Cumulative Crank Revolutions */ variable
319 ccr += 1U; in csc_simulation()
330 nfy_crank ? ccr : 0, nfy_crank ? lcet : 0); in csc_simulation()
/Zephyr-Core-3.6.0/drivers/dma/
Ddma_pl330.c51 uint32_t ccr; in dma_pl330_ch_ccr() local
55 ccr = ((ch_handle->dst_cache_ctrl & CC_SRCCCTRL_MASK) << in dma_pl330_ch_ccr()
68 return ccr; in dma_pl330_ch_ccr()
162 uint32_t offset = 0, ccr; in dma_pl330_setup_ch() local
181 ccr = dma_pl330_ch_ccr(ch_dat); in dma_pl330_setup_ch()
184 CCR, ccr); in dma_pl330_setup_ch()
231 ccr = ((ch_dat->nonsec_mode) << CC_DSTNS_SHIFT) + in dma_pl330_setup_ch()
240 CCR, ccr); in dma_pl330_setup_ch()
/Zephyr-Core-3.6.0/drivers/i2c/
Di2c_ll_stm32_v1.c80 uint16_t cr1, cr2, oar1, oar2, trise, ccr; in stm32_i2c_reset() local
96 ccr = LL_I2C_ReadReg(i2c, CCR); in stm32_i2c_reset()
114 LL_I2C_WriteReg(i2c, CCR, ccr); in stm32_i2c_reset()