/linux-master/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 58 u8 dir = substream->stream == SNDRV_PCM_STREAM_PLAYBACK ? OUT : IN; 134 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 147 int stream = substream->stream; local 156 for_each_dpcm_be(rtd, stream, dpcm) { 164 substream_be = snd_soc_dpcm_get_substream(be, stream); 209 be_chan = soc_component_to_pcm(component_be)->chan[substream->stream]; 311 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 332 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK;
|
/linux-master/sound/firewire/tascam/ |
H A D | tascam-pcm.c | 15 struct amdtp_stream *stream; local 18 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { 20 stream = &tscm->tx_stream; 24 stream = &tscm->rx_stream; 40 return amdtp_tscm_add_pcm_hw_constraints(stream, runtime); 64 // When source of clock is not internal or any stream is reserved for
|
/linux-master/sound/hda/ext/ |
H A D | hdac_ext_controller.c | 255 * snd_hdac_ext_bus_link_set_stream_id - maps stream id to link output 257 * @stream: stream id 260 int stream) 262 snd_hdac_updatew(link->ml_addr, AZX_REG_ML_LOSIDV, (1 << stream), 1 << stream); 267 * snd_hdac_ext_bus_link_clear_stream_id - maps stream id to link output 269 * @stream: stream id 272 int stream) 259 snd_hdac_ext_bus_link_set_stream_id(struct hdac_ext_link *link, int stream) argument 271 snd_hdac_ext_bus_link_clear_stream_id(struct hdac_ext_link *link, int stream) argument [all...] |
/linux-master/sound/soc/apple/ |
H A D | mca.c | 196 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 233 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 308 int stream, i; local 317 for_each_pcm_streams(stream) { 318 if (be_cl->clocks_in_use[stream]) { 353 cl->clocks_in_use[substream->stream] = true; 377 cl->clocks_in_use[substream->stream] = false; 554 for_each_dpcm_be(fe, substream->stream, dpcm) { 573 bool is_tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; 603 dev_err(dev, "missing TDM for stream wit 692 int stream; local 896 mca_request_dma_channel(struct mca_cluster *cl, unsigned int stream) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.c | 509 if (dc->current_state->res_ctx.pipe_ctx[i].stream) { 510 if (dc->current_state->res_ctx.pipe_ctx[i].stream->link == link) { 659 const struct dc_stream_state *stream, struct psr_config *psr_config, 747 if (dc->current_state->res_ctx.pipe_ctx[i].stream 748 == stream) { 764 psr_context->crtcTimingVerticalTotal = stream->timing.v_total; 765 psr_context->vsync_rate_hz = div64_u64(div64_u64((stream-> 767 stream->timing.v_total), 768 stream->timing.h_total); 790 psr_context->hyst_lines = stream 658 edp_setup_psr(struct dc_link *link, const struct dc_stream_state *stream, struct psr_config *psr_config, struct psr_context *psr_context) argument 932 edp_setup_replay(struct dc_link *link, const struct dc_stream_state *stream) argument 1114 struct dc_stream_state *stream = pipe_ctx.stream; local [all...] |
/linux-master/sound/soc/kirkwood/ |
H A D | kirkwood-dma.c | 143 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 164 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 188 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 209 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 230 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
/linux-master/tools/perf/util/ |
H A D | data-convert-bt.c | 16 #include <babeltrace/ctf-writer/stream.h> 57 struct bt_ctf_stream *stream; member in struct:ctf_stream 65 struct ctf_stream **stream; member in struct:ctf_writer 677 err = bt_ctf_stream_flush(cs->stream); 679 pr_err("CTF stream %d flush failed\n", cs->cpu); 681 pr("Flush stream for cpu %d (%u samples)\n", 695 struct bt_ctf_stream *stream = NULL; local 700 pr_err("Failed to allocate ctf stream\n"); 704 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); 705 if (!stream) { 1338 struct ctf_stream **stream; local [all...] |
/linux-master/drivers/staging/media/atomisp/pci/runtime/debug/src/ |
H A D | ia_css_debug.c | 240 assert(!"Unknown stream format"); 241 return "unknown-stream-format"; 363 debug_print_fifo_channel_state(&sp_to_s2m, "SP to stream-to-memory"); 864 #define FIND_DMEM_PARAMS_TYPE(stream, kernel, type) \ 866 findf_dmem_params(stream, offsetof(struct ia_css_memory_offsets, dmem.kernel)) 868 #define FIND_DMEM_PARAMS(stream, kernel) FIND_DMEM_PARAMS_TYPE(stream, kernel, kernel) 872 findf_dmem_params(struct ia_css_stream *stream, short idx) argument 876 for (i = 0; i < stream->num_pipes; i++) { 877 struct ia_css_pipe *pipe = stream 896 ia_css_debug_dump_isp_params(struct ia_css_stream *stream, unsigned int enable) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dml/calcs/ |
H A D | dcn_calcs.c | 422 input->dest.vactive = pipe->stream->timing.v_addressable + pipe->stream->timing.v_border_top 423 + pipe->stream->timing.v_border_bottom; 431 input->dest.htotal = pipe->stream->timing.h_total; 432 input->dest.hblank_start = input->dest.htotal - pipe->stream->timing.h_front_porch; 434 - pipe->stream->timing.h_addressable 435 - pipe->stream->timing.h_border_left 436 - pipe->stream->timing.h_border_right; 438 input->dest.vtotal = pipe->stream->timing.v_total; 439 input->dest.vblank_start = input->dest.vtotal - pipe->stream [all...] |
/linux-master/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 590 struct hva_stream *stream) 610 unsigned int payload = stream->bytesused; 775 td->addr_output_bitstream_end = (u32)stream->paddr + stream->size; 777 td->addr_output_bitstream_start = (u32)stream->paddr; 778 td->bitstream_offset = (((u32)stream->paddr & 0xF) << 3) & 818 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; 821 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; 841 * during qbuf of stream buffer 843 if ((stream 587 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) argument 1007 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) argument [all...] |
/linux-master/include/trace/events/ |
H A D | netfs.h | 550 __field(unsigned int, stream ) 559 __entry->stream = subreq->stream_nr; 566 __entry->wreq, __entry->stream, __entry->subreq, 631 const struct netfs_io_stream *stream, 634 TP_ARGS(wreq, stream, jump_to, type), 638 __field(unsigned char, stream) 646 __entry->stream = stream->stream_nr; 647 __entry->from = stream->collected_to; 653 __entry->wreq, __entry->stream, [all...] |
/linux-master/arch/alpha/kernel/ |
H A D | err_ev6.c | 101 int source = -1, stream = -1, bits = -1; local 137 stream = EXTRACT(c_stat, EV6__C_STAT__ISTREAM); 160 streamname[stream], bitsname[bits], sourcename[source]);
|
/linux-master/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys-video.h | 41 void (*pin_ready)(struct ipu6_isys_stream *stream, 47 * Align with firmware stream. Each stream represents a CSI virtual channel. 98 struct ipu6_isys_stream *stream; member in struct:ipu6_isys_video 125 void ipu6_isys_put_stream(struct ipu6_isys_stream *stream);
|
/linux-master/sound/soc/codecs/ |
H A D | wm_adsp.c | 142 __be32 min_free; /* min free space since stream start */ 171 struct snd_compr_stream *stream; member in struct:wm_adsp_compr 1211 if (compr->stream) 1212 snd_compr_fragment_elapsed(compr->stream); 1220 int wm_adsp_compr_open(struct wm_adsp *dsp, struct snd_compr_stream *stream) argument 1223 struct snd_soc_pcm_runtime *rtd = stream->private_data; 1235 if (wm_adsp_fw[dsp->fw].compr_direction != stream->direction) { 1236 adsp_err(dsp, "%s: Firmware does not support stream direction\n", 1244 adsp_err(dsp, "%s: Only a single stream supported per dai\n", 1258 compr->stream 1272 wm_adsp_compr_free(struct snd_soc_component *component, struct snd_compr_stream *stream) argument 1292 wm_adsp_compr_check_params(struct snd_compr_stream *stream, struct snd_compr_params *params) argument 1347 wm_adsp_compr_set_params(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_params *params) argument 1375 wm_adsp_compr_get_caps(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_caps *caps) argument 1687 wm_adsp_compr_trigger(struct snd_soc_component *component, struct snd_compr_stream *stream, int cmd) argument 1851 wm_adsp_compr_pointer(struct snd_soc_component *component, struct snd_compr_stream *stream, struct snd_compr_tstamp *tstamp) argument 2010 wm_adsp_compr_copy(struct snd_soc_component *component, struct snd_compr_stream *stream, char __user *buf, size_t count) argument [all...] |
/linux-master/sound/soc/intel/atom/sst/ |
H A D | sst_pvt.c | 91 "stream failed %d\n", block->ret_code); 184 * @drv_id: stream id or private id 204 * sst_clean_stream - clean the stream context 206 * @stream: stream structure 208 * this function resets the stream contexts 211 void sst_clean_stream(struct stream_info *stream) argument 213 stream->status = STREAM_UN_INIT; 214 stream->prev = STREAM_UN_INIT; 215 mutex_lock(&stream [all...] |
/linux-master/net/sctp/ |
H A D | chunk.c | 99 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); 108 asoc->stream.si->enqueue_event(&asoc->ulpq, ev); 177 sctp_datachk_len(&asoc->stream)); 262 chunk = asoc->stream.si->make_datafrag(asoc, sinfo, len, frag, 315 SCTP_SO(&chunk->asoc->stream, 330 SCTP_SO(&chunk->asoc->stream,
|
H A D | outqueue.c | 63 __u16 stream; local 68 stream = sctp_chunk_stream_no(ch); 69 oute = SCTP_SO(&q->asoc->stream, stream)->ext; 84 __u16 stream; local 89 stream = sctp_chunk_stream_no(ch); 90 oute = SCTP_SO(&q->asoc->stream, stream)->ext; 361 streamout = SCTP_SO(&asoc->stream, chk->sinfo.sinfo_stream); 389 q->sched->unsched_all(&asoc->stream); 1809 sctp_get_skip_pos(struct sctp_fwdtsn_skip *skiplist, int nskips, __be16 stream) argument [all...] |
/linux-master/sound/core/ |
H A D | pcm.c | 104 int stream; local 112 if (get_user(stream, &info->stream)) 114 if (stream < 0 || stream > 1) 116 stream = array_index_nospec(stream, 2); 123 pstr = &pcm->streams[stream]; 271 static const char *snd_pcm_stream_name(int stream) argument 273 return snd_pcm_stream_names[stream]; 626 snd_pcm_new_stream(struct snd_pcm *pcm, int stream, int substream_count) argument 874 snd_pcm_attach_substream(struct snd_pcm *pcm, int stream, struct file *file, struct snd_pcm_substream **rsubstream) argument [all...] |
H A D | pcm_timer.c | 107 tid.subdevice = (substream->number << 1) | (substream->stream & 1); 111 substream->stream == SNDRV_PCM_STREAM_CAPTURE ?
|
/linux-master/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 45 rate = m_rt->stream->params.rate; 46 bps = m_rt->stream->params.bps; 74 * of the stream, which indicates that they operate in 95 rate = m_rt->stream->params.rate; 96 bps = m_rt->stream->params.bps; 151 port_bo += m_rt->ch_count * m_rt->stream->params.bps; 174 rate = m_rt->stream->params.rate; 175 bps = m_rt->stream->params.bps; 243 rate = m_rt->stream->params.rate;
|
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn32/ |
H A D | dcn32_hwseq.h | 58 struct pipe_ctx *pipe_ctx, const struct dc_stream_state *stream); 62 const struct dc_stream_state *stream);
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | dcn314_fpu.c | 326 if (!res_ctx->pipe_ctx[i].stream) 329 timing = &pipe->stream->timing; 333 if (pipe->stream->adjust.v_total_min != 0) 334 pipes[pipe_cnt].pipe.dest.vtotal = pipe->stream->adjust.v_total_min; 415 if (!pipe->stream) 418 if (pipe->stream->signal == SIGNAL_TYPE_EDP && dc->debug.seamless_boot_odm_combine && 419 pipe->stream->apply_seamless_boot_optimization) { 421 if (pipe->stream->apply_boot_odm_mode == dm_odm_combine_policy_2to1) {
|
/linux-master/sound/soc/qcom/ |
H A D | sdw.c | 11 * qcom_snd_sdw_startup() - Helper to start Soundwire stream for SoC audio card 15 * Soundwire stream runtime to each codec DAI. 36 substream->stream); 38 dev_err(rtd->dev, "Failed to set sdw stream on %s\n", 123 sruntime = snd_soc_dai_get_stream(codec_dai, substream->stream);
|
/linux-master/sound/drivers/ |
H A D | aloop.c | 110 int stream; member in struct:loopback_cable::__anon1333 196 if (dpcm->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 309 /* will only be called from free_cable() when other stream was 310 * already closed. Other stream cannot be reopened as long as 336 static int loopback_check_format(struct loopback_cable *cable, int stream) argument 344 if (stream == SNDRV_PCM_STREAM_PLAYBACK) 359 if (stream == SNDRV_PCM_STREAM_CAPTURE) { 406 int err = 0, stream = 1 << substream->stream; local 410 err = loopback_check_format(cable, substream->stream); [all...] |
/linux-master/sound/soc/intel/avs/ |
H A D | pcm.c | 27 /* LINK-stream utilized in BE operations while HOST in FE ones. */ 66 template = avs_dai_find_path_template(dai, !rtd->dai_link->no_pcm, substream->stream); 145 for_each_dpcm_fe(be, substream->stream, dpcm) { 147 fe_hw_params = &fe->dpcm[substream->stream].hw_params; 328 /* clear link <-> stream mapping */ 334 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 362 stream_info = snd_soc_dai_get_pcm_stream(dai, substream->stream); 375 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 574 for_each_dpcm_be(fe, substream->stream, dpcm) { 576 be_hw_params = &be->dpcm[substream->stream] 1207 avs_hda_stream_dpib_read(struct hdac_ext_stream *stream) argument 1455 int stream; local [all...] |