Home
last modified time | relevance | path

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

/drivers/net/ethernet/amazon/ena/
Dena_com.h172 struct ena_com_io_bounce_buffer_control bounce_buf_ctrl; member
1008 …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() argument
1013 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()
Dena_com.c359 io_sq->bounce_buf_ctrl.buffer_size = in ena_com_init_io_sq()
361 io_sq->bounce_buf_ctrl.buffers_num = in ena_com_init_io_sq()
363 io_sq->bounce_buf_ctrl.next_to_use = 0; in ena_com_init_io_sq()
365 size = io_sq->bounce_buf_ctrl.buffer_size * in ena_com_init_io_sq()
366 io_sq->bounce_buf_ctrl.buffers_num; in ena_com_init_io_sq()
370 io_sq->bounce_buf_ctrl.base_buffer = in ena_com_init_io_sq()
373 if (!io_sq->bounce_buf_ctrl.base_buffer) in ena_com_init_io_sq()
374 io_sq->bounce_buf_ctrl.base_buffer = in ena_com_init_io_sq()
377 if (!io_sq->bounce_buf_ctrl.base_buffer) { in ena_com_init_io_sq()
388 ena_com_get_next_bounce_buffer(&io_sq->bounce_buf_ctrl); in ena_com_init_io_sq()
[all …]
Dena_eth_com.c164 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()