Searched refs:num_amps (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/sound/pci/hda/ |
D | cirrus_scodec_test.c | 183 int num_amps; member 192 int num_spk_id_refs = param->num_amps * param->gpios_per_amp; in cirrus_scodec_test_spkid_parse() 220 for (i = 0; i < param->num_amps; ++i) { in cirrus_scodec_test_spkid_parse() 226 ret = cirrus_scodec_get_speaker_id(dev, i, param->num_amps, -1); 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 }, [all …]
|
D | cs35l41_hda_property.c | 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() [all …]
|
D | cirrus_scodec.c | 15 int num_amps, int fixed_gpio_id) in cirrus_scodec_get_speaker_id() argument 39 gpios_per_amp = count / num_amps; in cirrus_scodec_get_speaker_id() 42 if (count % num_amps) in cirrus_scodec_get_speaker_id()
|
D | cirrus_scodec.h | 11 int num_amps, int fixed_gpio_id);
|
D | cs35l41_hda.h | 106 int cs35l41_get_speaker_id(struct device *dev, int amp_index, int num_amps, int fixed_gpio_id);
|
D | cs35l41_hda.c | 1689 int cs35l41_get_speaker_id(struct device *dev, int amp_index, int num_amps, int fixed_gpio_id) in cs35l41_get_speaker_id() argument 1714 gpios_per_amp = count / num_amps; in cs35l41_get_speaker_id() 1717 if (count % num_amps) in cs35l41_get_speaker_id()
|
/linux-6.12.1/sound/soc/codecs/ |
D | cs-amp-lib-test.c | 33 int num_amps; member 37 static void cs_amp_lib_test_init_dummy_cal_blob(struct kunit *test, int num_amps) in cs_amp_lib_test_init_dummy_cal_blob() argument 44 sizeof(struct cirrus_amp_cal_data) * num_amps; in cs_amp_lib_test_init_dummy_cal_blob() 50 priv->cal_blob->count = num_amps; in cs_amp_lib_test_init_dummy_cal_blob() 52 get_random_bytes(priv->cal_blob->data, sizeof(struct cirrus_amp_cal_data) * num_amps); in cs_amp_lib_test_init_dummy_cal_blob() 55 for (i = 0; i < num_amps; i++) in cs_amp_lib_test_init_dummy_cal_blob() 59 for (i = 0; i < num_amps; i++) in cs_amp_lib_test_init_dummy_cal_blob() 218 cs_amp_lib_test_init_dummy_cal_blob(test, param->num_amps); in cs_amp_lib_test_get_efi_cal_by_uid_test() 253 cs_amp_lib_test_init_dummy_cal_blob(test, param->num_amps); in cs_amp_lib_test_get_efi_cal_by_index_unchecked_test() 287 cs_amp_lib_test_init_dummy_cal_blob(test, param->num_amps); in cs_amp_lib_test_get_efi_cal_by_index_checked_test() [all …]
|