Lines Matching refs:num_amps
19 int num_amps; member
139 int spkid_gpio, int cs_gpio_index, int num_amps) in cs35l41_add_gpios() argument
165 if ((cs_gpio_index >= 0) && (num_amps == 2)) { in cs35l41_add_gpios()
184 reset_gpio_params = devm_kcalloc(physdev, num_amps, sizeof(struct acpi_gpio_params), in cs35l41_add_gpios()
189 for (i = 0; i < num_amps; i++) in cs35l41_add_gpios()
193 gpio_mapping[reset_index].size = num_amps; in cs35l41_add_gpios()
198 spkid_gpio_params = devm_kcalloc(physdev, num_amps, sizeof(struct acpi_gpio_params), in cs35l41_add_gpios()
203 for (i = 0; i < num_amps; i++) in cs35l41_add_gpios()
207 gpio_mapping[spkid_index].size = num_amps; in cs35l41_add_gpios()
210 if ((cs_gpio_index >= 0) && (num_amps == 2)) { in cs35l41_add_gpios()
263 cfg->num_amps); in generic_dsd_config()
287 if (cfg->num_amps != 2) { in generic_dsd_config()
290 cfg->num_amps); in generic_dsd_config()
316 if (cfg->num_amps > 2) in generic_dsd_config()
330 cs35l41->speaker_id = cs35l41_get_speaker_id(physdev, cs35l41->index, cfg->num_amps, -1); in generic_dsd_config()