Home
last modified time | relevance | path

Searched refs:gpios_per_amp (Results 1 – 3 of 3) sorted by relevance

/linux/sound/hda/codecs/side-codecs/
H A Dcirrus_scodec_test.c185 int gpios_per_amp; member
193 int num_spk_id_refs = param->num_amps * param->gpios_per_amp; in cirrus_scodec_test_spkid_parse()
213 if (!(i % param->gpios_per_amp) && in cirrus_scodec_test_spkid_parse()
214 (i % (param->gpios_per_amp * param->num_amps_sharing))) in cirrus_scodec_test_spkid_parse()
215 v -= param->gpios_per_amp; in cirrus_scodec_test_spkid_parse()
222 for (v = 0; v < (1 << param->gpios_per_amp); ++v) { in cirrus_scodec_test_spkid_parse()
225 v << (param->gpios_per_amp * (i / param->num_amps_sharing)); in cirrus_scodec_test_spkid_parse()
269 { .num_amps = 2, .gpios_per_amp = 1, .num_amps_sharing = 1 },
270 { .num_amps = 2, .gpios_per_amp = 2, .num_amps_sharing = 1 },
271 { .num_amps = 2, .gpios_per_amp = 3, .num_amps_sharing = 1 },
[all …]
H A Dcirrus_scodec.c31 int gpios_per_amp; in cirrus_scodec_get_speaker_id() local
39 gpios_per_amp = count / num_amps; in cirrus_scodec_get_speaker_id()
40 base_index = gpios_per_amp * amp_index; in cirrus_scodec_get_speaker_id()
45 dev_dbg(dev, "Found %d Speaker ID GPIOs per Amp\n", gpios_per_amp); in cirrus_scodec_get_speaker_id()
47 for (i = 0; i < gpios_per_amp; i++) { in cirrus_scodec_get_speaker_id()
H A Dcs35l41_hda.c1737 int gpios_per_amp; in cs35l41_get_speaker_id() local
1745 gpios_per_amp = count / num_amps; in cs35l41_get_speaker_id()
1746 base_index = gpios_per_amp * amp_index; in cs35l41_get_speaker_id()
1751 dev_dbg(dev, "Found %d Speaker ID GPIOs per Amp\n", gpios_per_amp); in cs35l41_get_speaker_id()
1753 for (i = 0; i < gpios_per_amp; i++) { in cs35l41_get_speaker_id()