Lines Matching refs:buf_idx
147 if (cb->response_buffer.size < mei_hdr->length + cb->buf_idx) { in mei_cl_irq_read_msg()
150 mei_hdr->length, cb->buf_idx); in mei_cl_irq_read_msg()
152 mei_hdr->length + cb->buf_idx, in mei_cl_irq_read_msg()
162 mei_hdr->length + cb->buf_idx; in mei_cl_irq_read_msg()
165 buffer = cb->response_buffer.data + cb->buf_idx; in mei_cl_irq_read_msg()
168 cb->buf_idx += mei_hdr->length; in mei_cl_irq_read_msg()
175 cb->buf_idx); in mei_cl_irq_read_msg()
217 cb_pos->buf_idx = 0; in _mei_irq_thread_close()
224 cb_pos->buf_idx = 0; in _mei_irq_thread_close()
260 cb_pos->buf_idx = 0; in _mei_irq_thread_read()
301 cb_pos->buf_idx = 0; in _mei_irq_thread_ioctl()
326 size_t len = cb->request_buffer.size - cb->buf_idx; in mei_irq_thread_write_complete()
348 cb->request_buffer.size, cb->buf_idx); in mei_irq_thread_write_complete()
353 cb->request_buffer.data + cb->buf_idx)) { in mei_irq_thread_write_complete()
361 cb->buf_idx += mei_hdr.length; in mei_irq_thread_write_complete()