Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A 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()
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 …]
H A Dibmvmc.h141 __be16 buffer_id; member
/openbmc/linux/drivers/net/ethernet/google/gve/
H A Dgve_rx_dqo.c38 s16 buffer_id; in gve_alloc_buf_state() local
40 buffer_id = rx->dqo.free_buf_states; in gve_alloc_buf_state()
41 if (unlikely(buffer_id == -1)) in gve_alloc_buf_state()
44 buf_state = &rx->dqo.buf_states[buffer_id]; in gve_alloc_buf_state()
50 buf_state->next = buffer_id; in gve_alloc_buf_state()
58 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_buf_state_is_allocated() local
60 return buf_state->next == buffer_id; in gve_buf_state_is_allocated()
66 s16 buffer_id = buf_state - rx->dqo.buf_states; in gve_free_buf_state() local
69 rx->dqo.free_buf_states = buffer_id; in gve_free_buf_state()
76 s16 buffer_id; in gve_dequeue_buf_state() local
[all …]
/openbmc/linux/sound/soc/sof/
H A Dsof-client-probes-ipc3.c46 unsigned int buffer_id[]; member
206 unsigned int *buffer_id, in ipc3_probes_points_remove() argument
210 size_t size = struct_size(msg, buffer_id, num_buffer_id); in ipc3_probes_points_remove()
219 memcpy(&msg->buffer_id[0], buffer_id, size - sizeof(*msg)); in ipc3_probes_points_remove()
H A Dsof-client-probes.h32 unsigned int buffer_id; member
48 unsigned int *buffer_id, size_t num_buffer_id);
H A Dsof-client-probes-ipc4.c218 points[i].point_id = desc[i].buffer_id; in ipc4_probes_points_add()
250 unsigned int *buffer_id, size_t num_buffer_id) in ipc4_probes_points_remove() argument
266 probe_point_ids[i] = buffer_id[i]; in ipc4_probes_points_remove()
H A Dsof-client-probes.c79 ipc->points_remove(cdev, &desc[i].buffer_id, 1); in sof_probes_compr_shutdown()
228 desc[i].buffer_id, desc[i].purpose, desc[i].stream_tag); in sof_probes_dfs_points_read()
/openbmc/linux/sound/pci/mixart/
H A 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()
H A Dmixart.h191 u32 buffer_id; member
H A Dmixart_core.h249 u32 buffer_id; member
H A 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()
/openbmc/linux/drivers/misc/mei/
H A Dclient.c2192 static struct mei_cl *mei_cl_dma_map_find(struct mei_device *dev, u8 buffer_id) in mei_cl_dma_map_find() argument
2197 if (cl->dma.buffer_id == buffer_id) in mei_cl_dma_map_find()
2281 cl->dma.buffer_id = buf_id; in mei_cl_dma_alloc()
2289 cl->dma.buffer_id = 0; in mei_cl_dma_free()
2315 u8 buffer_id, size_t size) in mei_cl_dma_alloc_and_map() argument
2331 if (buffer_id == 0) in mei_cl_dma_alloc_and_map()
2340 if (mei_cl_dma_map_find(dev, buffer_id)) { in mei_cl_dma_alloc_and_map()
2342 cl->dma.buffer_id); in mei_cl_dma_alloc_and_map()
2353 rets = mei_cl_dma_alloc(cl, buffer_id, size); in mei_cl_dma_alloc_and_map()
H A Dhbm.c620 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_map_req()
651 req.client_buffer_id = cl->dma.buffer_id; in mei_hbm_cl_dma_unmap_req()
670 if (!cb->cl->dma.buffer_id || cb->cl->dma_mapped) in mei_hbm_cl_dma_map_res()
700 if (!cb->cl->dma.buffer_id || !cb->cl->dma_mapped) in mei_hbm_cl_dma_unmap_res()
H A Dclient.h273 u8 buffer_id, size_t size);
H A Dbus.c683 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size) in mei_cldev_dma_map() argument
689 if (!cldev || !buffer_id || !size) in mei_cldev_dma_map()
710 ret = mei_cl_dma_alloc_and_map(cl, NULL, buffer_id, size); in mei_cldev_dma_map()
H A Dmei_dev.h145 u8 buffer_id; member
/openbmc/linux/include/linux/
H A Dmei_cl_bus.h126 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size);
/openbmc/u-boot/board/micronas/vct/
H A Dscc.h111 u32 buffer_id:8; /* DMA Buffer Identifier */ member
H A Dscc.c568 dma_cfg.bits.buffer_id = buffer_tag; in scc_setup_dma()
/openbmc/qemu/include/hw/hyperv/
H A Dvmbus-proto.h215 uint16_t buffer_id; member
/openbmc/linux/Documentation/networking/device_drivers/ethernet/google/
H A Dgve.rst164 buffer_id. These will be returned on the TX completion and RX queues