Searched refs:buffer_id (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/google/gve/ |
D | gve_rx_dqo.c | 36 s16 buffer_id; in gve_alloc_buf_state() local 38 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state() 39 if (unlikely(buffer_id == -1)) in gve_alloc_buf_state() 42 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state() 48 buf_state->next = buffer_id; in gve_alloc_buf_state() 56 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated() local 58 return buf_state->next == buffer_id; in gve_buf_state_is_allocated() 64 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state() local 67 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state() 74 s16 buffer_id; in gve_dequeue_buf_state() local [all …]
|
/drivers/misc/ |
D | ibmvmc.c | 581 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_open() 694 u8 hmc_index, u16 buffer_id) in ibmvmc_send_add_buffer_resp() argument 706 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_add_buffer_resp() 735 u8 hmc_index, u16 buffer_id) in ibmvmc_send_rem_buffer_resp() argument 747 crq_msg.var2.buffer_id = cpu_to_be16(buffer_id); in ibmvmc_send_rem_buffer_resp() 803 crq_msg.var2.buffer_id = cpu_to_be16(buffer->id); in ibmvmc_send_msg() 1433 u16 buffer_id; in ibmvmc_add_buffer() local 1442 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer() 1448 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer() 1452 if (buffer_id >= ibmvmc.max_buffer_pool_size) { in ibmvmc_add_buffer() [all …]
|
D | ibmvmc.h | 141 __be16 buffer_id; member
|
/drivers/misc/mei/ |
D | client.c | 2153 static struct mei_cl *mei_cl_dma_map_find(struct mei_device *dev, u8 buffer_id) in mei_cl_dma_map_find() argument 2158 if (cl->dma.buffer_id == buffer_id) in mei_cl_dma_map_find() 2242 cl->dma.buffer_id = buf_id; in mei_cl_dma_alloc() 2250 cl->dma.buffer_id = 0; in mei_cl_dma_free() 2276 u8 buffer_id, size_t size) in mei_cl_dma_alloc_and_map() argument 2292 if (buffer_id == 0) in mei_cl_dma_alloc_and_map() 2301 if (mei_cl_dma_map_find(dev, buffer_id)) { in mei_cl_dma_alloc_and_map() 2303 cl->dma.buffer_id); in mei_cl_dma_alloc_and_map() 2314 rets = mei_cl_dma_alloc(cl, buffer_id, size); in mei_cl_dma_alloc_and_map()
|
D | hbm.c | 616 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_map_req() 647 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_unmap_req() 666 if (!cb->cl->dma.buffer_id || cb->cl->dma_mapped) in mei_hbm_cl_dma_map_res() 696 if (!cb->cl->dma.buffer_id || !cb->cl->dma_mapped) in mei_hbm_cl_dma_unmap_res()
|
D | bus.c | 646 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size) in mei_cldev_dma_map() argument 652 if (!cldev || !buffer_id || !size) in mei_cldev_dma_map() 673 ret = mei_cl_dma_alloc_and_map(cl, NULL, buffer_id, size); in mei_cldev_dma_map()
|
D | client.h | 273 u8 buffer_id, size_t size);
|
D | mei_dev.h | 136 u8 buffer_id; member
|