Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_npcx_controller.c159 uint8_t *ptr_msg; /* current msg pointer for FIFO read/write */ member
547 return (buf_end > data->ptr_msg) ? (buf_end - data->ptr_msg) : 0; in i2c_ctrl_calculate_msg_remains()
571 i2c_ctrl_fifo_write(dev, *(data->ptr_msg++)); in i2c_ctrl_handle_write_int_event()
575 if (data->ptr_msg == data->msg->buf + data->msg->len) { in i2c_ctrl_handle_write_int_event()
643 *(data->ptr_msg++) = i2c_ctrl_fifo_read(dev); in i2c_ctrl_handle_read_int_event()
679 data->ptr_msg = msg->buf; in i2c_ctrl_proc_write_msg()
710 data->ptr_msg = msg->buf; in i2c_ctrl_proc_read_msg()