Home
last modified time | relevance | path

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

12345

/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 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.c284 uint32_t stream_id) in q6asm_add_hdr() argument
287 hdr->src_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
288 hdr->dest_port = ((ac->session << 8) & 0xFF00) | (stream_id); in q6asm_add_hdr()
926 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, in q6asm_open_write() argument
939 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_open_write()
1003 static int __q6asm_run(struct audio_client *ac, uint32_t stream_id, in __q6asm_run() argument
1017 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in __q6asm_run()
1045 int q6asm_run(struct audio_client *ac, uint32_t stream_id, uint32_t flags, in q6asm_run() argument
1048 return __q6asm_run(ac, stream_id, flags, msw_ts, lsw_ts, true); in q6asm_run()
1063 int q6asm_run_nowait(struct audio_client *ac, uint32_t stream_id, in q6asm_run_nowait() argument
[all …]
H A Dq6routing.h6 int stream_id, int stream_type);
/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/pci/
H A Dide.c54 static bool claim_stream(struct pci_host_bridge *hb, u8 stream_id, in claim_stream() argument
57 dev_info(&hb->dev, "Stream ID %d active at init\n", stream_id); in claim_stream()
58 if (!reserve_stream_id(hb, stream_id)) { in claim_stream()
60 stream_id == PCI_IDE_RESERVED_STREAM_ID ? "reserved" : in claim_stream()
62 stream_id); in claim_stream()
326 .stream_id = -1, in pci_ide_stream_alloc()
394 u8 stream_id; member
398 request_stream_id(struct pci_host_bridge *hb, u8 stream_id, in request_stream_id() argument
401 if (!reserve_stream_id(hb, stream_id)) in request_stream_id()
406 .stream_id = stream_id, in request_stream_id()
[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/kernel/bpf/
H A Dstream.c85 static struct bpf_stream *bpf_stream_get(enum bpf_stream_id stream_id, struct bpf_prog_aux *aux) in bpf_stream_get() argument
87 if (stream_id != BPF_STDOUT && stream_id != BPF_STDERR) in bpf_stream_get()
89 return &aux->stream[stream_id - 1]; in bpf_stream_get()
199 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
203 stream = bpf_stream_get(stream_id, prog->aux); in bpf_prog_stream_read()
215 __bpf_kfunc int bpf_stream_vprintk_impl(int stream_id, const char *fmt__str, const void *args, in bpf_stream_vprintk_impl() argument
228 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk_impl()
312 enum bpf_stream_id stream_id) in bpf_stream_stage_commit() argument
318 stream = bpf_stream_get(stream_id, prog->aux); in bpf_stream_stage_commit()
/linux/drivers/usb/host/
H A Dxhci-trace.h266 __entry->stream = urb->stream_id;
308 TP_PROTO(struct xhci_stream_info *info, unsigned int stream_id),
309 TP_ARGS(info, stream_id),
311 __field(unsigned int, stream_id)
317 __entry->stream_id = stream_id;
318 __entry->stream_ring = le64_to_cpu(info->stream_ctx_array[stream_id].stream_ring);
319 __entry->ctx_array_dma = info->ctx_array_dma + stream_id * 16;
322 TP_printk("stream %u ctx @%pad: SCT %llu deq %llx", __entry->stream_id,
329 TP_PROTO(struct xhci_stream_info *info, unsigned int stream_id),
330 TP_ARGS(info, stream_id)
[all …]
H A Dxhci-ring.c552 unsigned int stream_id) in xhci_ring_ep_doorbell() argument
568 trace_xhci_ring_ep_doorbell(slot_id, DB_VALUE(ep_index, stream_id)); in xhci_ring_ep_doorbell()
570 writel(DB_VALUE(ep_index, stream_id), db_addr); in xhci_ring_ep_doorbell()
580 unsigned int stream_id; in ring_doorbell_for_active_rings() local
592 for (stream_id = 1; stream_id < ep->stream_info->num_streams; in ring_doorbell_for_active_rings()
593 stream_id++) { in ring_doorbell_for_active_rings()
595 if (!list_empty(&stream_info->stream_rings[stream_id]->td_list)) in ring_doorbell_for_active_rings()
597 stream_id); in ring_doorbell_for_active_rings()
630 unsigned int stream_id) in xhci_virt_ep_to_ring() argument
639 if (stream_id == 0 || stream_id >= ep->stream_info->num_streams) { in xhci_virt_ep_to_ring()
[all …]
H A Dxhci-debugfs.c509 epriv->stream_id, epriv->stream_info->num_streams - 1); in xhci_stream_id_show()
525 u16 stream_id; /* MaxPStreams + 1 <= 16 */ in xhci_stream_id_write() local
531 ret = kstrtou16_from_user(ubuf, count, 10, &stream_id); in xhci_stream_id_write()
535 if (stream_id == 0 || stream_id >= epriv->stream_info->num_streams) in xhci_stream_id_write()
538 epriv->stream_id = stream_id; in xhci_stream_id_write()
539 epriv->show_ring = epriv->stream_info->stream_rings[stream_id]; in xhci_stream_id_write()
596 epriv->stream_id = 1; in xhci_debugfs_create_stream_files()
/linux/drivers/usb/cdns3/
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/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
/linux/drivers/media/pci/ddbridge/
H A Dddbridge-sx8.c275 if (p->stream_id != NO_STREAM_ID_FILTER && p->stream_id != 0x80000000) in start()
288 (p->stream_id != NO_STREAM_ID_FILTER) ? p->stream_id : 0; in start()
292 if (p->stream_id == 0x80000000) in start()
359 isi = p->stream_id; in set_parameters()
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c1704 u8 stream_id = mhdp->stream_id; in cdns_mhdp_configure_video() local
1768 cdns_mhdp_reg_write(mhdp, CDNS_BND_HSYNC2VSYNC(stream_id), in cdns_mhdp_configure_video()
1776 cdns_mhdp_reg_write(mhdp, CDNS_HSYNC2VSYNC_POL_CTRL(stream_id), in cdns_mhdp_configure_video()
1779 cdns_mhdp_reg_write(mhdp, CDNS_DP_FRAMER_PXL_REPR(stream_id), pxl_repr); in cdns_mhdp_configure_video()
1787 cdns_mhdp_reg_write(mhdp, CDNS_DP_FRAMER_SP(stream_id), dp_framer_sp); in cdns_mhdp_configure_video()
1791 cdns_mhdp_reg_write(mhdp, CDNS_DP_FRONT_BACK_PORCH(stream_id), in cdns_mhdp_configure_video()
1795 cdns_mhdp_reg_write(mhdp, CDNS_DP_BYTE_COUNT(stream_id), in cdns_mhdp_configure_video()
1799 cdns_mhdp_reg_write(mhdp, CDNS_DP_MSA_HORIZONTAL_0(stream_id), in cdns_mhdp_configure_video()
1808 cdns_mhdp_reg_write(mhdp, CDNS_DP_MSA_HORIZONTAL_1(stream_id), in cdns_mhdp_configure_video()
1812 cdns_mhdp_reg_write(mhdp, CDNS_DP_MSA_VERTICAL_0(stream_id), in cdns_mhdp_configure_video()
[all …]
/linux/drivers/dma/
H A Dtegra186-gpc-dma.c242 unsigned int stream_id; member
1347 static int tegra_dma_program_sid(struct tegra_dma_channel *tdc, int stream_id) in tegra_dma_program_sid() argument
1354 reg_val |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK, stream_id); in tegra_dma_program_sid()
1355 reg_val |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_STREAM_ID1_MASK, stream_id); in tegra_dma_program_sid()
1365 u32 stream_id; in tegra_dma_probe() local
1394 if (!tegra_dev_iommu_get_stream_id(&pdev->dev, &stream_id)) { in tegra_dma_probe()
1431 tegra_dma_program_sid(tdc, stream_id); in tegra_dma_probe()
1432 tdc->stream_id = stream_id; in tegra_dma_probe()
1528 tegra_dma_program_sid(tdc, tdc->stream_id); in tegra_dma_pm_resume()
/linux/include/drm/display/
H A Ddrm_dp_tunnel.h85 u8 stream_id, int bw);
211 u8 stream_id, int bw) in drm_dp_tunnel_atomic_set_stream_bw() argument
/linux/drivers/media/dvb-frontends/
H A Dcxd2820r_t2.c63 c->bandwidth_hz, c->inversion, c->stream_id); in cxd2820r_set_frontend_t2()
118 if (c->stream_id > 255) { in cxd2820r_set_frontend_t2()
125 ret = regmap_write(priv->regmap[0], 0x23af, c->stream_id & 0xff); in cxd2820r_set_frontend_t2()
/linux/sound/soc/intel/atom/
H A Dsst-mfld-dsp.h389 u32 stream_id; member
439 u32 stream_id; member
459 u32 stream_id; member
/linux/drivers/gpu/drm/tegra/
H A Dvic.c57 u32 fce_ucode_size, fce_bin_data_offset, stream_id; in vic_boot() local
61 if (vic->config->supports_sid && tegra_dev_iommu_get_stream_id(vic->dev, &stream_id)) { in vic_boot()
76 vic_writel(vic, stream_id, VIC_THI_STREAMID0); in vic_boot()
79 vic_writel(vic, stream_id, VIC_THI_STREAMID1); in vic_boot()
H A Dnvdec.c68 u32 stream_id; in nvdec_boot_falcon() local
71 if (nvdec->config->supports_sid && tegra_dev_iommu_get_stream_id(nvdec->dev, &stream_id)) { in nvdec_boot_falcon()
77 nvdec_writel(nvdec, stream_id, VIC_THI_STREAMID0); in nvdec_boot_falcon()
78 nvdec_writel(nvdec, stream_id, VIC_THI_STREAMID1); in nvdec_boot_falcon()

12345