| /linux/sound/soc/amd/ps/ |
| H A D | ps-sdw-dma.c | 207 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 D | ps-common.c | 227 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 D | pci-ps.c | 86 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 D | q6asm.h | 98 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 D | q6asm-dai.c | 71 uint32_t stream_id; member 198 q6asm_read(prtd->audio_client, prtd->stream_id); in event_handler() 230 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare() 250 ret = q6asm_open_write(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare() 254 ret = q6asm_open_read(prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare() 274 prtd->audio_client, prtd->stream_id, in q6asm_dai_prepare() 279 prtd->stream_id, in q6asm_dai_prepare() 286 q6asm_read(prtd->audio_client, prtd->stream_id); in q6asm_dai_prepare() 297 q6asm_cmd(prtd->audio_client, prtd->stream_id, CMD_CLOSE); in q6asm_dai_prepare() 315 ret = q6asm_write_async(prtd->audio_client, prtd->stream_id, in q6asm_dai_ack() [all …]
|
| H A D | q6asm.c | 284 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() 924 int q6asm_open_write(struct audio_client *ac, uint32_t stream_id, in q6asm_open_write() argument 938 q6asm_add_hdr(ac, &pkt->hdr, pkt_size, true, stream_id); in q6asm_open_write() 1002 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 …]
|
| /linux/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_overlay.c | 75 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 D | vmwgfx_va.c | 39 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 D | ide.c | 53 static bool claim_stream(struct pci_host_bridge *hb, u8 stream_id, in claim_stream() argument 56 dev_info(&hb->dev, "Stream ID %d active at init\n", stream_id); in claim_stream() 57 if (!reserve_stream_id(hb, stream_id)) { in claim_stream() 59 stream_id == PCI_IDE_RESERVED_STREAM_ID ? "reserved" : in claim_stream() 61 stream_id); in claim_stream() 325 .stream_id = -1, in pci_ide_stream_alloc() 390 u8 stream_id; member 394 request_stream_id(struct pci_host_bridge *hb, u8 stream_id, in request_stream_id() argument 397 if (!reserve_stream_id(hb, stream_id)) in request_stream_id() 402 .stream_id = stream_id, in request_stream_id() [all …]
|
| /linux/drivers/gpu/drm/bridge/imx/ |
| H A D | imx8qxp-pixel-link.c | 29 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 D | imx8qxp-pixel-combiner.c | 64 unsigned int stream_id; member 148 PC_DISP_HSYNC_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set() 152 PC_DISP_VSYNC_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set() 156 PC_DISP_DVALID_POLARITY(ch->stream_id)); in imx8qxp_pc_bridge_mode_set() 163 if (ch->stream_id == 0) { in imx8qxp_pc_bridge_mode_set() 173 imx8qxp_pc_write_set(pc, PC_CTRL_REG, PC_DISP_BYPASS(ch->stream_id)); in imx8qxp_pc_bridge_mode_set() 314 ch->stream_id = i; in imx8qxp_pc_bridge_probe()
|
| /linux/arch/powerpc/platforms/pseries/ |
| H A D | suspend.c | 28 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 D | stream.c | 85 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 len) 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(int stream_id, const char *fmt__str, const void *args, in bpf_stream_vprintk_impl() argument 227 stream = bpf_stream_get(stream_id, aux); in bpf_stream_vprintk_impl() 249 __bpf_kfunc int bpf_stream_print_stack(int stream_id, struct bpf_prog_aux *aux) 255 if (!bpf_stream_get(stream_id, au in bpf_prog_stream_init() 312 bpf_stream_stage_commit(struct bpf_stream_stage * ss,struct bpf_prog * prog,enum bpf_stream_id stream_id) bpf_stream_stage_commit() argument [all...] |
| /linux/drivers/usb/host/ |
| H A D | xhci-trace.h | 266 __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 D | xhci-ring.c | 552 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 D | xhci-debugfs.c | 509 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 D | cdnsp-ring.c | 278 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/sound/soc/sprd/ |
| H A D | sprd-pcm-compress.c | 324 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 D | vidtv_pes.c | 139 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 D | vidtv_pes.h | 103 u16 stream_id; member 165 u16 stream_id; member
|
| /linux/drivers/media/pci/ddbridge/ |
| H A D | ddbridge-sx8.c | 275 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/display/ |
| H A D | drm_dp_tunnel.c | 1630 static int stream_id_to_idx(u32 stream_mask, u8 stream_id) in stream_id_to_idx() argument 1632 return hweight32(stream_mask & (BIT(stream_id) - 1)); in stream_id_to_idx() 1663 u8 stream_id, int bw) in set_stream_bw() argument 1669 tunnel_state->stream_mask | BIT(stream_id)); in set_stream_bw() 1673 tunnel_state->stream_bw[stream_id_to_idx(tunnel_state->stream_mask, stream_id)] = bw; in set_stream_bw() 1679 u8 stream_id) in clear_stream_bw() argument 1681 if (!(tunnel_state->stream_mask & ~BIT(stream_id))) { in clear_stream_bw() 1688 tunnel_state->stream_mask & ~BIT(stream_id)); in clear_stream_bw() 1704 u8 stream_id, int bw) in drm_dp_tunnel_atomic_set_stream_bw() argument 1711 stream_id > BITS_PER_TYPE(tunnel_state->stream_mask))) in drm_dp_tunnel_atomic_set_stream_bw() [all …]
|
| /linux/drivers/gpu/drm/bridge/cadence/ |
| H A D | cdns-mhdp8546-core.c | 1704 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 D | tegra186-gpc-dma.c | 242 unsigned int stream_id; member 1346 static int tegra_dma_program_sid(struct tegra_dma_channel *tdc, int stream_id) in tegra_dma_program_sid() argument 1353 reg_val |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_STREAM_ID0_MASK, stream_id); in tegra_dma_program_sid() 1354 reg_val |= FIELD_PREP(TEGRA_GPCDMA_MCSEQ_STREAM_ID1_MASK, stream_id); in tegra_dma_program_sid() 1364 u32 stream_id; in tegra_dma_probe() local 1393 if (!tegra_dev_iommu_get_stream_id(&pdev->dev, &stream_id)) { in tegra_dma_probe() 1430 tegra_dma_program_sid(tdc, stream_id); in tegra_dma_probe() 1431 tdc->stream_id = stream_id; in tegra_dma_probe() 1527 tegra_dma_program_sid(tdc, tdc->stream_id); in tegra_dma_pm_resume()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/dml21/ |
| H A D | dml21_translation_helper.c | 644 static bool dml21_wrapper_get_plane_id(const struct dc_state *context, unsigned int stream_id, cons… in dml21_wrapper_get_plane_id() argument 652 if (context->streams[i]->stream_id == stream_id) { in dml21_wrapper_get_plane_id() 671 …id_valid[i] && dml_ctx->v21.dml_to_dc_pipe_mapping.disp_cfg_to_stream_id[i] == stream->stream_id) { in map_stream_to_dml21_display_cfg() 680 …gned int map_plane_to_dml21_display_cfg(const struct dml2_context *dml_ctx, unsigned int stream_id, in map_plane_to_dml21_display_cfg() argument 687 if (!dml21_wrapper_get_plane_id(context, stream_id, plane, &plane_id)) { in map_plane_to_dml21_display_cfg() 762 …apping.disp_cfg_to_stream_id[disp_cfg_stream_location] = context->streams[stream_index]->stream_id; in dml21_map_dc_state_into_dml_display_cfg() 772 …map_plane_to_dml21_display_cfg(dml_ctx, context->streams[stream_index]->stream_id, context->stream… in dml21_map_dc_state_into_dml_display_cfg() 783 …if (dml21_wrapper_get_plane_id(context, context->streams[stream_index]->stream_id, context->stream… in dml21_map_dc_state_into_dml_display_cfg()
|