Home
last modified time | relevance | path

Searched refs:buffer_id (Results 1 – 15 of 15) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/google/gve/
Dgve_rx_dqo.c36 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 …]
/linux-5.19.10/drivers/misc/
Dibmvmc.c581 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()
1431 u16 buffer_id; in ibmvmc_add_buffer() local
1440 buffer_id = be16_to_cpu(crq->var2.buffer_id); in ibmvmc_add_buffer()
1446 hmc_session, hmc_index, buffer_id); in ibmvmc_add_buffer()
1450 if (buffer_id >= ibmvmc.max_buffer_pool_size) { in ibmvmc_add_buffer()
[all …]
Dibmvmc.h141 __be16 buffer_id; member
/linux-5.19.10/sound/pci/mixart/
Dmixart_core.c450 u32 buffer_id = notify->streams[i].buffer_id; in snd_mixart_threaded_irq() local
451 …unsigned int chip_number = (buffer_id & MIXART_NOTIFY_CARD_MASK) >> MIXART_NOTIFY_CARD_OFFSET; /*… in snd_mixart_threaded_irq()
452 …unsigned int pcm_number = (buffer_id & MIXART_NOTIFY_PCM_MASK ) >> MIXART_NOTIFY_PCM_OFFSET; /*… in snd_mixart_threaded_irq()
453 …unsigned int sub_number = buffer_id & MIXART_NOTIFY_SUBS_MASK; /* 0 to MIXART_PLAYB… in snd_mixart_threaded_irq()
454 …unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / c… in snd_mixart_threaded_irq()
462 buffer_id, notify->streams[i].sample_pos_low_part); in snd_mixart_threaded_irq()
Dmixart.h191 u32 buffer_id; member
Dmixart_core.h249 u32 buffer_id; member
Dmixart.c298 …bufferinfo[j].buffer_id = (chip->chip_idx << MIXART_NOTIFY_CARD_OFFSET) + (pcm_number << MIXART_NO… in snd_mixart_add_ref_pipe()
300 bufferinfo[j].buffer_id |= MIXART_NOTIFY_CAPT_MASK; in snd_mixart_add_ref_pipe()
/linux-5.19.10/sound/soc/sof/
Dsof-client-probes.c40 unsigned int buffer_id; member
74 unsigned int buffer_id[]; member
237 unsigned int *buffer_id, size_t num_buffer_id) in sof_probes_points_remove() argument
240 size_t size = struct_size(msg, buffer_id, num_buffer_id); in sof_probes_points_remove()
250 memcpy(&msg->buffer_id[0], buffer_id, size - sizeof(*msg)); in sof_probes_points_remove()
302 sof_probes_points_remove(cdev, &desc[i].buffer_id, 1); in sof_probes_compr_shutdown()
527 desc[i].buffer_id, desc[i].purpose, desc[i].stream_tag); in sof_probes_dfs_points_read()
/linux-5.19.10/drivers/misc/mei/
Dclient.c2153 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()
Dhbm.c616 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()
Dbus.c646 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()
Dclient.h273 u8 buffer_id, size_t size);
Dmei_dev.h121 u8 buffer_id; member
/linux-5.19.10/include/linux/
Dmei_cl_bus.h120 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size);
/linux-5.19.10/Documentation/networking/device_drivers/ethernet/google/
Dgve.rst155 buffer_id. These will be returned on the TX completion and RX queues