Home
last modified time | relevance | path

Searched refs:stream_id (Results 1 – 25 of 171) sorted by relevance

1234567

/linux-6.12.1/sound/soc/qcom/qdsp6/
Dq6asm.h98 int q6asm_write_async(struct audio_client *ac, uint32_t stream_id, uint32_t len,
100 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id,
104 int q6asm_open_read(struct audio_client *ac, uint32_t stream_id,
107 uint32_t stream_id, uint32_t rate,
111 int q6asm_read(struct audio_client *ac, uint32_t stream_id);
114 uint32_t stream_id,
119 uint32_t stream_id,
122 uint32_t stream_id,
125 uint32_t stream_id,
128 uint32_t stream_id,
[all …]
Dq6asm-dai.c70 uint32_t stream_id; member
185 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
195 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
204 q6asm_read(prtd->audio_client, prtd->stream_id); in event_handler()
237 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare()
256 ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
260 ret = q6asm_open_read(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
280 prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
285 prtd->stream_id, in q6asm_dai_prepare()
292 q6asm_read(prtd->audio_client, prtd->stream_id); in q6asm_dai_prepare()
[all …]
Dq6asm.c282 uint32_t stream_id) in q6asm_add_hdr() argument
285 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
286 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
927 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, in q6asm_open_write() argument
944 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_open_write()
1009 static int __q6asm_run(struct audio_client *ac, uint32_t stream_id, in __q6asm_run() argument
1026 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in __q6asm_run()
1055 int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, in q6asm_run() argument
1058 return __q6asm_run(ac, stream_id, flags, msw_ts, lsw_ts, true); in q6asm_run()
1073 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id, in q6asm_run_nowait() argument
[all …]
/linux-6.12.1/sound/soc/amd/ps/
Dps-sdw-dma.c141 u32 stream_id) in acp63_config_dma() argument
150 val = sdw_dma_pte_offset + (stream_id * ACP_SDW_PTE_OFFSET); in acp63_config_dma()
169 static int acp63_configure_sdw_ringbuffer(void __iomem *acp_base, u32 stream_id, u32 size, in acp63_configure_sdw_ringbuffer() argument
185 reg_dma_size = sdw0_dma_ring_buf_reg[stream_id].reg_dma_size; in acp63_configure_sdw_ringbuffer()
186 reg_fifo_addr = sdw0_dma_ring_buf_reg[stream_id].reg_fifo_addr; in acp63_configure_sdw_ringbuffer()
187 reg_fifo_size = sdw0_dma_ring_buf_reg[stream_id].reg_fifo_size; in acp63_configure_sdw_ringbuffer()
188 reg_ring_buf_size = sdw0_dma_ring_buf_reg[stream_id].reg_ring_buf_size; in acp63_configure_sdw_ringbuffer()
189 reg_ring_buf_addr = sdw0_dma_ring_buf_reg[stream_id].reg_ring_buf_addr; in acp63_configure_sdw_ringbuffer()
192 reg_dma_size = sdw1_dma_ring_buf_reg[stream_id].reg_dma_size; in acp63_configure_sdw_ringbuffer()
193 reg_fifo_addr = sdw1_dma_ring_buf_reg[stream_id].reg_fifo_addr; in acp63_configure_sdw_ringbuffer()
[all …]
Dpci-ps.c134 u32 stream_id = 0; in acp63_irq_handler() local
187 stream_id = ACP_SDW0_AUDIO0_TX; in acp63_irq_handler()
190 stream_id = ACP_SDW0_AUDIO1_TX; in acp63_irq_handler()
193 stream_id = ACP_SDW0_AUDIO2_TX; in acp63_irq_handler()
196 stream_id = ACP_SDW0_AUDIO0_RX; in acp63_irq_handler()
199 stream_id = ACP_SDW0_AUDIO1_RX; in acp63_irq_handler()
202 stream_id = ACP_SDW0_AUDIO2_RX; in acp63_irq_handler()
206 adata->sdw0_dma_intr_stat[stream_id] = 1; in acp63_irq_handler()
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_compat.h60 enum atomisp_input_stream_id stream_id,
66 enum atomisp_input_stream_id stream_id,
71 enum atomisp_input_stream_id stream_id,
76 enum atomisp_input_stream_id stream_id,
88 enum atomisp_input_stream_id stream_id,
94 enum atomisp_input_stream_id stream_id,
100 u16 stream_id,
129 enum atomisp_input_stream_id stream_id,
134 enum atomisp_input_stream_id stream_id,
139 enum atomisp_input_stream_id stream_id,
[all …]
Datomisp_fops.c110 enum atomisp_input_stream_id stream_id, in atomisp_q_one_metadata_buffer() argument
117 if (asd->metadata_bufs_in_css[stream_id][css_pipe_id] >= in atomisp_q_one_metadata_buffer()
136 stream_id, css_pipe_id)) { in atomisp_q_one_metadata_buffer()
143 asd->metadata_bufs_in_css[stream_id][css_pipe_id]++; in atomisp_q_one_metadata_buffer()
149 enum atomisp_input_stream_id stream_id, in atomisp_q_one_s3a_buffer() argument
175 stream_id, css_pipe_id)) { in atomisp_q_one_s3a_buffer()
190 enum atomisp_input_stream_id stream_id, in atomisp_q_one_dis_buffer() argument
214 stream_id, css_pipe_id)) { in atomisp_q_one_dis_buffer()
233 enum atomisp_input_stream_id stream_id, in atomisp_q_video_buffers_to_css() argument
284 asd->stream_env[stream_id].pipes[css_pipe_id]); in atomisp_q_video_buffers_to_css()
[all …]
Datomisp_compat_css20.c886 enum atomisp_input_stream_id stream_id, in atomisp_q_video_buffer_to_css() argument
890 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_video_buffer_to_css()
907 enum atomisp_input_stream_id stream_id, in atomisp_q_metadata_buffer_to_css() argument
910 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_metadata_buffer_to_css()
927 enum atomisp_input_stream_id stream_id, in atomisp_q_s3a_buffer_to_css() argument
930 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_s3a_buffer_to_css()
948 enum atomisp_input_stream_id stream_id, in atomisp_q_dis_buffer_to_css() argument
951 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_dis_buffer_to_css()
1063 enum atomisp_input_stream_id stream_id, in atomisp_css_queue_buffer() argument
1069 asd->stream_env[stream_id].pipes[pipe_id], in atomisp_css_queue_buffer()
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/
Ddml2_dc_resource_mgmt.c59 unsigned int stream_id, unsigned int plane_index, unsigned int *plane_id) in get_plane_id() argument
68 if (state->streams[i]->stream_id == stream_id) { in get_plane_id()
95 …find_disp_cfg_idx_by_stream_id(struct dml2_dml_to_dc_pipe_mapping *mapping, unsigned int stream_id) in find_disp_cfg_idx_by_stream_id() argument
100 if (mapping->disp_cfg_to_stream_id_valid[i] && mapping->disp_cfg_to_stream_id[i] == stream_id) in find_disp_cfg_idx_by_stream_id()
109 …ind_master_pipe_of_stream(struct dml2_context *ctx, struct dc_state *state, unsigned int stream_id) in find_master_pipe_of_stream() argument
114 … (state->res_ctx.pipe_ctx[i].stream && state->res_ctx.pipe_ctx[i].stream->stream_id == stream_id) { in find_master_pipe_of_stream()
131 state->res_ctx.pipe_ctx[i].stream->stream_id, in find_master_pipe_of_plane()
154 get_plane_id(ctx, state, pipe->plane_state, pipe->stream->stream_id, in find_pipes_assigned_to_plane()
245 const unsigned int stream_id, in find_preferred_pipe_candidates() argument
264 …res_ctx.pipe_ctx[i].stream && existing_state->res_ctx.pipe_ctx[i].stream->stream_id == stream_id) { in find_preferred_pipe_candidates()
[all …]
Ddml2_utils.c194 int dml2_helper_find_dml_pipe_idx_by_stream_id(struct dml2_context *ctx, unsigned int stream_id) in dml2_helper_find_dml_pipe_idx_by_stream_id() argument
198 …m_id_valid[i] && ctx->v20.scratch.dml_to_dc_pipe_mapping.dml_pipe_idx_to_stream_id[i] == stream_id) in dml2_helper_find_dml_pipe_idx_by_stream_id()
217 unsigned int stream_id, unsigned int plane_index, unsigned int *plane_id) in get_plane_id() argument
226 if (state->streams[i]->stream_id == stream_id) { in get_plane_id()
306 context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id, in dml2_calculate_rq_and_dlg_params()
310 …_dml_pipe_idx_by_stream_id(in_ctx, context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id); in dml2_calculate_rq_and_dlg_params()
316 …_idx_to_stream_id[dml_pipe_idx] == context->res_ctx.pipe_ctx[dc_pipe_ctx_index].stream->stream_id); in dml2_calculate_rq_and_dlg_params()
523 display_state->res_ctx.pipe_ctx[i].stream->stream_id, in dml2_verify_det_buffer_configuration()
527 …elper_find_dml_pipe_idx_by_stream_id(in_ctx, display_state->res_ctx.pipe_ctx[i].stream->stream_id); in dml2_verify_det_buffer_configuration()
/linux-6.12.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_overlay.c75 uint32_t stream_id) in fill_flush() argument
79 cmd->flush.streamId = stream_id; in fill_flush()
131 cmds->header.streamId = arg->stream_id; in vmw_overlay_send_put()
164 fill_flush(flush, arg->stream_id); in vmw_overlay_send_put()
178 uint32_t stream_id, in vmw_overlay_send_stop() argument
203 cmds->body.header.streamId = stream_id; in vmw_overlay_send_stop()
206 fill_flush(&cmds->flush, stream_id); in vmw_overlay_send_stop()
245 uint32_t stream_id, bool pause, in vmw_overlay_stop() argument
249 struct vmw_stream *stream = &overlay->stream[stream_id]; in vmw_overlay_stop()
258 ret = vmw_overlay_send_stop(dev_priv, stream_id, in vmw_overlay_stop()
[all …]
Dvmwgfx_va.c39 u32 stream_id; member
63 ret = vmw_overlay_unref(dev_priv, stream->stream_id); in vmw_stream_hw_destroy()
71 return vmw_overlay_claim(res->dev_priv, &stream->stream_id); in vmw_stream_init()
78 arg->stream_id = handle; in vmw_stream_set_arg_handle()
122 arg->stream_id); in vmw_stream_unref_ioctl()
166 *inout_id = stream->stream_id; in vmw_user_stream_lookup()
/linux-6.12.1/drivers/usb/cdns3/
Dcdnsp-trace.h38 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
39 TP_ARGS(pep, stream_id),
43 __field(u32, stream_id)
53 __entry->stream_id = stream_id;
62 __get_str(name), __entry->stream_id, __entry->state,
68 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
69 TP_ARGS(pep, stream_id)
73 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
74 TP_ARGS(pep, stream_id)
78 TP_PROTO(struct cdnsp_ep *pep, u32 stream_id),
[all …]
Dcdnsp-ring.c278 unsigned int stream_id) in cdnsp_ring_ep_doorbell() argument
303 db_value = DB_VALUE_EP0_OUT(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
305 db_value = DB_VALUE(pep->idx, stream_id); in cdnsp_ring_ep_doorbell()
307 trace_cdnsp_tr_drbl(pep, stream_id); in cdnsp_ring_ep_doorbell()
324 unsigned int stream_id) in cdnsp_get_transfer_ring() argument
329 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
331 pep->name, stream_id); in cdnsp_get_transfer_ring()
335 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
343 preq->request.stream_id); in cdnsp_request_to_transfer_ring()
351 unsigned int stream_id; in cdnsp_ring_doorbell_for_active_rings() local
[all …]
Dcdns3-trace.h214 __field(unsigned int, stream_id)
229 __entry->stream_id = req->request.stream_id;
242 __entry->stream_id
294 __field(unsigned int, stream_id)
301 __entry->stream_id = req->request.stream_id;
305 __entry->actual, __entry->stream_id)
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dsuspend.c28 static int pseries_suspend_begin(u64 stream_id) in pseries_suspend_begin() argument
34 rc = plpar_hcall(H_VASI_STATE, retbuf, stream_id); in pseries_suspend_begin()
79 u64 stream_id; in store_hibernate() local
85 stream_id = simple_strtoul(buf, NULL, 16); in store_hibernate()
88 rc = pseries_suspend_begin(stream_id); in store_hibernate()
/linux-6.12.1/drivers/gpu/drm/bridge/imx/
Dimx8qxp-pixel-link.c29 u8 stream_id; member
48 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_enable_mst_en()
60 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_enable_mst_vld()
72 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_enable_sync()
84 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_disable_mst_en()
98 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_disable_mst_vld()
112 pl->dc_id, pl->stream_id, ret); in imx8qxp_pixel_link_disable_sync()
127 pl->dc_id, pl->stream_id, pl->mst_addr, ret); in imx8qxp_pixel_link_set_mst_addr()
349 ret = of_property_read_u8(np, "fsl,dc-stream-id", &pl->stream_id); in imx8qxp_pixel_link_bridge_probe()
359 if (pl->stream_id == 0) { in imx8qxp_pixel_link_bridge_probe()
Dimx8qxp-pixel-combiner.c65 unsigned int stream_id; member
149 PC_DISP_HSYNC_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set()
153 PC_DISP_VSYNC_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set()
157 PC_DISP_DVALID_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set()
164 if (ch->stream_id == 0) { in imx8qxp_pc_bridge_mode_set()
174 imx8qxp_pc_write_set(pc, PC_CTRL_REG, PC_DISP_BYPASS(ch->stream_id)); in imx8qxp_pc_bridge_mode_set()
312 ch->stream_id = i; in imx8qxp_pc_bridge_probe()
/linux-6.12.1/drivers/gpu/host1x/hw/
Dchannel_hw.c56 u32 stream_id; in submit_wait() local
64 stream_id = job->memory_context->stream_id; in submit_wait()
66 stream_id = job->engine_fallback_streamid; in submit_wait()
81 host1x_opcode_setpayload(stream_id), in submit_wait()
182 u32 stream_id; in host1x_channel_set_streamid() local
184 if (!tegra_dev_iommu_get_stream_id(channel->dev->parent, &stream_id)) in host1x_channel_set_streamid()
185 stream_id = TEGRA_STREAM_ID_BYPASS; in host1x_channel_set_streamid()
187 host1x_ch_writel(channel, stream_id, HOST1X_CHANNEL_SMMU_STREAMID); in host1x_channel_set_streamid()
/linux-6.12.1/drivers/usb/host/
Dxhci-ring.c493 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
509 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
511 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
521 unsigned int stream_id; in ring_doorbell_for_active_rings() local
533 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
534 stream_id++) { in ring_doorbell_for_active_rings()
536 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
538 stream_id); in ring_doorbell_for_active_rings()
571 unsigned int stream_id) in xhci_virt_ep_to_ring() argument
580 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
[all …]
Dxhci-debugfs.c495 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
511 u16 stream_id; /* MaxPStreams + 1 <= 16 */ in xhci_stream_id_write() local
517 ret = kstrtou16_from_user(ubuf, count, 10, &stream_id); in xhci_stream_id_write()
521 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
524 epriv->stream_id = stream_id; in xhci_stream_id_write()
525 epriv->show_ring = epriv->stream_info->stream_rings[stream_id]; in xhci_stream_id_write()
582 epriv->stream_id = 1; in xhci_debugfs_create_stream_files()
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/isys/interface/
Dia_css_isys_comm.h47 uint32_t stream_id) in ia_css_isys_generate_stream_id() argument
49 return sp_thread_id * IA_CSS_STREAM_MAX_ISYS_STREAM_PER_CH + stream_id; in ia_css_isys_generate_stream_id()
/linux-6.12.1/sound/soc/sprd/
Dsprd-pcm-compress.c324 int stream_id = cstream->direction, ret; in sprd_platform_compr_open() local
373 ret = stream->compr_ops->open(stream_id, &cb); in sprd_platform_compr_open()
398 int stream_id = cstream->direction, i; in sprd_platform_compr_free() local
412 stream->compr_ops->close(stream_id); in sprd_platform_compr_free()
426 int stream_id = cstream->direction; in sprd_platform_compr_trigger() local
457 ret = stream->compr_ops->start(stream_id); in sprd_platform_compr_trigger()
474 ret = stream->compr_ops->stop(stream_id); in sprd_platform_compr_trigger()
486 ret = stream->compr_ops->pause(stream_id); in sprd_platform_compr_trigger()
498 ret = stream->compr_ops->pause_release(stream_id); in sprd_platform_compr_trigger()
/linux-6.12.1/drivers/media/test-drivers/vidtv/
Dvidtv_pes.c139 u32 stream_id = (args->encoder_id == S302M) ? PRIVATE_STREAM_1_ID : args->stream_id; in vidtv_pes_write_h() local
142 pes_header.bitfield = cpu_to_be32((PES_START_CODE_PREFIX << 8) | stream_id); in vidtv_pes_write_h()
322 .stream_id = args->stream_id, in vidtv_pes_write_into()
Dvidtv_pes.h103 u16 stream_id; member
165 u16 stream_id; member

1234567