Home
last modified time | relevance | path

Searched refs:cur_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/soc/mediatek/mt8xxx/
Dcpuclk.c70 static int cur_idx; variable
133 if (idx == cur_idx || freqs[idx].mhz != mhz) { in mtk_adsp_set_cpu_freq()
150 cur_idx = idx; in mtk_adsp_set_cpu_freq()
/Zephyr-latest/drivers/i2c/
Di2c_sam4l_twim.c98 uint32_t cur_idx; member
309 data->cur_idx = 0; in i2c_start_xfer()
388 if (data->cur_idx == msg->len) { in i2c_prepare_next()
389 data->cur_idx = 0; in i2c_prepare_next()
447 msg->buf[data->cur_idx++] = twim->RHR; in i2c_sam_twim_isr()
467 if (data->cur_idx < msg->len) { in i2c_sam_twim_isr()
468 twim->THR = msg->buf[data->cur_idx++]; in i2c_sam_twim_isr()