Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 16 of 16) sorted by relevance

/sound/soc/codecs/
Dpcm3008.c36 struct pcm3008_setup_data *setup = codec->dev->platform_data; in pcm3008_dac_ev() local
38 gpio_set_value_cansleep(setup->pdda_pin, in pcm3008_dac_ev()
49 struct pcm3008_setup_data *setup = codec->dev->platform_data; in pcm3008_adc_ev() local
51 gpio_set_value_cansleep(setup->pdad_pin, in pcm3008_adc_ev()
110 struct pcm3008_setup_data *setup = pdev->dev.platform_data; in pcm3008_codec_probe() local
113 if (!setup) in pcm3008_codec_probe()
124 ret = devm_gpio_request_one(&pdev->dev, setup->dem0_pin, in pcm3008_codec_probe()
130 ret = devm_gpio_request_one(&pdev->dev, setup->dem1_pin, in pcm3008_codec_probe()
136 ret = devm_gpio_request_one(&pdev->dev, setup->pdad_pin, in pcm3008_codec_probe()
142 ret = devm_gpio_request_one(&pdev->dev, setup->pdda_pin, in pcm3008_codec_probe()
Dtlv320aic3x.c79 struct aic3x_setup_data *setup; member
1376 if (aic3x->setup) { in aic3x_probe()
1379 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_probe()
1381 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_probe()
1505 aic3x->setup = pdata->setup; in aic3x_i2c_probe()
1521 aic3x->setup = ai3x_setup; in aic3x_i2c_probe()
/sound/drivers/
Daloop.c101 struct loopback_setup setup[MAX_PCM_SUBSTREAMS][2]; member
156 return &dpcm->loopback->setup[dpcm->substream->number][device]; in get_setup()
203 struct loopback_setup *setup; in loopback_check_format() local
229 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
231 if (setup->format != runtime->format) { in loopback_check_format()
233 &setup->format_id); in loopback_check_format()
234 setup->format = runtime->format; in loopback_check_format()
236 if (setup->rate != runtime->rate) { in loopback_check_format()
238 &setup->rate_id); in loopback_check_format()
239 setup->rate = runtime->rate; in loopback_check_format()
[all …]
/sound/core/oss/
Dpcm_oss.c727 if (substream->oss.setup.period_size > 16) in snd_pcm_oss_period_size()
728 oss_period_size = substream->oss.setup.period_size; in snd_pcm_oss_period_size()
770 if (substream->oss.setup.periods > 1) in snd_pcm_oss_period_size()
771 oss_periods = substream->oss.setup.periods; in snd_pcm_oss_period_size()
868 direct = substream->oss.setup.direct; in snd_pcm_oss_change_params()
1011 substream->oss.setup.nosilence) { in snd_pcm_oss_change_params()
1392 if (substream->oss.setup.partialfrag || in snd_pcm_oss_write1()
1804 direct = substream->oss.setup.direct; in snd_pcm_oss_get_formats()
2151 if (substream->oss.setup.buggyptr) in snd_pcm_oss_get_ptr()
2249 struct snd_pcm_oss_setup *setup; in snd_pcm_oss_look_for_setup() local
[all …]
/sound/pci/ctxfi/
Dctmixer.c948 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
951 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
959 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
962 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
968 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
971 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
977 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
980 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
986 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
989 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
[all …]
Dctamixer.h72 int (*setup)(struct amixer *amixer, struct rsc *input, member
Dctatc.c303 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
673 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
686 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
920 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare()
Dctamixer.c196 .setup = amixer_setup,
/sound/usb/
Dquirks.c863 if (chip->setup & MAUDIO_SET) { in quattro_skip_setting_quirk()
864 if (chip->setup & MAUDIO_SET_COMPATIBLE) { in quattro_skip_setting_quirk()
871 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in quattro_skip_setting_quirk()
873 mask = chip->setup & MAUDIO_SET_MASK; in quattro_skip_setting_quirk()
884 altno, iface, chip->setup); in quattro_skip_setting_quirk()
897 if (chip->setup & MAUDIO_SET) { in audiophile_skip_setting_quirk()
899 if ((chip->setup & MAUDIO_SET_DTS) && altno != 6) in audiophile_skip_setting_quirk()
901 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in audiophile_skip_setting_quirk()
903 mask = chip->setup & MAUDIO_SET_MASK; in audiophile_skip_setting_quirk()
928 if (chip->setup & (MAUDIO_SET | MAUDIO_SET_24B)) { in fasttrackpro_skip_setting_quirk()
[all …]
Dusbaudio.h58 int setup; /* from the 'device_setup' module param */ member
Dformat.c384 if (chip->setup == 0x00 && in parse_audio_format_i()
Dcard.c404 chip->setup = device_setup[idx]; in snd_usb_audio_create()
/sound/core/
Dpcm.c822 struct snd_pcm_oss_setup *setup, *setupn; in snd_pcm_free_stream() local
834 for (setup = pstr->oss.setup_list; setup; setup = setupn) { in snd_pcm_free_stream()
835 setupn = setup->next; in snd_pcm_free_stream()
836 kfree(setup->task_name); in snd_pcm_free_stream()
837 kfree(setup); in snd_pcm_free_stream()
/sound/soc/davinci/
DKconfig44 setup.
/sound/pci/hda/
DKconfig69 codec configuration, change the codec setup, add extra verbs,
103 firmware file ("patch") for overriding the BIOS setup at
Dpatch_hdmi.c85 bool setup; /* the stream has been set up by prepare callback */ member
1617 if (eld->eld_valid && !old_eld_valid && per_pin->setup) { in hdmi_present_sense()
1816 per_pin->setup = true; in generic_hdmi_playback_pcm_prepare()
1879 per_pin->setup = false; in hdmi_pcm_close()