Searched refs:bounce_buf_ctrl (Results 1 – 3 of 3) sorted by relevance
172 struct ena_com_io_bounce_buffer_control bounce_buf_ctrl; member1008 …inline u8 *ena_com_get_next_bounce_buffer(struct ena_com_io_bounce_buffer_control *bounce_buf_ctrl) in ena_com_get_next_bounce_buffer() argument1013 size = bounce_buf_ctrl->buffer_size; in ena_com_get_next_bounce_buffer()1014 buffers_num = bounce_buf_ctrl->buffers_num; in ena_com_get_next_bounce_buffer()1016 buf = bounce_buf_ctrl->base_buffer + in ena_com_get_next_bounce_buffer()1017 (bounce_buf_ctrl->next_to_use++ & (buffers_num - 1)) * size; in ena_com_get_next_bounce_buffer()1019 prefetchw(bounce_buf_ctrl->base_buffer + in ena_com_get_next_bounce_buffer()1020 (bounce_buf_ctrl->next_to_use & (buffers_num - 1)) * size); in ena_com_get_next_bounce_buffer()
357 io_sq->bounce_buf_ctrl.buffer_size = in ena_com_init_io_sq()359 io_sq->bounce_buf_ctrl.buffers_num = in ena_com_init_io_sq()361 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()363 size = io_sq->bounce_buf_ctrl.buffer_size * in ena_com_init_io_sq()364 io_sq->bounce_buf_ctrl.buffers_num; in ena_com_init_io_sq()368 io_sq->bounce_buf_ctrl.base_buffer = in ena_com_init_io_sq()371 if (!io_sq->bounce_buf_ctrl.base_buffer) in ena_com_init_io_sq()372 io_sq->bounce_buf_ctrl.base_buffer = in ena_com_init_io_sq()375 if (!io_sq->bounce_buf_ctrl.base_buffer) { in ena_com_init_io_sq()386 ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl); in ena_com_init_io_sq()[all …]
164 ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl); in ena_com_close_bounce_buffer()198 ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl); in ena_com_sq_update_llq_tail()