| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_buffer_mgmt_dqo.c | 19 s16 buffer_id; in gve_alloc_buf_state() local 21 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state() 22 if (unlikely(buffer_id == -1)) in gve_alloc_buf_state() 25 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state() 31 buf_state->next = buffer_id; in gve_alloc_buf_state() 43 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated() local 45 return buf_state->next == buffer_id; in gve_buf_state_is_allocated() 51 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state() local 54 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state() 61 s16 buffer_id; in gve_dequeue_buf_state() local [all …]
|
| H A D | gve_rx_dqo.c | 782 const u16 buffer_id = le16_to_cpu(compl_desc->buf_id); in gve_rx_dqo() local 792 if (unlikely(buffer_id >= rx->dqo.num_buf_states)) { in gve_rx_dqo() 794 priv->dev->name, buffer_id); in gve_rx_dqo() 797 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_rx_dqo() 800 priv->dev->name, buffer_id); in gve_rx_dqo()
|
| /linux/drivers/misc/ |
| H A 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() 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 …]
|
| H A D | ibmvmc.h | 141 __be16 buffer_id; member
|
| /linux/sound/soc/sof/ |
| H A D | sof-client-probes-ipc4.c | 261 (*desc)[i].buffer_id = info->points[i].point_id; in ipc4_probes_points_info() 285 swidget = sof_client_ipc4_find_swidget_by_id(cdev, SOF_IPC4_MOD_ID_GET(desc->buffer_id), in ipc4_probes_point_print() 286 SOF_IPC4_MOD_INSTANCE_GET(desc->buffer_id)); in ipc4_probes_point_print() 289 __func__, SOF_IPC4_MOD_ID_GET(desc->buffer_id), in ipc4_probes_point_print() 290 SOF_IPC4_MOD_INSTANCE_GET(desc->buffer_id)); in ipc4_probes_point_print() 293 desc->buffer_id, desc->purpose, desc->stream_tag, in ipc4_probes_point_print() 295 sof_probe_ipc4_type_string(SOF_IPC4_PROBE_TYPE_GET(desc->buffer_id)), in ipc4_probes_point_print() 296 SOF_IPC4_PROBE_IDX_GET(desc->buffer_id), in ipc4_probes_point_print() 335 points[i].point_id = desc[i].buffer_id; in ipc4_probes_points_add() 367 unsigned int *buffer_id, size_t num_buffer_id) in ipc4_probes_points_remove() argument [all …]
|
| H A D | sof-client-probes-ipc3.c | 46 unsigned int buffer_id[]; member 217 unsigned int *buffer_id, in ipc3_probes_points_remove() argument 221 size_t size = struct_size(msg, buffer_id, num_buffer_id); in ipc3_probes_points_remove() 230 memcpy(&msg->buffer_id[0], buffer_id, size - sizeof(*msg)); in ipc3_probes_points_remove()
|
| H A D | sof-client-probes.h | 32 unsigned int buffer_id; member 55 unsigned int *buffer_id, size_t num_buffer_id);
|
| H A D | sof-client-probes.c | 86 ipc->points_remove(cdev, &desc[i].buffer_id, 1); in sof_probes_compr_shutdown() 247 desc[i].buffer_id, desc[i].purpose, desc[i].stream_tag); in sof_probes_dfs_points_read()
|
| /linux/sound/pci/mixart/ |
| H A D | mixart_core.c | 447 u32 buffer_id = notify->streams[i].buffer_id; in snd_mixart_threaded_irq() local 448 …unsigned int chip_number = (buffer_id & MIXART_NOTIFY_CARD_MASK) >> MIXART_NOTIFY_CARD_OFFSET; /*… in snd_mixart_threaded_irq() 449 …unsigned int pcm_number = (buffer_id & MIXART_NOTIFY_PCM_MASK ) >> MIXART_NOTIFY_PCM_OFFSET; /*… in snd_mixart_threaded_irq() 450 …unsigned int sub_number = buffer_id & MIXART_NOTIFY_SUBS_MASK; /* 0 to MIXART_PLAYB… in snd_mixart_threaded_irq() 451 …unsigned int is_capture = ((buffer_id & MIXART_NOTIFY_CAPT_MASK) != 0); /* playback == 0 / c… in snd_mixart_threaded_irq() 459 buffer_id, notify->streams[i].sample_pos_low_part); in snd_mixart_threaded_irq()
|
| H A D | mixart.h | 191 u32 buffer_id; member
|
| H A D | mixart_core.h | 249 u32 buffer_id; member
|
| H A D | mixart.c | 298 …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/drivers/misc/mei/ |
| H A D | client.c | 2162 static struct mei_cl *mei_cl_dma_map_find(struct mei_device *dev, u8 buffer_id) in mei_cl_dma_map_find() argument 2167 if (cl->dma.buffer_id == buffer_id) in mei_cl_dma_map_find() 2251 cl->dma.buffer_id = buf_id; in mei_cl_dma_alloc() 2259 cl->dma.buffer_id = 0; in mei_cl_dma_free() 2285 u8 buffer_id, size_t size) in mei_cl_dma_alloc_and_map() argument 2301 if (buffer_id == 0) in mei_cl_dma_alloc_and_map() 2310 if (mei_cl_dma_map_find(dev, buffer_id)) { in mei_cl_dma_alloc_and_map() 2312 cl->dma.buffer_id); in mei_cl_dma_alloc_and_map() 2323 rets = mei_cl_dma_alloc(cl, buffer_id, size); in mei_cl_dma_alloc_and_map()
|
| H A D | hbm.c | 617 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_map_req() 648 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_unmap_req() 667 if (!cb->cl->dma.buffer_id || cb->cl->dma_mapped) in mei_hbm_cl_dma_map_res() 697 if (!cb->cl->dma.buffer_id || !cb->cl->dma_mapped) in mei_hbm_cl_dma_unmap_res()
|
| H A D | client.h | 271 u8 buffer_id, size_t size);
|
| H A D | bus.c | 728 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size) in mei_cldev_dma_map() argument 734 if (!cldev || !buffer_id || !size) in mei_cldev_dma_map() 755 ret = mei_cl_dma_alloc_and_map(cl, NULL, buffer_id, size); in mei_cldev_dma_map()
|
| H A D | mei_dev.h | 159 u8 buffer_id; member
|
| /linux/drivers/gpu/drm/imagination/ |
| H A D | pvr_rogue_fwif_shared.h | 214 u32 buffer_id; member
|
| /linux/include/linux/ |
| H A D | mei_cl_bus.h | 130 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size);
|
| /linux/Documentation/networking/device_drivers/ethernet/google/ |
| H A D | gve.rst | 164 buffer_id. These will be returned on the TX completion and RX queues
|