Lines Matching refs:gpios_per_amp
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 },
310 { .num_amps = 2, .gpios_per_amp = 4, .num_amps_sharing = 1 },
311 { .num_amps = 3, .gpios_per_amp = 1, .num_amps_sharing = 1 },
312 { .num_amps = 3, .gpios_per_amp = 2, .num_amps_sharing = 1 },
313 { .num_amps = 3, .gpios_per_amp = 3, .num_amps_sharing = 1 },
314 { .num_amps = 3, .gpios_per_amp = 4, .num_amps_sharing = 1 },
315 { .num_amps = 4, .gpios_per_amp = 1, .num_amps_sharing = 1 },
316 { .num_amps = 4, .gpios_per_amp = 2, .num_amps_sharing = 1 },
317 { .num_amps = 4, .gpios_per_amp = 3, .num_amps_sharing = 1 },
318 { .num_amps = 4, .gpios_per_amp = 4, .num_amps_sharing = 1 },
321 { .num_amps = 2, .gpios_per_amp = 1, .num_amps_sharing = 2 },
322 { .num_amps = 2, .gpios_per_amp = 2, .num_amps_sharing = 2 },
323 { .num_amps = 2, .gpios_per_amp = 3, .num_amps_sharing = 2 },
324 { .num_amps = 2, .gpios_per_amp = 4, .num_amps_sharing = 2 },
325 { .num_amps = 3, .gpios_per_amp = 1, .num_amps_sharing = 3 },
326 { .num_amps = 3, .gpios_per_amp = 2, .num_amps_sharing = 3 },
327 { .num_amps = 3, .gpios_per_amp = 3, .num_amps_sharing = 3 },
328 { .num_amps = 3, .gpios_per_amp = 4, .num_amps_sharing = 3 },
329 { .num_amps = 4, .gpios_per_amp = 1, .num_amps_sharing = 4 },
330 { .num_amps = 4, .gpios_per_amp = 2, .num_amps_sharing = 4 },
331 { .num_amps = 4, .gpios_per_amp = 3, .num_amps_sharing = 4 },
332 { .num_amps = 4, .gpios_per_amp = 4, .num_amps_sharing = 4 },
335 { .num_amps = 4, .gpios_per_amp = 1, .num_amps_sharing = 2 },
336 { .num_amps = 4, .gpios_per_amp = 2, .num_amps_sharing = 2 },
337 { .num_amps = 4, .gpios_per_amp = 3, .num_amps_sharing = 2 },
338 { .num_amps = 4, .gpios_per_amp = 4, .num_amps_sharing = 2 },
345 param->num_amps, param->gpios_per_amp, param->num_amps_sharing); in cirrus_scodec_test_spkid_param_desc()