Home
last modified time | relevance | path

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

/sound/soc/codecs/
Dpcm3008.c32 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_dac_ev() local
34 gpio_set_value_cansleep(setup->pdda_pin, in pcm3008_dac_ev()
45 struct pcm3008_setup_data *setup = component->dev->platform_data; in pcm3008_adc_ev() local
47 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()
Dtlv320aic32x4.c49 struct aic32x4_setup_data *setup; member
960 if (aic32x4->setup->gpio_func[0] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
962 aic32x4->setup->gpio_func[0]); in aic32x4_setup_gpios()
968 if (aic32x4->setup->gpio_func[1] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
970 aic32x4->setup->gpio_func[1]); in aic32x4_setup_gpios()
976 if (aic32x4->setup->gpio_func[2] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
978 aic32x4->setup->gpio_func[2]); in aic32x4_setup_gpios()
984 if (aic32x4->setup->gpio_func[3] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
986 aic32x4->setup->gpio_func[3]); in aic32x4_setup_gpios()
992 if (aic32x4->setup->gpio_func[4] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
[all …]
Dtlv320aic3x.c75 struct aic3x_setup_data *setup; member
1636 if (aic3x->setup) { in aic3x_component_probe()
1640 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_component_probe()
1642 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_component_probe()
1775 aic3x->setup = pdata->setup; in aic3x_probe()
1797 aic3x->setup = ai3x_setup; in aic3x_probe()
/sound/core/oss/
Dpcm_oss.c710 if (substream->oss.setup.period_size > 16) in snd_pcm_oss_period_size()
711 oss_period_size = substream->oss.setup.period_size; in snd_pcm_oss_period_size()
757 if (substream->oss.setup.periods > 1) in snd_pcm_oss_period_size()
758 oss_periods = substream->oss.setup.periods; in snd_pcm_oss_period_size()
873 direct = substream->oss.setup.direct; in snd_pcm_oss_change_params_locked()
1020 substream->oss.setup.nosilence) { in snd_pcm_oss_change_params_locked()
1425 if (substream->oss.setup.partialfrag || in snd_pcm_oss_write1()
1853 direct = substream->oss.setup.direct; in snd_pcm_oss_get_formats()
2240 if (substream->oss.setup.buggyptr) in snd_pcm_oss_get_ptr()
2340 struct snd_pcm_oss_setup *setup; in snd_pcm_oss_look_for_setup() local
[all …]
/sound/pci/ctxfi/
Dctmixer.c946 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
949 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
957 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
960 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
966 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
969 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build()
975 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
978 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
984 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
987 amix_d->ops->setup(amix_d, NULL, INIT_VOL, sum); in ct_mixer_topology_build()
[all …]
Dctamixer.h68 int (*setup)(struct amixer *amixer, struct rsc *input, member
Dctatc.c302 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
674 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
687 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
921 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare()
Dctamixer.c191 .setup = amixer_setup,
/sound/drivers/
Daloop.c134 struct loopback_setup setup[MAX_PCM_SUBSTREAMS][2]; member
193 return &dpcm->loopback->setup[dpcm->substream->number][device]; in get_setup()
323 struct loopback_setup *setup; in loopback_check_format() local
349 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
351 if (setup->format != runtime->format) { in loopback_check_format()
353 &setup->format_id); in loopback_check_format()
354 setup->format = runtime->format; in loopback_check_format()
356 if (setup->rate != runtime->rate) { in loopback_check_format()
358 &setup->rate_id); in loopback_check_format()
359 setup->rate = runtime->rate; in loopback_check_format()
[all …]
/sound/usb/
Dquirks.c1155 if (chip->setup & MAUDIO_SET) { in quattro_skip_setting_quirk()
1156 if (chip->setup & MAUDIO_SET_COMPATIBLE) { in quattro_skip_setting_quirk()
1163 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in quattro_skip_setting_quirk()
1165 mask = chip->setup & MAUDIO_SET_MASK; in quattro_skip_setting_quirk()
1176 altno, iface, chip->setup); in quattro_skip_setting_quirk()
1189 if (chip->setup & MAUDIO_SET) { in audiophile_skip_setting_quirk()
1191 if ((chip->setup & MAUDIO_SET_DTS) && altno != 6) in audiophile_skip_setting_quirk()
1193 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in audiophile_skip_setting_quirk()
1195 mask = chip->setup & MAUDIO_SET_MASK; in audiophile_skip_setting_quirk()
1220 if (chip->setup & (MAUDIO_SET | MAUDIO_SET_24B)) { in fasttrackpro_skip_setting_quirk()
[all …]
Dmixer_s1810c.c555 "Presonus Studio 1810c, device_setup: %u\n", chip->setup); in snd_sc1810_init_mixer()
556 if (chip->setup == 1) in snd_sc1810_init_mixer()
558 else if (chip->setup == 2) in snd_sc1810_init_mixer()
Dusbaudio.h56 int setup; /* from the 'device_setup' module param */ member
Dformat.c659 if (chip->setup == 0x00 && in parse_audio_format_i()
Dcard.c636 chip->setup = device_setup[idx]; in snd_usb_audio_create()
Dmixer_scarlett_gen2.c3546 if (!private->msd_switch && !(mixer->chip->setup & SCARLETT2_MSD_ENABLE)) in scarlett2_add_msd_ctl()
4054 if (!(chip->setup & SCARLETT2_ENABLE)) { in snd_scarlett_gen2_init()
/sound/usb/line6/
DKconfig15 * Reading/writing complete channel, effects setup, and amp
16 setup data
/sound/core/
Dpcm.c827 struct snd_pcm_oss_setup *setup, *setupn; in snd_pcm_free_stream() local
841 for (setup = pstr->oss.setup_list; setup; setup = setupn) { in snd_pcm_free_stream()
842 setupn = setup->next; in snd_pcm_free_stream()
843 kfree(setup->task_name); in snd_pcm_free_stream()
844 kfree(setup); in snd_pcm_free_stream()
/sound/pci/hda/
DKconfig60 codec setup, add extra verbs, and re-configure the codec dynamically.
90 firmware file ("patch") for overriding the BIOS setup at
Dpatch_hdmi.c84 bool setup; /* the stream has been set up by prepare callback */ member
1491 per_pin->setup = true; in hdmi_pcm_setup_pin()
1506 per_pin->setup = false; in hdmi_pcm_reset_pin()
1608 if (eld->eld_valid && !old_eld_valid && per_pin->setup) { in update_eld()
1696 if (per_pin->setup) { in silent_stream_enable()
2107 per_pin->setup = true; in generic_hdmi_playback_pcm_prepare()
2200 per_pin->setup = false; in hdmi_pcm_close()