Home
last modified time | relevance | path

Searched refs:buf_end (Results 1 – 7 of 7) sorted by relevance

/Zephyr-latest/drivers/i2c/
Di2c_bitbang.c200 uint8_t *buf, *buf_end; in i2c_bitbang_transfer() local
247 buf_end = buf + msgs->len; in i2c_bitbang_transfer()
250 while (buf < buf_end) { in i2c_bitbang_transfer()
253 i2c_write_bit(context, buf == buf_end); in i2c_bitbang_transfer()
257 while (buf < buf_end) { in i2c_bitbang_transfer()
Di2c_numaker.c82 uint8_t *buf_end; member
104 __ASSERT_NO_MSG((data->master_xfer.buf_end - data->master_xfer.buf_pos) == 1); in m_numaker_i2c_master_xfer_msg_read_last_byte()
169 switch (data->master_xfer.buf_end - data->master_xfer.buf_pos) { in m_numaker_i2c_master_xfer_msg_read_next_byte()
194 __ASSERT_NO_MSG((data->master_xfer.buf_end - data->master_xfer.buf_pos) == 0); in m_numaker_i2c_master_xfer_msg_end()
234 data->master_xfer.buf_end = data->master_xfer.msgs_pos->buf + in m_numaker_i2c_master_xfer_msg_end()
540 data->master_xfer.buf_end = data->master_xfer.msgs_pos->buf + in i2c_numaker_isr()
555 if (data->master_xfer.buf_pos < data->master_xfer.buf_end) { in i2c_numaker_isr()
574 __ASSERT_NO_MSG(data->master_xfer.buf_pos < data->master_xfer.buf_end); in i2c_numaker_isr()
576 __ASSERT_NO_MSG((data->master_xfer.buf_end - in i2c_numaker_isr()
584 __ASSERT_NO_MSG((data->master_xfer.buf_end - data->master_xfer.buf_pos) == 1); in i2c_numaker_isr()
Di2c_npcx_controller.c545 uint8_t *buf_end = data->msg->buf + data->msg->len; in i2c_ctrl_calculate_msg_remains() local
547 return (buf_end > data->ptr_msg) ? (buf_end - data->ptr_msg) : 0; in i2c_ctrl_calculate_msg_remains()
/Zephyr-latest/drivers/adc/
Dadc_ene_kb1200.c33 uint16_t *buf_end; member
92 data->buf_end = data->buffer + sequence->buffer_size / sizeof(uint16_t); in adc_kb1200_start_read()
119 if (data->buffer < data->buf_end) { in adc_kb1200_start_read()
Dadc_numaker.c45 uint16_t *buf_end; member
147 if (data->buffer < data->buf_end) { in adc_numaker_isr()
267 data->buf_end = data->buffer + sequence->buffer_size / sizeof(uint16_t); in m_adc_numaker_start_read()
Dadc_nxp_s32_adc_sar.c39 uint16_t *buf_end; member
278 data->buf_end = data->buffer + sequence->buffer_size / sizeof(uint16_t); in adc_nxp_s32_start_read_async()
391 if (data->buffer < data->buf_end) { \
Dadc_npcx.c116 uint16_t *buf_end; member
215 if (data->buffer < data->buf_end) { in adc_npcx_isr()
363 data->buf_end = data->buffer + sequence->buffer_size / sizeof(uint16_t); in adc_npcx_start_read()