• Home
  • Raw
  • Download

Lines Matching refs:hw

160 				runtime->hw.formats |= csp->acc_format;  in snd_sb16_csp_playback_open()
164 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_playback_open()
191 runtime->hw.formats |= csp->acc_format; in snd_sb16_csp_capture_open()
195 runtime->hw.formats |= SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW | in snd_sb16_csp_capture_open()
526 runtime->hw = snd_sb16_playback; in snd_sb16_playback_open()
534 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open()
537 runtime->hw.buffer_bytes_max = in snd_sb16_playback_open()
538 runtime->hw.period_bytes_max = 64 * 1024; in snd_sb16_playback_open()
550 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_playback_open()
553 runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8; in snd_sb16_playback_open()
555 runtime->hw.buffer_bytes_max = in snd_sb16_playback_open()
556 runtime->hw.period_bytes_max = 64 * 1024; in snd_sb16_playback_open()
564 runtime->hw.rate_max = 48000; in snd_sb16_playback_open()
566 runtime->hw.buffer_bytes_max = 32 * 1024; in snd_sb16_playback_open()
567 runtime->hw.periods_min = 2; in snd_sb16_playback_open()
568 runtime->hw.rate_min = 44100; in snd_sb16_playback_open()
571 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_playback_open()
601 runtime->hw = snd_sb16_capture; in snd_sb16_capture_open()
609 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_capture_open()
612 runtime->hw.buffer_bytes_max = in snd_sb16_capture_open()
613 runtime->hw.period_bytes_max = 64 * 1024; in snd_sb16_capture_open()
625 runtime->hw.formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U16_LE; in snd_sb16_capture_open()
628 runtime->hw.formats = SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_S8; in snd_sb16_capture_open()
630 runtime->hw.buffer_bytes_max = in snd_sb16_capture_open()
631 runtime->hw.period_bytes_max = 64 * 1024; in snd_sb16_capture_open()
639 runtime->hw.rate_max = 48000; in snd_sb16_capture_open()
641 runtime->hw.buffer_bytes_max = 32 * 1024; in snd_sb16_capture_open()
642 runtime->hw.periods_min = 2; in snd_sb16_capture_open()
643 runtime->hw.rate_min = 44100; in snd_sb16_capture_open()
646 runtime->hw.rate_min = runtime->hw.rate_max = chip->locked_rate; in snd_sb16_capture_open()