Lines Matching refs:bounce_buf_ctrl
344 io_sq->bounce_buf_ctrl.buffer_size = in ena_com_init_io_sq()
346 io_sq->bounce_buf_ctrl.buffers_num = in ena_com_init_io_sq()
348 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()
350 size = (size_t)io_sq->bounce_buf_ctrl.buffer_size * in ena_com_init_io_sq()
351 io_sq->bounce_buf_ctrl.buffers_num; in ena_com_init_io_sq()
353 io_sq->bounce_buf_ctrl.base_buffer = devm_kzalloc(ena_dev->dmadev, size, GFP_KERNEL); in ena_com_init_io_sq()
354 if (!io_sq->bounce_buf_ctrl.base_buffer) in ena_com_init_io_sq()
355 io_sq->bounce_buf_ctrl.base_buffer = in ena_com_init_io_sq()
358 if (!io_sq->bounce_buf_ctrl.base_buffer) { in ena_com_init_io_sq()
368 ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl); in ena_com_init_io_sq()
930 if (io_sq->bounce_buf_ctrl.base_buffer) { in ena_com_io_queue_free()
931 devm_kfree(ena_dev->dmadev, io_sq->bounce_buf_ctrl.base_buffer); in ena_com_io_queue_free()
932 io_sq->bounce_buf_ctrl.base_buffer = NULL; in ena_com_io_queue_free()