/linux-master/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | link.h | 141 const struct dc_stream_state *stream, 148 const struct dc_stream_state *stream, 204 struct dc_stream_state *stream, 267 const struct dc_stream_state *stream, 283 const struct dc_stream_state *stream);
|
/linux-master/drivers/media/usb/as102/ |
H A D | as102_usb_drv.c | 238 dev->stream, 246 dev->stream = usb_alloc_coherent(dev->bus_adap.usb_dev, 250 if (!dev->stream) { 256 memset(dev->stream, 0, MAX_STREAM_URB * AS102_USB_BUF_SIZE); 268 urb->transfer_buffer = dev->stream + (i * AS102_USB_BUF_SIZE);
|
/linux-master/drivers/soundwire/ |
H A D | amd_manager.c | 402 rate = m_rt->stream->params.rate; 403 bps = m_rt->stream->params.bps; 612 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 635 pconfig, 1, dai_runtime->stream); 637 dev_err(amd_manager->dev, "add manager to stream failed:%d\n", ret); 654 ret = sdw_stream_remove_master(&amd_manager->bus, dai_runtime->stream); 656 dev_err(dai->dev, "remove manager from stream %s failed: %d\n", 657 dai_runtime->stream->name, ret); 661 static int amd_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) argument 667 if (stream) { 697 amd_pcm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) argument 729 struct snd_soc_pcm_stream *stream; local [all...] |
H A D | cadence_master.c | 1238 struct sdw_cdns_pdi **stream, 1255 *stream = pdi; 1268 struct sdw_cdns_streams *stream; local 1276 stream = &cdns->pcm; 1279 ret = cdns_allocate_pdi(cdns, &stream->bd, stream->num_bd); 1283 ret = cdns_allocate_pdi(cdns, &stream->in, stream->num_in); 1287 ret = cdns_allocate_pdi(cdns, &stream->out, stream 1237 cdns_allocate_pdi(struct sdw_cdns *cdns, struct sdw_cdns_pdi **stream, u32 num) argument 1749 cdns_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) argument 1862 sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, struct sdw_cdns_streams *stream, u32 ch, u32 dir, int dai_id) argument [all...] |
/linux-master/sound/pci/lx6464es/ |
H A D | lx6464es.c | 101 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 127 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 129 dev_dbg(chip->card->dev, "setting stream format\n"); 132 dev_err(chip->card->dev, "setting stream format failed\n"); 158 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 189 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 271 int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 290 const int is_capture = (substream->stream == SNDRV_PCM_STREAM_CAPTURE); 349 chip->capture_stream.stream = substream; 351 chip->playback_stream.stream 519 struct lx_stream *stream = is_capture ? &chip->capture_stream : local [all...] |
/linux-master/sound/soc/intel/skylake/ |
H A D | skl-messages.c | 54 struct hdac_stream *stream = snd_hdac_get_stream(bus, local 57 if (!stream) 60 /* enable/disable SPIB for this hdac stream */ 61 snd_hdac_stream_spbcap_enable(bus, enable, stream->index); 64 snd_hdac_stream_set_spib(bus, stream, size); 74 struct hdac_stream *stream; local 82 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; 89 stream = hdac_stream(estream); 92 ret = snd_hdac_dsp_prepare(stream, format, size, dmab); 96 skl_dsp_setup_spib(dev, size, stream 104 struct hdac_stream *stream; local 123 struct hdac_stream *stream; local [all...] |
/linux-master/sound/soc/ti/ |
H A D | davinci-mcasp.c | 114 /* Used for comstraint setting on the second stream */ 288 static void davinci_mcasp_start(struct davinci_mcasp *mcasp, int stream) argument 292 if (stream == SNDRV_PCM_STREAM_PLAYBACK) 305 * In synchronous mode stop the TX clocks if no other stream is 332 * In synchronous mode keep TX clocks running if the capture stream is 353 static void davinci_mcasp_stop(struct davinci_mcasp *mcasp, int stream) argument 357 if (stream == SNDRV_PCM_STREAM_PLAYBACK) 709 static int davinci_mcasp_ch_constraint(struct davinci_mcasp *mcasp, int stream, argument 712 struct snd_pcm_hw_constraint_list *cl = &mcasp->chconstr[stream]; 717 if (mcasp->tdm_mask[stream]) 854 mcasp_common_hw_param(struct davinci_mcasp *mcasp, int stream, int period_words, int channels) argument 984 mcasp_i2s_hw_param(struct davinci_mcasp *mcasp, int stream, int channels) argument 1691 int stream; local [all...] |
/linux-master/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 320 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 357 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 600 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 618 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 655 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; 677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
|
/linux-master/sound/pci/au88x0/ |
H A D | au88x0_core.c | 2104 dir: direction of stream. Uses same values as substream->stream. 2112 stream_t *stream; local 2129 stream = &vortex->dma_adb[dma]; 2130 stream->dma = dma; 2131 stream->dir = dir; 2132 stream->type = type; 2141 if (stream->type != VORTEX_PCM_SPDIF) { 2144 stream->resources, en, 2147 memset(stream 2350 stream_t *stream = &(vortex->dma_adb[adbdma]); local [all...] |
/linux-master/sound/soc/xilinx/ |
H A D | xlnx_formatter_pcm.c | 91 * struct xlnx_pcm_stream_param - stream configuration 96 * @buffer_size: stream ring buffer size 268 static void xlnx_formatter_disable_irqs(void __iomem *mmio_base, int stream) argument 274 if (stream == SNDRV_PCM_STREAM_CAPTURE) 337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && 340 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && 348 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 375 "stream %d : format = %d mode = %d ch_limit = %d\n", 376 substream->stream, stream_data->interleaved, 431 xlnx_formatter_disable_irqs(stream_data->mmio, substream->stream); [all...] |
/linux-master/sound/soc/sof/ |
H A D | topology.c | 407 offsetof(struct snd_sof_pcm, stream[0].d0i3_compatible)}, 409 offsetof(struct snd_sof_pcm, stream[1].d0i3_compatible)}, 1064 int stream; local 1068 dev_err(scomp->dev, "Widget %s does not have stream\n", w->name); 1073 stream = SNDRV_PCM_STREAM_CAPTURE; 1075 stream = SNDRV_PCM_STREAM_PLAYBACK; 1080 /* does stream match DAI link ? */ 1091 if (!snd_soc_dai_get_widget(cpu_dai, stream)) { 1092 snd_soc_dai_set_widget(cpu_dai, stream, w); 1109 dev_err(scomp->dev, "error: can't connect DAI %s stream 1124 int i, stream; local 1713 int stream; local [all...] |
/linux-master/drivers/gpu/drm/amd/display/modules/power/ |
H A D | power_helpers.c | 856 * @stream: [input] dc stream state pointer 877 const struct dc_stream_state *stream) 887 num_vblank_lines = stream->timing.v_total - 888 stream->timing.v_addressable - 889 stream->timing.v_border_top - 890 stream->timing.v_border_bottom; 892 vblank_time_in_us = (stream->timing.h_total * num_vblank_lines * 1000) / (stream->timing.pix_clk_100hz / 10); 894 line_time_in_us = ((stream 875 mod_power_calc_psr_configs(struct psr_config *psr_config, struct dc_link *link, const struct dc_stream_state *stream) argument 936 mod_power_only_edp(const struct dc_state *context, const struct dc_stream_state *stream) argument 941 psr_su_set_dsc_slice_height(struct dc *dc, struct dc_link *link, struct dc_stream_state *stream, struct psr_config *config) argument [all...] |
/linux-master/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 111 /* Each HW queue can have one AMPDU stream. 207 /* Ampdu stream information */ 1790 /* caller must hold priv->stream_lock when calling the stream functions */ 1794 struct mwl8k_ampdu_stream *stream; local 1799 stream = &priv->ampdu[i]; 1800 if (stream->state == AMPDU_NO_STREAM) { 1801 stream->sta = sta; 1802 stream->state = AMPDU_STREAM_NEW; 1803 stream->tid = tid; 1804 stream 1814 mwl8k_start_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) argument 1832 mwl8k_remove_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) argument 1846 struct mwl8k_ampdu_stream *stream; local 1917 struct mwl8k_ampdu_stream *stream = NULL; local 3974 mwl8k_check_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, struct ieee80211_vif *vif) argument 4006 mwl8k_create_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, u8 buf_size, struct ieee80211_vif *vif) argument 5456 struct mwl8k_ampdu_stream *stream; local [all...] |
/linux-master/sound/firewire/oxfw/ |
H A D | oxfw-pcm.c | 114 struct amdtp_stream *stream; local 117 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { 119 stream = &oxfw->tx_stream; 123 stream = &oxfw->rx_stream; 141 err = amdtp_am824_add_pcm_hw_constraints(stream, runtime); 153 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 186 // When source of clock is not internal or any stream is reserved for
|
/linux-master/sound/usb/ |
H A D | pcm.c | 78 if (atomic_read(&subs->stream->chip->shutdown)) 168 chip = subs->stream->chip; 408 ret = snd_usb_power_domain_set(subs->stream->chip, subs->str_pd, state); 478 struct snd_usb_audio *chip = subs->stream->chip; 502 !substream->stream, 591 struct snd_usb_audio *chip = subs->stream->chip; 613 /* check whether early start is needed for playback stream */ 617 struct snd_usb_audio *chip = subs->stream->chip; 641 struct snd_usb_audio *chip = subs->stream->chip; 681 if (substream->stream 1769 snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream) argument [all...] |
/linux-master/sound/soc/intel/boards/ |
H A D | sof_sdw.c | 592 /* Find stream from first CPU DAI */ 595 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); 597 dev_err(rtd->dev, "no stream found for DAI %s\n", dai->name); 611 /* Find stream from first CPU DAI */ 614 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); 616 dev_err(rtd->dev, "no stream found for DAI %s\n", dai->name); 658 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 692 /* Find stream from first CPU DAI */ 695 sdw_stream = snd_soc_dai_get_stream(dai, substream->stream); 697 dev_err(rtd->dev, "no stream foun 1546 int stream; local 1613 int stream; local [all...] |
/linux-master/net/wireless/ |
H A D | wext-core.c | 1152 char *iwe_stream_add_event(struct iw_request_info *info, char *stream, argument 1160 if (likely((stream + event_len) < ends)) { 1163 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); 1164 memcpy(stream + lcp_len, &iwe->u, 1166 stream += event_len; 1169 return stream; 1173 char *iwe_stream_add_point(struct iw_request_info *info, char *stream, argument 1181 if (likely((stream + event_len) < ends)) { 1183 memcpy(stream, (char *) iwe, IW_EV_LCP_PK_LEN); 1184 memcpy(stream [all...] |
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_color.c | 569 static int amdgpu_dm_set_atomic_regamma(struct dc_stream_state *stream, argument 574 struct dc_transfer_func *out_tf = &stream->out_transfer_func; 724 /* amdgpu_dm_atomic_lut3d - set DRM 3D LUT to DC stream 888 * amdgpu_dm_update_crtc_color_mgmt: Maps DRM color management to DC stream. 911 struct dc_stream_state *stream = crtc->stream; local 957 stream->out_transfer_func.type = TF_TYPE_DISTRIBUTED_POINTS; 958 stream->out_transfer_func.tf = TRANSFER_FUNCTION_SRGB; 966 r = __set_legacy_tf(&stream->out_transfer_func, regamma_lut, 972 r = amdgpu_dm_set_atomic_regamma(stream, regamma_lu [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dcn31/ |
H A D | dcn31_hwseq.c | 381 ASSERT(pipe_ctx->stream); 386 is_hdmi_tmds = dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal); 387 is_dp = dc_is_dp_signal(pipe_ctx->stream->signal); 396 else if (pipe_ctx->stream->ctx->dc->link_srv->dp_is_128b_132b_signal(pipe_ctx)) { 513 pipe_ctx->stream = NULL; 527 pipe_ctx->stream_res.tg, &pipe_ctx->stream->timing); 528 if (dc_is_hdmi_tmds_signal(pipe_ctx->stream->signal)) 529 pipe_ctx->stream->link->phy_state.symclk_ref_cnts.otg = 0; 535 link = pipe_ctx->stream->link; 542 if (!pipe_ctx->stream [all...] |
/linux-master/sound/soc/intel/atom/ |
H A D | sst-mfld-platform.h | 153 int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute); 157 void sst_set_stream_status(struct sst_runtime_stream *stream, int state);
|
/linux-master/sound/core/oss/ |
H A D | pcm_plugin.h | 12 #define snd_pcm_plug_stream(plug) ((plug)->stream) 41 int stream; member in struct:snd_pcm_plugin
|
/linux-master/include/sound/ |
H A D | rawmidi.h | 6 * Abstract layer for MIDI v1.0 stream 61 /* midi stream buffer */ 69 size_t align; /* alignment (0 = byte stream, 3 = UMP) */ 83 struct list_head list; /* list of all substream for given stream */ 84 int stream; /* direction */ member in struct:snd_rawmidi_substream 152 void snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream,
|
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_psr.c | 138 static bool dmub_psr_set_version(struct dmub_psr *dmub, struct dc_stream_state *stream, uint8_t panel_inst) argument 143 if (stream->link->psr_settings.psr_version == DC_PSR_VERSION_UNSUPPORTED) 149 switch (stream->link->psr_settings.psr_version) { 304 if (res_ctx->pipe_ctx[i].stream && 305 res_ctx->pipe_ctx[i].stream->link == link && 306 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { 317 if (!dmub_psr_set_version(dmub, pipe_ctx->stream, panel_inst)) 379 copy_settings_data->dsc_enable_status = (pipe_ctx->stream->timing.flags.DSC == 1);
|
/linux-master/drivers/gpu/drm/imagination/ |
H A D | pvr_job.c | 53 * pvr_job_process_stream() - Build job FW structure from stream 56 * @stream: Pointer to command stream. 57 * @stream_size: Size of command stream, in bytes. 65 * * -%EINVAL on malformed stream. 69 void *stream, u32 stream_size, struct pvr_job *job) 79 err = pvr_stream_process(pvr_dev, cmd_defs, stream, stream_size, job->cmd); 90 void *stream; local 93 stream = kzalloc(stream_len, GFP_KERNEL); 94 if (!stream) 68 pvr_job_process_stream(struct pvr_device *pvr_dev, const struct pvr_stream_cmd_defs *cmd_defs, void *stream, u32 stream_size, struct pvr_job *job) argument [all...] |
/linux-master/arch/s390/crypto/ |
H A D | chacha-glue.c | 3 * s390 ChaCha stream cipher. 65 void hchacha_block_arch(const u32 *state, u32 *stream, int nrounds) argument 68 hchacha_block_generic(state, stream, nrounds); 127 MODULE_DESCRIPTION("ChaCha20 stream cipher");
|