Lines Matching refs:pcm_device
409 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_prepare_playback() local
410 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_prepare_playback()
420 pcm_device->stream_number, in snd_aw2_pcm_prepare_playback()
425 snd_aw2_saa7146_define_it_playback_callback(pcm_device->stream_number, in snd_aw2_pcm_prepare_playback()
438 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_prepare_capture() local
439 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_prepare_capture()
449 pcm_device->stream_number, in snd_aw2_pcm_prepare_capture()
454 snd_aw2_saa7146_define_it_capture_callback(pcm_device->stream_number, in snd_aw2_pcm_prepare_capture()
469 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_trigger_playback() local
470 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_trigger_playback()
475 pcm_device-> in snd_aw2_pcm_trigger_playback()
480 pcm_device-> in snd_aw2_pcm_trigger_playback()
495 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_trigger_capture() local
496 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_trigger_capture()
501 pcm_device-> in snd_aw2_pcm_trigger_capture()
506 pcm_device-> in snd_aw2_pcm_trigger_capture()
520 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_pointer_playback() local
521 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_pointer_playback()
528 pcm_device->stream_number, in snd_aw2_pcm_pointer_playback()
539 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_pointer_capture() local
540 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_pointer_capture()
547 pcm_device->stream_number, in snd_aw2_pcm_pointer_capture()
560 struct aw2_pcm_device *pcm_device; in snd_aw2_new_pcm() local
573 pcm_device = &chip->device_playback[NUM_STREAM_PLAYBACK_ANA]; in snd_aw2_new_pcm()
578 pcm_playback_ana->private_data = pcm_device; in snd_aw2_new_pcm()
583 pcm_device->pcm = pcm_playback_ana; in snd_aw2_new_pcm()
586 pcm_device->chip = chip; in snd_aw2_new_pcm()
588 pcm_device->stream_number = NUM_STREAM_PLAYBACK_ANA; in snd_aw2_new_pcm()
605 pcm_device = &chip->device_playback[NUM_STREAM_PLAYBACK_DIG]; in snd_aw2_new_pcm()
610 pcm_playback_num->private_data = pcm_device; in snd_aw2_new_pcm()
615 pcm_device->pcm = pcm_playback_num; in snd_aw2_new_pcm()
618 pcm_device->chip = chip; in snd_aw2_new_pcm()
620 pcm_device->stream_number = NUM_STREAM_PLAYBACK_DIG; in snd_aw2_new_pcm()
638 pcm_device = &chip->device_capture[NUM_STREAM_CAPTURE_ANA]; in snd_aw2_new_pcm()
643 pcm_capture->private_data = pcm_device; in snd_aw2_new_pcm()
648 pcm_device->pcm = pcm_capture; in snd_aw2_new_pcm()
651 pcm_device->chip = chip; in snd_aw2_new_pcm()
653 pcm_device->stream_number = NUM_STREAM_CAPTURE_ANA; in snd_aw2_new_pcm()