| /linux-6.15/drivers/firmware/cirrus/test/ |
| H A D | cs_dsp_test_control_parse.c | 1020 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), 2); in cs_dsp_ctl_parse_fw_name() 1023 list_for_each_entry(walkctl, &priv->dsp->ctl_list, list) { in cs_dsp_ctl_parse_fw_name() 1064 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), 2); in cs_dsp_ctl_alg_id_uniqueness() 1214 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), in cs_dsp_ctl_squash_reloaded_controls() 1219 list_for_each_entry(walkctl, &priv->dsp->ctl_list, list) { in cs_dsp_ctl_squash_reloaded_controls() 1230 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), in cs_dsp_ctl_squash_reloaded_controls() 1235 list_for_each_entry(walkctl, &priv->dsp->ctl_list, list) { in cs_dsp_ctl_squash_reloaded_controls() 1280 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), in cs_dsp_ctl_v2_squash_reloaded_controls() 1285 list_for_each_entry(walkctl, &priv->dsp->ctl_list, list) { in cs_dsp_ctl_v2_squash_reloaded_controls() 1296 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), in cs_dsp_ctl_v2_squash_reloaded_controls() [all …]
|
| H A D | cs_dsp_test_control_cache.c | 190 list_for_each_entry(ctl, &dsp->ctl_list, list) in cs_dsp_ctl_v2_cache_alloc() 372 KUNIT_ASSERT_EQ(test, list_count_nodes(&dsp->ctl_list), 3); in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 381 list_for_each_entry(walkctl, &dsp->ctl_list, list) { in cs_dsp_ctl_cache_init_multiple_fw_same_controls() 481 KUNIT_ASSERT_EQ(test, list_count_nodes(&dsp->ctl_list), 3); in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls() 490 list_for_each_entry(walkctl, &dsp->ctl_list, list) { in cs_dsp_ctl_cache_init_multiple_fwalgid_same_controls() 598 KUNIT_ASSERT_EQ(test, list_count_nodes(&dsp->ctl_list), in cs_dsp_ctl_cache_init_multiple_mems() 608 list_for_each_entry(walkctl, &dsp->ctl_list, list) { in cs_dsp_ctl_cache_init_multiple_mems() 699 KUNIT_ASSERT_EQ(test, list_count_nodes(&dsp->ctl_list), 3); in cs_dsp_ctl_cache_init_multiple_algs() 708 list_for_each_entry(walkctl, &dsp->ctl_list, list) { in cs_dsp_ctl_cache_init_multiple_algs() 814 KUNIT_ASSERT_EQ(test, list_count_nodes(&dsp->ctl_list), 3); in cs_dsp_ctl_cache_init_multiple_offsets() [all …]
|
| H A D | cs_dsp_test_control_rw.c | 182 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_write_running() 253 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_running() 321 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_not_started() 375 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_stopped() 430 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_stopped_powered_down() 488 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_not_current_loaded_fw() 550 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_read_volatile_not_current_running_fw() 604 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_write_volatile_not_started() 665 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_write_volatile_stopped() 727 ctl = list_first_entry_or_null(&dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in cs_dsp_ctl_write_volatile_stopped_powered_down() [all …]
|
| H A D | cs_dsp_test_callbacks.c | 234 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), 3); in cs_dsp_test_ctl_v1_callbacks() 239 list_for_each_entry_reverse(ctl, &priv->dsp->ctl_list, list) in cs_dsp_test_ctl_v1_callbacks() 256 list_for_each_entry_reverse(ctl, &priv->dsp->ctl_list, list) in cs_dsp_test_ctl_v1_callbacks() 288 KUNIT_EXPECT_EQ(test, list_count_nodes(&priv->dsp->ctl_list), in cs_dsp_test_ctl_v2_callbacks() 294 list_for_each_entry_reverse(ctl, &priv->dsp->ctl_list, list) in cs_dsp_test_ctl_v2_callbacks() 311 list_for_each_entry_reverse(ctl, &priv->dsp->ctl_list, list) in cs_dsp_test_ctl_v2_callbacks()
|
| H A D | cs_dsp_test_wmfw_error.c | 470 ctl = list_first_entry_or_null(&priv->dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in wmfw_v1_alg_name_unterminated() 826 ctl = list_first_entry_or_null(&priv->dsp->ctl_list, struct cs_dsp_coeff_ctl, list); in wmfw_v1_coeff_name_unterminated()
|
| /linux-6.15/tools/testing/selftests/alsa/ |
| H A D | mixer-test.c | 59 struct ctl_data *ctl_list = NULL; variable 169 ctl_data->next = ctl_list; in find_controls() 170 ctl_list = ctl_data; in find_controls() 1128 for (ctl = ctl_list; ctl != NULL; ctl = ctl->next) { in main()
|
| /linux-6.15/drivers/firmware/cirrus/ |
| H A D | cs_dsp.c | 477 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_debugfs_read_controls_show() 963 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_coeff_init_control_caches() 989 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_coeff_sync_controls() 1009 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_signal_event_controls() 1040 list_for_each_entry(ctl, &dsp->ctl_list, list) { in cs_dsp_create_control() 1082 list_add(&ctl->list, &dsp->ctl_list); in cs_dsp_create_control() 1662 list_for_each_entry(pos, &dsp->ctl_list, list) { in cs_dsp_get_ctl() 2373 INIT_LIST_HEAD(&dsp->ctl_list); in cs_dsp_common_init() 2514 list_for_each_entry(ctl, &dsp->ctl_list, list) in cs_dsp_adsp1_power_down() 2788 list_for_each_entry(ctl, &dsp->ctl_list, list) in cs_dsp_power_down() [all …]
|
| /linux-6.15/drivers/staging/greybus/ |
| H A D | audio_topology.c | 57 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlid() 83 list_for_each_entry(control, &module->ctl_list, list) { in gbaudio_map_controlname() 1194 list_add(&control->list, &module->ctl_list); in gbaudio_tplg_process_kcontrols() 1203 list_for_each_entry_safe(control, _control, &module->ctl_list, in gbaudio_tplg_process_kcontrols() 1416 list_for_each_entry_safe(control, _control, &module->ctl_list, in gbaudio_tplg_release()
|
| H A D | audio_codec.h | 162 struct list_head ctl_list; member
|
| H A D | audio_module.c | 259 INIT_LIST_HEAD(&gbmodule->ctl_list); in gb_audio_probe()
|
| /linux-6.15/include/linux/firmware/cirrus/ |
| H A D | cs_dsp.h | 185 struct list_head ctl_list; member
|
| /linux-6.15/sound/pci/hda/ |
| H A D | hda_cs_dsp_ctl.c | 193 list_for_each_entry(cs_ctl, &dsp->ctl_list, list) { in hda_cs_dsp_add_controls()
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | cs-amp-lib.c | 59 if (list_empty(&dsp->ctl_list)) { in _cs_amp_write_cal_coeffs()
|
| H A D | wm_adsp.c | 1632 list_for_each_entry(cs_ctl, &dsp->cs_dsp.ctl_list, list) { in wm_adsp_buffer_init()
|