Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/sensor/tsic_xx6/
Dtsic_xx6.c63 uint8_t buf_index; member
68 data->buf_index = FRAME_START_BIT_MSB; in tsic_xx6_buf_reset()
73 return data->buf_index == FRAME_START_BIT_MSB; in tsic_xx6_is_buf_reset()
115 WRITE_BIT(data->buf, data->buf_index, val); in tsic_xx6_pwm_callback()
117 if (data->buf_index > 0) { in tsic_xx6_pwm_callback()
118 --data->buf_index; in tsic_xx6_pwm_callback()
/Zephyr-latest/drivers/i2c/
Di2c_ifx_xmc4.c221 for (uint32_t buf_index = 0u; buf_index < msg[msg_index].len; buf_index++) { in ifx_xmc4_i2c_transfer() local
225 msg[msg_index].buf[buf_index]); in ifx_xmc4_i2c_transfer()
250 if (buf_index == (msg[msg_index].len - 1)) { in ifx_xmc4_i2c_transfer()
270 msg[msg_index].buf[buf_index] = in ifx_xmc4_i2c_transfer()