Searched refs:gpios_per_amp (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/sound/pci/hda/ |
D | cirrus_scodec_test.c | 184 int gpios_per_amp; member 192 int num_spk_id_refs = param->num_amps * param->gpios_per_amp; in cirrus_scodec_test_spkid_parse() 212 if (!(i % param->gpios_per_amp) && in cirrus_scodec_test_spkid_parse() 213 (i % (param->gpios_per_amp * param->num_amps_sharing))) in cirrus_scodec_test_spkid_parse() 214 v -= param->gpios_per_amp; in cirrus_scodec_test_spkid_parse() 221 for (v = 0; v < (1 << param->gpios_per_amp); ++v) { in cirrus_scodec_test_spkid_parse() 224 v << (param->gpios_per_amp * (i / param->num_amps_sharing)); in cirrus_scodec_test_spkid_parse() 307 { .num_amps = 2, .gpios_per_amp = 1, .num_amps_sharing = 1 }, 308 { .num_amps = 2, .gpios_per_amp = 2, .num_amps_sharing = 1 }, 309 { .num_amps = 2, .gpios_per_amp = 3, .num_amps_sharing = 1 }, [all …]
|
D | cirrus_scodec.c | 31 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()
|
D | cs35l41_hda.c | 1706 int gpios_per_amp; in cs35l41_get_speaker_id() local 1714 gpios_per_amp = count / num_amps; in cs35l41_get_speaker_id() 1715 base_index = gpios_per_amp * amp_index; in cs35l41_get_speaker_id() 1720 dev_dbg(dev, "Found %d Speaker ID GPIOs per Amp\n", gpios_per_amp); in cs35l41_get_speaker_id() 1722 for (i = 0; i < gpios_per_amp; i++) { in cs35l41_get_speaker_id()
|