Lines Matching refs:pcm_device
431 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_prepare_playback() local
432 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_prepare_playback()
442 pcm_device->stream_number, in snd_aw2_pcm_prepare_playback()
447 snd_aw2_saa7146_define_it_playback_callback(pcm_device->stream_number, in snd_aw2_pcm_prepare_playback()
460 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_prepare_capture() local
461 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_prepare_capture()
471 pcm_device->stream_number, in snd_aw2_pcm_prepare_capture()
476 snd_aw2_saa7146_define_it_capture_callback(pcm_device->stream_number, in snd_aw2_pcm_prepare_capture()
491 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_trigger_playback() local
492 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_trigger_playback()
497 pcm_device-> in snd_aw2_pcm_trigger_playback()
502 pcm_device-> in snd_aw2_pcm_trigger_playback()
517 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_trigger_capture() local
518 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_trigger_capture()
523 pcm_device-> in snd_aw2_pcm_trigger_capture()
528 pcm_device-> in snd_aw2_pcm_trigger_capture()
542 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_pointer_playback() local
543 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_pointer_playback()
550 pcm_device->stream_number, in snd_aw2_pcm_pointer_playback()
561 struct aw2_pcm_device *pcm_device = snd_pcm_substream_chip(substream); in snd_aw2_pcm_pointer_capture() local
562 struct aw2 *chip = pcm_device->chip; in snd_aw2_pcm_pointer_capture()
569 pcm_device->stream_number, in snd_aw2_pcm_pointer_capture()
582 struct aw2_pcm_device *pcm_device; in snd_aw2_new_pcm() local
595 pcm_device = &chip->device_playback[NUM_STREAM_PLAYBACK_ANA]; in snd_aw2_new_pcm()
600 pcm_playback_ana->private_data = pcm_device; in snd_aw2_new_pcm()
605 pcm_device->pcm = pcm_playback_ana; in snd_aw2_new_pcm()
608 pcm_device->chip = chip; in snd_aw2_new_pcm()
610 pcm_device->stream_number = NUM_STREAM_PLAYBACK_ANA; in snd_aw2_new_pcm()
627 pcm_device = &chip->device_playback[NUM_STREAM_PLAYBACK_DIG]; in snd_aw2_new_pcm()
632 pcm_playback_num->private_data = pcm_device; in snd_aw2_new_pcm()
637 pcm_device->pcm = pcm_playback_num; in snd_aw2_new_pcm()
640 pcm_device->chip = chip; in snd_aw2_new_pcm()
642 pcm_device->stream_number = NUM_STREAM_PLAYBACK_DIG; in snd_aw2_new_pcm()
660 pcm_device = &chip->device_capture[NUM_STREAM_CAPTURE_ANA]; in snd_aw2_new_pcm()
665 pcm_capture->private_data = pcm_device; in snd_aw2_new_pcm()
670 pcm_device->pcm = pcm_capture; in snd_aw2_new_pcm()
673 pcm_device->chip = chip; in snd_aw2_new_pcm()
675 pcm_device->stream_number = NUM_STREAM_CAPTURE_ANA; in snd_aw2_new_pcm()