Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 18 of 18) 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
898 if (aic32x4->setup->gpio_func[0] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
900 aic32x4->setup->gpio_func[0]); in aic32x4_setup_gpios()
906 if (aic32x4->setup->gpio_func[1] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
908 aic32x4->setup->gpio_func[1]); in aic32x4_setup_gpios()
914 if (aic32x4->setup->gpio_func[2] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
916 aic32x4->setup->gpio_func[2]); in aic32x4_setup_gpios()
922 if (aic32x4->setup->gpio_func[3] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
924 aic32x4->setup->gpio_func[3]); in aic32x4_setup_gpios()
930 if (aic32x4->setup->gpio_func[4] != AIC32X4_MFPX_DEFAULT_VALUE) { in aic32x4_setup_gpios()
[all …]
Dtlv320aic3x.c76 struct aic3x_setup_data *setup; member
1640 if (aic3x->setup) { in aic3x_probe()
1644 (aic3x->setup->gpio_func[0] & 0xf) << 4); in aic3x_probe()
1646 (aic3x->setup->gpio_func[1] & 0xf) << 4); in aic3x_probe()
1798 aic3x->setup = pdata->setup; in aic3x_i2c_probe()
1821 aic3x->setup = ai3x_setup; in aic3x_i2c_probe()
/sound/drivers/
Daloop.c87 struct loopback_setup setup[MAX_PCM_SUBSTREAMS][2]; member
142 return &dpcm->loopback->setup[dpcm->substream->number][device]; in get_setup()
193 struct loopback_setup *setup; in loopback_check_format() local
219 setup = get_setup(cable->streams[SNDRV_PCM_STREAM_PLAYBACK]); in loopback_check_format()
221 if (setup->format != runtime->format) { in loopback_check_format()
223 &setup->format_id); in loopback_check_format()
224 setup->format = runtime->format; in loopback_check_format()
226 if (setup->rate != runtime->rate) { in loopback_check_format()
228 &setup->rate_id); in loopback_check_format()
229 setup->rate = runtime->rate; in loopback_check_format()
[all …]
/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()
1023 substream->oss.setup.nosilence) { in snd_pcm_oss_change_params_locked()
1423 if (substream->oss.setup.partialfrag || in snd_pcm_oss_write1()
1845 direct = substream->oss.setup.direct; in snd_pcm_oss_get_formats()
2227 if (substream->oss.setup.buggyptr) in snd_pcm_oss_get_ptr()
2325 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.c300 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare()
672 amixer->ops->setup(amixer, out_ports[i], in atc_pcm_capture_prepare()
685 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare()
919 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare()
Dctamixer.c191 .setup = amixer_setup,
/sound/usb/
Dquirks.c1171 if (chip->setup & MAUDIO_SET) { in quattro_skip_setting_quirk()
1172 if (chip->setup & MAUDIO_SET_COMPATIBLE) { in quattro_skip_setting_quirk()
1179 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in quattro_skip_setting_quirk()
1181 mask = chip->setup & MAUDIO_SET_MASK; in quattro_skip_setting_quirk()
1192 altno, iface, chip->setup); in quattro_skip_setting_quirk()
1205 if (chip->setup & MAUDIO_SET) { in audiophile_skip_setting_quirk()
1207 if ((chip->setup & MAUDIO_SET_DTS) && altno != 6) in audiophile_skip_setting_quirk()
1209 if ((chip->setup & MAUDIO_SET_96K) && altno != 1) in audiophile_skip_setting_quirk()
1211 mask = chip->setup & MAUDIO_SET_MASK; in audiophile_skip_setting_quirk()
1236 if (chip->setup & (MAUDIO_SET | MAUDIO_SET_24B)) { in fasttrackpro_skip_setting_quirk()
[all …]
Dusbaudio.h51 int setup; /* from the 'device_setup' module param */ member
Dformat.c511 if (chip->setup == 0x00 && in parse_audio_format_i()
Dcard.c656 chip->setup = device_setup[idx]; in snd_usb_audio_create()
Dmixer_scarlett_gen2.c2084 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/
DKconfig66 codec setup, add extra verbs, and re-configure the codec dynamically.
96 firmware file ("patch") for overriding the BIOS setup at
Dpatch_hdmi.c94 bool setup; /* the stream has been set up by prepare callback */ member
1426 per_pin->setup = true; in hdmi_pcm_setup_pin()
1441 per_pin->setup = false; in hdmi_pcm_reset_pin()
1502 if (eld->eld_valid && !old_eld_valid && per_pin->setup) { in update_eld()
1964 per_pin->setup = true; in generic_hdmi_playback_pcm_prepare()
2054 per_pin->setup = false; in hdmi_pcm_close()