/linux-master/sound/soc/qcom/ |
H A D | sc8280xp.c | 51 static void sc8280xp_snd_shutdown(struct snd_pcm_substream *substream) argument 53 struct snd_soc_pcm_runtime *rtd = substream->private_data; 89 static int sc8280xp_snd_hw_params(struct snd_pcm_substream *substream, argument 92 struct snd_soc_pcm_runtime *rtd = substream->private_data; 96 return qcom_snd_sdw_hw_params(substream, params, &pdata->sruntime[cpu_dai->id]); 99 static int sc8280xp_snd_prepare(struct snd_pcm_substream *substream) argument 101 struct snd_soc_pcm_runtime *rtd = substream->private_data; 106 return qcom_snd_sdw_prepare(substream, sruntime, 110 static int sc8280xp_snd_hw_free(struct snd_pcm_substream *substream) argument 112 struct snd_soc_pcm_runtime *rtd = substream [all...] |
/linux-master/sound/isa/msnd/ |
H A D | msnd_midi.c | 41 static int snd_msndmidi_input_open(struct snd_rawmidi_substream *substream) argument 47 mpu = substream->rmidi->private_data; 49 mpu->substream_input = substream; 58 static int snd_msndmidi_input_close(struct snd_rawmidi_substream *substream) argument 62 mpu = substream->rmidi->private_data; 81 static void snd_msndmidi_input_trigger(struct snd_rawmidi_substream *substream, argument 89 mpu = substream->rmidi->private_data;
|
/linux-master/sound/soc/amd/ps/ |
H A D | ps-sdw-dma.c | 215 struct snd_pcm_substream *substream) 221 struct snd_soc_pcm_runtime *prtd = substream->private_data; 224 runtime = substream->runtime; 231 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 250 struct snd_pcm_substream *substream, 264 stream = substream->runtime->private_data; 270 sdw_data->sdw0_dma_stream[stream_id] = substream; 273 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 279 sdw_data->sdw1_dma_stream[stream_id] = substream; 289 stream->dma_addr = substream 214 acp63_sdw_dma_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 249 acp63_sdw_dma_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 331 acp63_sdw_dma_pointer(struct snd_soc_component *comp, struct snd_pcm_substream *substream) argument 360 acp63_sdw_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 384 acp63_sdw_dma_enable(struct snd_pcm_substream *substream, void __iomem *acp_base, bool sdw_dma_enable) argument 413 acp63_sdw_dma_trigger(struct snd_soc_component *comp, struct snd_pcm_substream *substream, int cmd) argument 499 struct snd_pcm_substream *substream; local [all...] |
/linux-master/sound/pci/nm256/ |
H A D | nm256.c | 174 struct snd_pcm_substream *substream; member in struct:nm256_stream 183 int dma_size; /* buffer size of the substream in bytes */ 412 struct snd_pcm_substream *substream) 414 struct snd_pcm_runtime *runtime = substream->runtime; 430 switch (substream->stream) { 497 struct snd_pcm_substream *substream) 514 struct snd_pcm_substream *substream) 546 snd_nm256_playback_trigger(struct snd_pcm_substream *substream, int cmd) argument 548 struct nm256 *chip = snd_pcm_substream_chip(substream); 549 struct nm256_stream *s = substream 411 snd_nm256_set_format(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 496 snd_nm256_playback_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 513 snd_nm256_capture_start(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream) argument 584 snd_nm256_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument 621 snd_nm256_pcm_prepare(struct snd_pcm_substream *substream) argument 647 snd_nm256_playback_pointer(struct snd_pcm_substream *substream) argument 661 snd_nm256_capture_pointer(struct snd_pcm_substream *substream) argument 681 snd_nm256_playback_silence(struct snd_pcm_substream *substream, int channel, unsigned long pos, unsigned long count) argument 692 snd_nm256_playback_copy(struct snd_pcm_substream *substream, int channel, unsigned long pos, struct iov_iter *src, unsigned long count) argument 706 snd_nm256_capture_copy(struct snd_pcm_substream *substream, int channel, unsigned long pos, struct iov_iter *dst, unsigned long count) argument 796 snd_nm256_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument 807 snd_nm256_setup_stream(struct nm256 *chip, struct nm256_stream *s, struct snd_pcm_substream *substream, const struct snd_pcm_hardware *hw_ptr) argument 828 snd_nm256_playback_open(struct snd_pcm_substream *substream) argument 840 snd_nm256_capture_open(struct snd_pcm_substream *substream) argument 855 snd_nm256_playback_close(struct snd_pcm_substream *substream) argument 865 snd_nm256_capture_close(struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/soc/sti/ |
H A D | uniperif_reader.c | 50 if (!reader->substream) 53 snd_pcm_stream_lock(reader->substream); 68 snd_pcm_stop(reader->substream, SNDRV_PCM_STATE_XRUN); 74 snd_pcm_stream_unlock(reader->substream); 186 static int uni_reader_prepare(struct snd_pcm_substream *substream, argument 191 struct snd_pcm_runtime *runtime = substream->runtime; 337 static int uni_reader_trigger(struct snd_pcm_substream *substream, argument 353 static int uni_reader_startup(struct snd_pcm_substream *substream, argument 362 reader->substream = substream; 384 uni_reader_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument [all...] |
/linux-master/sound/soc/amd/vangogh/ |
H A D | acp5x-i2s.c | 82 static int acp5x_i2s_hwparams(struct snd_pcm_substream *substream, argument 98 prtd = snd_soc_substream_to_rtd(substream); 99 rtd = substream->runtime->private_data; 104 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 128 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 232 static int acp5x_i2s_trigger(struct snd_pcm_substream *substream, argument 241 rtd = substream->runtime->private_data; 242 period_bytes = frames_to_bytes(substream->runtime, 243 substream->runtime->period_size); 244 buf_size = frames_to_bytes(substream [all...] |
H A D | acp5x-pcm-dma.c | 203 struct snd_pcm_substream *substream) 211 runtime = substream->runtime; 212 prtd = snd_soc_substream_to_rtd(substream); 220 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 238 struct snd_pcm_substream *substream, 248 prtd = snd_soc_substream_to_rtd(substream); 252 rtd = substream->runtime->private_data; 258 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 262 adata->play_stream = substream; 266 adata->i2ssp_play_stream = substream; 202 acp5x_dma_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 237 acp5x_dma_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 290 acp5x_dma_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 318 acp5x_dma_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/soc/amd/raven/ |
H A D | acp3x-i2s.c | 72 static int acp3x_i2s_hwparams(struct snd_pcm_substream *substream, argument 83 prtd = snd_soc_substream_to_rtd(substream); 84 rtd = substream->runtime->private_data; 89 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 113 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { 148 static int acp3x_i2s_trigger(struct snd_pcm_substream *substream, argument 155 rtd = substream->runtime->private_data; 156 period_bytes = frames_to_bytes(substream->runtime, 157 substream->runtime->period_size); 158 buf_size = frames_to_bytes(substream [all...] |
/linux-master/sound/soc/ux500/ |
H A D | mop500_ab8500.c | 189 static int mop500_ab8500_startup(struct snd_pcm_substream *substream) argument 191 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 198 static void mop500_ab8500_shutdown(struct snd_pcm_substream *substream) argument 200 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 206 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 212 static int mop500_ab8500_hw_params(struct snd_pcm_substream *substream, argument 215 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 226 dev_dbg(dev, "%s: substream->pcm->name = %s\n" 227 "substream->pcm->id = %s.\n" 228 "substream 337 mop500_ab8500_hw_free(struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/drivers/ |
H A D | portman2x4.c | 486 static int snd_portman_midi_open(struct snd_rawmidi_substream *substream) argument 491 static int snd_portman_midi_close(struct snd_rawmidi_substream *substream) argument 496 static void snd_portman_midi_input_trigger(struct snd_rawmidi_substream *substream, argument 499 struct portman *pm = substream->rmidi->private_data; 504 pm->mode[substream->number] |= PORTMAN2X4_MODE_INPUT_TRIGGERED; 506 pm->mode[substream->number] &= ~PORTMAN2X4_MODE_INPUT_TRIGGERED; 510 static void snd_portman_midi_output_trigger(struct snd_rawmidi_substream *substream, argument 513 struct portman *pm = substream->rmidi->private_data; 519 while ((snd_rawmidi_transmit(substream, &byte, 1) == 1)) 520 portman_write_midi(pm, substream 542 struct snd_rawmidi_substream *substream; local [all...] |
H A D | aloop.c | 142 struct snd_pcm_substream *substream; member in struct:loopback_pcm 194 int device = dpcm->substream->pstr->pcm->device; 196 if (dpcm->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 198 return &dpcm->loopback->setup[dpcm->substream->number][device]; 244 * running. For example called by opposite substream 250 pcm_err(dpcm->substream->pcm, 282 pcm_err(dpcm->substream->pcm, 349 substream->runtime; 351 substream->runtime; 363 substream, SNDRV_PCM_STATE_DRAININ 401 loopback_trigger(struct snd_pcm_substream *substream, int cmd) argument 458 params_change(struct snd_pcm_substream *substream) argument 478 loopback_prepare(struct snd_pcm_substream *substream) argument 907 loopback_pointer(struct snd_pcm_substream *substream) argument 952 loopback_hw_free(struct snd_pcm_substream *substream) argument 964 get_cable_index(struct snd_pcm_substream *substream) argument 1036 free_cable(struct snd_pcm_substream *substream) argument 1227 loopback_open(struct snd_pcm_substream *substream) argument 1328 loopback_close(struct snd_pcm_substream *substream) argument [all...] |
/linux-master/drivers/media/pci/cx25821/ |
H A D | cx25821-alsa.c | 82 struct snd_pcm_substream *substream; member in struct:cx25821_audio_dev 343 snd_pcm_period_elapsed(chip->substream); 445 static int snd_cx25821_pcm_open(struct snd_pcm_substream *substream) argument 447 struct cx25821_audio_dev *chip = snd_pcm_substream_chip(substream); 448 struct snd_pcm_runtime *runtime = substream->runtime; 462 chip->substream = substream; 488 static int snd_cx25821_close(struct snd_pcm_substream *substream) argument 496 static int snd_cx25821_hw_params(struct snd_pcm_substream *substream, argument 499 struct cx25821_audio_dev *chip = snd_pcm_substream_chip(substream); 561 snd_cx25821_hw_free(struct snd_pcm_substream *substream) argument 576 snd_cx25821_prepare(struct snd_pcm_substream *substream) argument 584 snd_cx25821_card_trigger(struct snd_pcm_substream *substream, int cmd) argument 613 snd_cx25821_pointer(struct snd_pcm_substream *substream) argument 628 snd_cx25821_page(struct snd_pcm_substream *substream, unsigned long offset) argument [all...] |
/linux-master/sound/usb/misc/ |
H A D | ua101.c | 103 struct snd_pcm_substream *substream; member in struct:ua101::ua101_stream 191 ua->playback.substream->runtime->delay -= 217 runtime = stream->substream->runtime; 306 ua->playback.substream->runtime->delay += frames; 310 snd_pcm_period_elapsed(ua->playback.substream); 321 runtime = stream->substream->runtime; 409 snd_pcm_period_elapsed(stream->substream); 606 snd_pcm_stop_xrun(ua->capture.substream); 612 snd_pcm_stop_xrun(ua->playback.substream); 615 static int set_stream_hw(struct ua101 *ua, struct snd_pcm_substream *substream, argument 648 capture_pcm_open(struct snd_pcm_substream *substream) argument 669 playback_pcm_open(struct snd_pcm_substream *substream) argument 698 capture_pcm_close(struct snd_pcm_substream *substream) argument 710 playback_pcm_close(struct snd_pcm_substream *substream) argument 723 capture_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument 735 playback_pcm_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument 749 capture_pcm_prepare(struct snd_pcm_substream *substream) argument 779 playback_pcm_prepare(struct snd_pcm_substream *substream) argument 807 capture_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument 825 playback_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument [all...] |
/linux-master/sound/pci/trident/ |
H A D | trident_memory.c | 158 struct snd_pcm_substream *substream) 162 struct snd_pcm_runtime *runtime = substream->runtime; 186 dma_addr_t addr = snd_pcm_sgbuf_get_addr(substream, ofs); 203 struct snd_pcm_substream *substream) 208 struct snd_pcm_runtime *runtime = substream->runtime; 246 struct snd_pcm_substream *substream) 248 if (snd_BUG_ON(!trident || !substream)) 250 if (substream->dma_buffer.dev.type == SNDRV_DMA_TYPE_DEV_SG) 251 return snd_trident_alloc_sg_pages(trident, substream); 253 return snd_trident_alloc_cont_pages(trident, substream); 157 snd_trident_alloc_sg_pages(struct snd_trident *trident, struct snd_pcm_substream *substream) argument 202 snd_trident_alloc_cont_pages(struct snd_trident *trident, struct snd_pcm_substream *substream) argument 245 snd_trident_alloc_pages(struct snd_trident *trident, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/xen/ |
H A D | xen_snd_front_alsa.c | 242 stream_get(struct snd_pcm_substream *substream) argument 245 snd_pcm_substream_chip(substream); 248 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 249 stream = &pcm_instance->streams_pb[substream->number]; 251 stream = &pcm_instance->streams_cap[substream->number]; 353 static int alsa_open(struct snd_pcm_substream *substream) argument 356 snd_pcm_substream_chip(substream); 357 struct xen_snd_front_pcm_stream_info *stream = stream_get(substream); 358 struct snd_pcm_runtime *runtime = substream->runtime; 382 stream->evt_pair->evt.u.evt.substream 431 alsa_close(struct snd_pcm_substream *substream) argument 461 alsa_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 502 alsa_hw_free(struct snd_pcm_substream *substream) argument 512 alsa_prepare(struct snd_pcm_substream *substream) argument 546 alsa_trigger(struct snd_pcm_substream *substream, int cmd) argument 578 struct snd_pcm_substream *substream = evtchnl->u.evt.substream; local 598 alsa_pointer(struct snd_pcm_substream *substream) argument 605 alsa_pb_copy(struct snd_pcm_substream *substream, int channel, unsigned long pos, struct iov_iter *src, unsigned long count) argument 620 alsa_cap_copy(struct snd_pcm_substream *substream, int channel, unsigned long pos, struct iov_iter *dst, unsigned long count) argument 639 alsa_pb_fill_silence(struct snd_pcm_substream *substream, int channel, unsigned long pos, unsigned long count) argument [all...] |
/linux-master/sound/soc/fsl/ |
H A D | mpc5200_psc_ac97.c | 136 static int psc_ac97_hw_analog_params(struct snd_pcm_substream *substream, argument 141 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dma); 143 dev_dbg(psc_dma->dev, "%s(substream=%p) p_size=%i p_bytes=%i" 146 __func__, substream, params_period_size(params), 154 if (substream->pstr->stream != SNDRV_PCM_STREAM_CAPTURE) 159 static int psc_ac97_hw_digital_params(struct snd_pcm_substream *substream, argument 165 dev_dbg(psc_dma->dev, "%s(substream=%p)\n", __func__, substream); 175 static int psc_ac97_trigger(struct snd_pcm_substream *substream, int cmd, argument 179 struct psc_dma_stream *s = to_psc_dma_stream(substream, psc_dm [all...] |
/linux-master/sound/pci/ |
H A D | via82xx_modem.c | 208 struct snd_pcm_substream *substream; member in struct:viadev 263 static int build_via_table(struct viadev *dev, struct snd_pcm_substream *substream, argument 268 struct via82xx_modem *chip = snd_pcm_substream_chip(substream); 307 addr = snd_pcm_sgbuf_get_addr(substream, ofs); 339 static int clean_via_table(struct viadev *dev, struct snd_pcm_substream *substream, argument 493 if (viadev->substream && viadev->running) { 495 snd_pcm_period_elapsed(viadev->substream); 511 static int snd_via82xx_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument 513 struct via82xx_modem *chip = snd_pcm_substream_chip(substream); 514 struct viadev *viadev = substream 608 snd_via686_pcm_pointer(struct snd_pcm_substream *substream) argument 640 snd_via82xx_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *hw_params) argument 663 snd_via82xx_hw_free(struct snd_pcm_substream *substream) argument 687 snd_via82xx_pcm_prepare(struct snd_pcm_substream *substream) argument 728 snd_via82xx_modem_pcm_open(struct via82xx_modem *chip, struct viadev *viadev, struct snd_pcm_substream *substream) argument 763 snd_via82xx_playback_open(struct snd_pcm_substream *substream) argument 774 snd_via82xx_capture_open(struct snd_pcm_substream *substream) argument 785 snd_via82xx_pcm_close(struct snd_pcm_substream *substream) argument [all...] |
H A D | rme32.c | 225 static int snd_rme32_playback_prepare(struct snd_pcm_substream *substream); 227 static int snd_rme32_capture_prepare(struct snd_pcm_substream *substream); 229 static int snd_rme32_pcm_trigger(struct snd_pcm_substream *substream, int cmd); 242 static int snd_rme32_playback_silence(struct snd_pcm_substream *substream, argument 246 struct rme32 *rme32 = snd_pcm_substream_chip(substream); 253 static int snd_rme32_playback_copy(struct snd_pcm_substream *substream, argument 257 struct rme32 *rme32 = snd_pcm_substream_chip(substream); 264 static int snd_rme32_capture_copy(struct snd_pcm_substream *substream, argument 268 struct rme32 *rme32 = snd_pcm_substream_chip(substream); 632 snd_rme32_playback_hw_params(struct snd_pcm_substream *substream, argument 689 snd_rme32_capture_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 816 snd_rme32_playback_spdif_open(struct snd_pcm_substream *substream) argument 861 snd_rme32_capture_spdif_open(struct snd_pcm_substream *substream) argument 901 snd_rme32_playback_adat_open(struct snd_pcm_substream *substream) argument 938 snd_rme32_capture_adat_open(struct snd_pcm_substream *substream) argument 972 snd_rme32_playback_close(struct snd_pcm_substream *substream) argument 991 snd_rme32_capture_close(struct snd_pcm_substream *substream) argument 1002 snd_rme32_playback_prepare(struct snd_pcm_substream *substream) argument 1021 snd_rme32_capture_prepare(struct snd_pcm_substream *substream) argument 1039 snd_rme32_pcm_trigger(struct snd_pcm_substream *substream, int cmd) argument 1094 snd_rme32_playback_pointer(struct snd_pcm_substream *substream) argument 1101 snd_rme32_capture_pointer(struct snd_pcm_substream *substream) argument 1109 snd_rme32_pb_trans_copy(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, size_t bytes) argument 1117 snd_rme32_playback_fd_ack(struct snd_pcm_substream *substream) argument 1133 snd_rme32_cp_trans_copy(struct snd_pcm_substream *substream, struct snd_pcm_indirect *rec, size_t bytes) argument 1142 snd_rme32_capture_fd_ack(struct snd_pcm_substream *substream) argument 1150 snd_rme32_playback_fd_pointer(struct snd_pcm_substream *substream) argument 1158 snd_rme32_capture_fd_pointer(struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/soc/generic/ |
H A D | test-component.c | 25 struct snd_pcm_substream *substream; member in struct:test_priv 150 static int test_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 157 static void test_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 162 static int test_dai_hw_params(struct snd_pcm_substream *substream, argument 170 static int test_dai_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 177 static int test_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument 184 static int test_dai_bespoke_trigger(struct snd_pcm_substream *substream, argument 353 struct snd_pcm_substream *substream) 355 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); 361 snd_soc_set_runtime_hwparams(substream, 352 test_component_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 366 test_component_close(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 374 test_component_ioctl(struct snd_soc_component *component, struct snd_pcm_substream *substream, unsigned int cmd, void *arg) argument 383 test_component_hw_params(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) argument 392 test_component_hw_free(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 400 test_component_prepare(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 428 test_component_trigger(struct snd_soc_component *component, struct snd_pcm_substream *substream, int cmd) argument 448 test_component_sync_stop(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 456 test_component_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 474 test_component_get_time_info(struct snd_soc_component *component, struct snd_pcm_substream *substream, struct timespec64 *system_ts, struct timespec64 *audio_ts, struct snd_pcm_audio_tstamp_config *audio_tstamp_config, struct snd_pcm_audio_tstamp_report *audio_tstamp_report) argument [all...] |
/linux-master/sound/soc/intel/catpt/ |
H A D | pcm.c | 75 catpt_get_stream_template(struct snd_pcm_substream *substream) argument 77 struct snd_soc_pcm_runtime *rtm = snd_soc_substream_to_rtd(substream); 86 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 90 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) 153 static void catpt_arrange_page_table(struct snd_pcm_substream *substream, argument 156 struct snd_pcm_runtime *rtm = substream->runtime; 157 struct snd_dma_buffer *databuf = snd_pcm_get_dma_buf(substream); 259 static int catpt_dai_startup(struct snd_pcm_substream *substream, argument 268 template = catpt_get_stream_template(substream); 289 stream->substream 306 catpt_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 373 catpt_dai_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) argument 427 catpt_dai_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 444 catpt_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) argument 467 catpt_dai_trigger(struct snd_pcm_substream *substream, int cmd, struct snd_soc_dai *dai) argument 525 struct snd_pcm_substream *substream = stream->substream; local 593 catpt_component_open(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument 604 catpt_component_pointer(struct snd_soc_component *component, struct snd_pcm_substream *substream) argument [all...] |
/linux-master/sound/pci/ca0106/ |
H A D | ca0106_main.c | 546 static int snd_ca0106_pcm_open_playback_channel(struct snd_pcm_substream *substream, argument 549 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); 552 struct snd_pcm_runtime *runtime = substream->runtime; 560 epcm->substream = substream; 584 snd_pcm_set_sync(substream); 599 static int snd_ca0106_pcm_close_playback(struct snd_pcm_substream *substream) argument 601 struct snd_ca0106 *chip = snd_pcm_substream_chip(substream); 602 struct snd_pcm_runtime *runtime = substream->runtime; 620 static int snd_ca0106_pcm_open_playback_front(struct snd_pcm_substream *substream) argument 625 snd_ca0106_pcm_open_playback_center_lfe(struct snd_pcm_substream *substream) argument 630 snd_ca0106_pcm_open_playback_unknown(struct snd_pcm_substream *substream) argument 635 snd_ca0106_pcm_open_playback_rear(struct snd_pcm_substream *substream) argument 641 snd_ca0106_pcm_open_capture_channel(struct snd_pcm_substream *substream, int channel_id) argument 684 snd_ca0106_pcm_close_capture(struct snd_pcm_substream *substream) argument 694 snd_ca0106_pcm_open_0_capture(struct snd_pcm_substream *substream) argument 699 snd_ca0106_pcm_open_1_capture(struct snd_pcm_substream *substream) argument 704 snd_ca0106_pcm_open_2_capture(struct snd_pcm_substream *substream) argument 709 snd_ca0106_pcm_open_3_capture(struct snd_pcm_substream *substream) argument 715 snd_ca0106_pcm_prepare_playback(struct snd_pcm_substream *substream) argument 828 snd_ca0106_pcm_prepare_capture(struct snd_pcm_substream *substream) argument 919 snd_ca0106_pcm_trigger_playback(struct snd_pcm_substream *substream, int cmd) argument 986 snd_ca0106_pcm_trigger_capture(struct snd_pcm_substream *substream, int cmd) argument 1015 snd_ca0106_pcm_pointer_playback(struct snd_pcm_substream *substream) argument 1045 snd_ca0106_pcm_pointer_capture(struct snd_pcm_substream *substream) argument 1284 struct snd_pcm_substream *substream; local [all...] |
/linux-master/drivers/media/usb/cx231xx/ |
H A D | cx231xx-audio.c | 88 struct snd_pcm_substream *substream; local 112 substream = dev->adev.capture_pcm_substream; 113 runtime = substream->runtime; 140 snd_pcm_stream_lock_irqsave(substream, flags); 155 snd_pcm_stream_unlock_irqrestore(substream, flags); 158 snd_pcm_period_elapsed(substream); 179 struct snd_pcm_substream *substream; local 203 substream = dev->adev.capture_pcm_substream; 204 runtime = substream->runtime; 227 snd_pcm_stream_lock_irqsave(substream, flag 395 snd_cx231xx_capture_open(struct snd_pcm_substream *substream) argument 441 snd_cx231xx_pcm_close(struct snd_pcm_substream *substream) argument 479 snd_cx231xx_prepare(struct snd_pcm_substream *substream) argument 507 snd_cx231xx_capture_trigger(struct snd_pcm_substream *substream, int cmd) argument 535 snd_cx231xx_capture_pointer(struct snd_pcm_substream *substream) argument [all...] |
/linux-master/include/trace/events/ |
H A D | sof_intel.h | 92 struct snd_pcm_substream *substream, 95 TP_ARGS(sdev, hstream, substream, pos), 99 __field(u32, substream) 105 __entry->substream = substream->stream; 108 TP_printk("device_name=%s hstream_index=%d substream=%d pos=%lu", 110 __entry->substream, __entry->pos)
|
/linux-master/sound/soc/meson/ |
H A D | aiu-fifo-i2s.c | 47 static int aiu_fifo_i2s_trigger(struct snd_pcm_substream *substream, int cmd, argument 62 return aiu_fifo_trigger(substream, cmd, dai); 65 static int aiu_fifo_i2s_prepare(struct snd_pcm_substream *substream, argument 71 ret = aiu_fifo_prepare(substream, dai); 86 static int aiu_fifo_i2s_hw_params(struct snd_pcm_substream *substream, argument 99 ret = aiu_fifo_hw_params(substream, params, dai);
|
H A D | aiu-fifo-spdif.c | 57 static int fifo_spdif_trigger(struct snd_pcm_substream *substream, int cmd, argument 63 ret = aiu_fifo_trigger(substream, cmd, dai); 85 static int fifo_spdif_prepare(struct snd_pcm_substream *substream, argument 91 ret = aiu_fifo_prepare(substream, dai); 106 static int fifo_spdif_hw_params(struct snd_pcm_substream *substream, argument 114 ret = aiu_fifo_hw_params(substream, params, dai);
|