Home
last modified time | relevance | path

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

12345678

/linux/sound/soc/amd/ps/
H A Dps-sdw-dma.c207 u32 stream_id) in acp63_config_dma() argument
216 val = sdw_dma_pte_offset + (stream_id * ACP_SDW_PTE_OFFSET); in acp63_config_dma()
235 static int acp63_configure_sdw_ringbuffer(void __iomem *acp_base, u32 stream_id, u32 size, in acp63_configure_sdw_ringbuffer() argument
253 reg_dma_size = acp63_sdw0_dma_reg[stream_id].reg_dma_size; in acp63_configure_sdw_ringbuffer()
254 reg_fifo_addr = acp63_sdw0_dma_reg[stream_id].reg_fifo_addr; in acp63_configure_sdw_ringbuffer()
255 reg_fifo_size = acp63_sdw0_dma_reg[stream_id].reg_fifo_size; in acp63_configure_sdw_ringbuffer()
256 reg_ring_buf_size = acp63_sdw0_dma_reg[stream_id].reg_ring_buf_size; in acp63_configure_sdw_ringbuffer()
257 reg_ring_buf_addr = acp63_sdw0_dma_reg[stream_id].reg_ring_buf_addr; in acp63_configure_sdw_ringbuffer()
260 reg_dma_size = acp63_sdw1_dma_reg[stream_id].reg_dma_size; in acp63_configure_sdw_ringbuffer()
261 reg_fifo_addr = acp63_sdw1_dma_reg[stream_id].reg_fifo_addr; in acp63_configure_sdw_ringbuffer()
[all …]
H A Dps-common.c227 u32 stream_id; in acp63_sdw_dma_irq_thread() local
231 for (stream_id = 0; stream_id < ACP63_SDW0_DMA_MAX_STREAMS; stream_id++) { in acp63_sdw_dma_irq_thread()
232 if (adata->acp63_sdw0_dma_intr_stat[stream_id]) { in acp63_sdw_dma_irq_thread()
233 if (sdw_data->acp63_sdw0_dma_stream[stream_id]) in acp63_sdw_dma_irq_thread()
234 snd_pcm_period_elapsed(sdw_data->acp63_sdw0_dma_stream[stream_id]); in acp63_sdw_dma_irq_thread()
235 adata->acp63_sdw0_dma_intr_stat[stream_id] = 0; in acp63_sdw_dma_irq_thread()
238 for (stream_id = 0; stream_id < ACP63_SDW1_DMA_MAX_STREAMS; stream_id++) { in acp63_sdw_dma_irq_thread()
239 if (adata->acp63_sdw1_dma_intr_stat[stream_id]) { in acp63_sdw_dma_irq_thread()
240 if (sdw_data->acp63_sdw1_dma_stream[stream_id]) in acp63_sdw_dma_irq_thread()
241 snd_pcm_period_elapsed(sdw_data->acp63_sdw1_dma_stream[stream_id]); in acp63_sdw_dma_irq_thread()
[all …]
H A Dpci-ps.c86 u32 stream_id = 0; in check_and_handle_sdw_dma_irq() local
96 stream_id = ACP63_SDW0_AUDIO0_TX; in check_and_handle_sdw_dma_irq()
99 stream_id = ACP63_SDW0_AUDIO1_TX; in check_and_handle_sdw_dma_irq()
102 stream_id = ACP63_SDW0_AUDIO2_TX; in check_and_handle_sdw_dma_irq()
105 stream_id = ACP63_SDW0_AUDIO0_RX; in check_and_handle_sdw_dma_irq()
108 stream_id = ACP63_SDW0_AUDIO1_RX; in check_and_handle_sdw_dma_irq()
111 stream_id = ACP63_SDW0_AUDIO2_RX; in check_and_handle_sdw_dma_irq()
116 adata->acp63_sdw0_dma_intr_stat[stream_id] = 1; in check_and_handle_sdw_dma_irq()
121 adata->acp70_sdw0_dma_intr_stat[stream_id] = 1; in check_and_handle_sdw_dma_irq()
154 stream_id = ACP70_SDW_AUDIO0_TX; in check_and_handle_sdw_dma_irq()
[all …]
/linux/sound/soc/qcom/qdsp6/
H A 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 …]
H A Dq6asm-dai.c71 uint32_t stream_id; member
186 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
196 q6asm_write_async(prtd->audio_client, prtd->stream_id, in event_handler()
205 q6asm_read(prtd->audio_client, prtd->stream_id); in event_handler()
238 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare()
257 ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
261 ret = q6asm_open_read(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
281 prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare()
286 prtd->stream_id, in q6asm_dai_prepare()
293 q6asm_read(prtd->audio_client, prtd->stream_id); in q6asm_dai_prepare()
[all …]
H A 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/drivers/staging/media/atomisp/pci/
H A Datomisp_compat.h49 enum atomisp_input_stream_id stream_id,
55 enum atomisp_input_stream_id stream_id,
60 enum atomisp_input_stream_id stream_id,
65 enum atomisp_input_stream_id stream_id,
77 enum atomisp_input_stream_id stream_id,
83 enum atomisp_input_stream_id stream_id,
89 u16 stream_id,
118 enum atomisp_input_stream_id stream_id,
123 enum atomisp_input_stream_id stream_id,
128 enum atomisp_input_stream_id stream_id,
[all …]
H A Datomisp_fops.c99 enum atomisp_input_stream_id stream_id, in atomisp_q_one_metadata_buffer() argument
106 if (asd->metadata_bufs_in_css[stream_id][css_pipe_id] >= in atomisp_q_one_metadata_buffer()
125 stream_id, css_pipe_id)) { in atomisp_q_one_metadata_buffer()
132 asd->metadata_bufs_in_css[stream_id][css_pipe_id]++; in atomisp_q_one_metadata_buffer()
138 enum atomisp_input_stream_id stream_id, in atomisp_q_one_s3a_buffer() argument
164 stream_id, css_pipe_id)) { in atomisp_q_one_s3a_buffer()
179 enum atomisp_input_stream_id stream_id, in atomisp_q_one_dis_buffer() argument
203 stream_id, css_pipe_id)) { in atomisp_q_one_dis_buffer()
222 enum atomisp_input_stream_id stream_id, in atomisp_q_video_buffers_to_css() argument
270 asd->stream_env[stream_id].pipes[css_pipe_id]); in atomisp_q_video_buffers_to_css()
[all …]
H A Datomisp_compat_css20.c875 enum atomisp_input_stream_id stream_id, in atomisp_q_video_buffer_to_css() argument
879 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_video_buffer_to_css()
896 enum atomisp_input_stream_id stream_id, in atomisp_q_metadata_buffer_to_css() argument
899 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_metadata_buffer_to_css()
916 enum atomisp_input_stream_id stream_id, in atomisp_q_s3a_buffer_to_css() argument
919 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_s3a_buffer_to_css()
937 enum atomisp_input_stream_id stream_id, in atomisp_q_dis_buffer_to_css() argument
940 struct atomisp_stream_env *stream_env = &asd->stream_env[stream_id]; in atomisp_q_dis_buffer_to_css()
1052 enum atomisp_input_stream_id stream_id, in atomisp_css_queue_buffer() argument
1058 asd->stream_env[stream_id].pipes[pipe_id], in atomisp_css_queue_buffer()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dml2/
H A 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
267 …res_ctx.pipe_ctx[i].stream && existing_state->res_ctx.pipe_ctx[i].stream->stream_id == stream_id) { in find_preferred_pipe_candidates()
[all …]
/linux/drivers/gpu/drm/vmwgfx/
H A 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 …]
H A 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/drivers/usb/cdns3/
H A 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 …]
H A 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()
325 unsigned int stream_id) in cdnsp_get_transfer_ring() argument
330 if (stream_id == 0 || stream_id >= pep->stream_info.num_streams) { in cdnsp_get_transfer_ring()
332 pep->name, stream_id); in cdnsp_get_transfer_ring()
336 return pep->stream_info.stream_rings[stream_id]; in cdnsp_get_transfer_ring()
344 preq->request.stream_id); in cdnsp_request_to_transfer_ring()
352 unsigned int stream_id; in cdnsp_ring_doorbell_for_active_rings() local
[all …]
/linux/arch/powerpc/platforms/pseries/
H A 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/drivers/gpu/drm/bridge/imx/
H A 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()
H A 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()
318 ch->stream_id = i; in imx8qxp_pc_bridge_probe()
/linux/drivers/gpu/host1x/hw/
H A 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/drivers/usb/host/
H A Dxhci-trace.h276 __entry->stream = urb->stream_id;
318 TP_PROTO(struct xhci_stream_info *info, unsigned int stream_id),
319 TP_ARGS(info, stream_id),
321 __field(unsigned int, stream_id)
327 __entry->stream_id = stream_id;
328 __entry->stream_ring = le64_to_cpu(info->stream_ctx_array[stream_id].stream_ring);
329 __entry->ctx_array_dma = info->ctx_array_dma + stream_id * 16;
332 TP_printk("stream %u ctx @%pad: SCT %llu deq %llx", __entry->stream_id,
339 TP_PROTO(struct xhci_stream_info *info, unsigned int stream_id),
340 TP_ARGS(info, stream_id)
[all …]
H A Dxhci-ring.c551 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
567 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
569 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
579 unsigned int stream_id; in ring_doorbell_for_active_rings() local
591 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
592 stream_id++) { in ring_doorbell_for_active_rings()
594 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
596 stream_id); in ring_doorbell_for_active_rings()
629 unsigned int stream_id) in xhci_virt_ep_to_ring() argument
638 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
[all …]
/linux/kernel/bpf/
H A Dstream.c225 static struct bpf_stream *bpf_stream_get(enum bpf_stream_id stream_id, struct bpf_prog_aux *aux) in bpf_stream_get() argument
227 if (stream_id != BPF_STDOUT && stream_id != BPF_STDERR) in bpf_stream_get()
229 return &aux->stream[stream_id - 1]; in bpf_stream_get()
342 int bpf_prog_stream_read(struct bpf_prog *prog, enum bpf_stream_id stream_id, void __user *buf, int… in bpf_prog_stream_read() argument
346 stream = bpf_stream_get(stream_id, prog->aux); in bpf_prog_stream_read()
358 __bpf_kfunc int bpf_stream_vprintk(int stream_id, const char *fmt__str, const void *args, u32 len__… in bpf_stream_vprintk() argument
370 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk()
454 enum bpf_stream_id stream_id) in bpf_stream_stage_commit() argument
460 stream = bpf_stream_get(stream_id, prog->aux); in bpf_stream_stage_commit()
/linux/drivers/staging/media/atomisp/pci/runtime/isys/interface/
H A Dia_css_isys_comm.h38 uint32_t stream_id) in ia_css_isys_generate_stream_id() argument
40 return sp_thread_id * IA_CSS_STREAM_MAX_ISYS_STREAM_PER_CH + stream_id; in ia_css_isys_generate_stream_id()
/linux/sound/soc/sprd/
H A 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/drivers/media/test-drivers/vidtv/
H A 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()
H A Dvidtv_pes.h103 u16 stream_id; member
165 u16 stream_id; member

12345678