| /sound/hda/core/ |
| A D | array.c | 21 if (snd_BUG_ON(!array->elem_size)) in snd_array_new() 23 if (array->used >= array->alloced) { in snd_array_new() 24 int num = array->alloced + array->alloc_align; in snd_array_new() 25 int oldsize = array->alloced * array->elem_size; in snd_array_new() 34 array->list = nlist; in snd_array_new() 35 array->alloced = num; in snd_array_new() 37 return snd_array_elem(array, array->used++); in snd_array_new() 47 kfree(array->list); in snd_array_free() 48 array->used = 0; in snd_array_free() 49 array->alloced = 0; in snd_array_free() [all …]
|
| A D | Makefile | 3 regmap.o controller.o stream.o array.o hdmi_chmap.o
|
| /sound/soc/intel/avs/ |
| A D | debugfs.c | 142 u32 *array, num_elems; in probe_points_write() local 150 num_elems = *array; in probe_points_write() 151 bytes = sizeof(*array) * num_elems; in probe_points_write() 164 kfree(array); in probe_points_write() 179 u32 *array, num_elems; in probe_points_disconnect_write() local 187 num_elems = *array; in probe_points_disconnect_write() 201 kfree(array); in probe_points_disconnect_write() 365 u32 *array, num_elems; in trace_control_write() local 373 num_elems = *array; in trace_control_write() 385 resource_mask = array[1]; in trace_control_write() [all …]
|
| A D | board_selection.c | 575 u32 *array, num_elems; in avs_register_i2s_test_boards() local 577 ret = parse_int_array(i2s_test, strlen(i2s_test), (int **)&array); in avs_register_i2s_test_boards() 583 num_elems = *array; in avs_register_i2s_test_boards() 591 tdm_slots = array[1 + ssp_port]; in avs_register_i2s_test_boards()
|
| A D | topology.c | 21 #define avs_tplg_vendor_array_at(array, offset) \ argument 22 ((struct snd_soc_tplg_vendor_array *)((u8 *)array + offset)) 25 #define avs_tplg_vendor_array_next(array) \ argument 26 (avs_tplg_vendor_array_at(array, le32_to_cpu((array)->size))) 1687 template = avs_tplg_path_template_create(comp, tplg, dw->priv.array, in avs_widget_load() 1768 struct snd_soc_tplg_vendor_array *tuples = manifest->priv.array; in avs_manifest() 1957 tuples = tmc->priv.array; in avs_control_load()
|
| /sound/pci/lola/ |
| A D | lola_mixer.c | 119 chip->mixer.array = (struct lola_mixer_array __iomem *) in lola_init_mixer_widget() 217 oldval = val = readl(&chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain() 224 (gain == readw(&chip->mixer.array->src_gain[id]))) in lola_mixer_set_src_gain() 230 writew(gain, &chip->mixer.array->src_gain[id]); in lola_mixer_set_src_gain() 231 writel(val, &chip->mixer.array->src_gain_enable); in lola_mixer_set_src_gain() 248 writew(*gains, &chip->mixer.array->src_gain[i]); 252 writel(mask, &chip->mixer.array->src_gain_enable); 303 writew(*gains, &chip->mixer.array->dest_mix_gain[id][i]); 416 memset_io(chip->mixer.array, 0, sizeof(*chip->mixer.array)); in init_mixer_values() 638 mask = readl(&chip->mixer.array->src_gain_enable); in lola_src_gain_get() [all …]
|
| A D | lola.h | 265 struct lola_mixer_array __iomem *array; member
|
| /sound/soc/sof/ |
| A D | topology.c | 467 elem = &array->uuid[i]; in sof_parse_uuid_tokens() 571 elem = &array->string[i]; in sof_copy_tuples() 586 elem = &array->value[i]; in sof_copy_tuples() 610 array = (struct snd_soc_tplg_vendor_array *)((u8 *)array + asize); in sof_copy_tuples() 638 elem = &array->string[i]; in sof_parse_string_tokens() 684 elem = &array->value[i]; in sof_parse_word_tokens() 757 array); in sof_parse_token_sets() 762 array); in sof_parse_token_sets() 775 array); in sof_parse_token_sets() 779 array->type); in sof_parse_token_sets() [all …]
|
| A D | sof-client-probes.c | 259 u32 num_elems, *array; in sof_probes_dfs_points_write() local 268 ret = parse_int_array_user(from, count, (int **)&array); in sof_probes_dfs_points_write() 272 num_elems = *array; in sof_probes_dfs_points_write() 273 bytes = sizeof(*array) * num_elems; in sof_probes_dfs_points_write() 279 desc = (struct sof_probe_point_desc *)&array[1]; in sof_probes_dfs_points_write() 295 kfree(array); in sof_probes_dfs_points_write() 317 u32 *array; in sof_probes_dfs_points_remove_write() local 324 ret = parse_int_array_user(from, count, (int **)&array); in sof_probes_dfs_points_remove_write() 334 ret = ipc->points_remove(cdev, &array[1], array[0]); in sof_probes_dfs_points_remove_write() 342 kfree(array); in sof_probes_dfs_points_remove_write()
|
| /sound/isa/ |
| A D | cmi8328.c | 196 static int array_find(const int array[], int item) in array_find() argument 200 for (i = 0; array[i] != -1; i++) in array_find() 201 if (array[i] == item) in array_find() 207 static int array_find_l(const long array[], long item) in array_find_l() argument 211 for (i = 0; array[i] != -1; i++) in array_find_l() 212 if (array[i] == item) in array_find_l()
|
| /sound/soc/intel/common/ |
| A D | soc-acpi-intel-sdca-quirks.c | 31 if (sdca_device_quirk_match(ctx->peripherals->array[i], in snd_soc_acpi_intel_sdca_is_device_rt712_vb()
|
| /sound/soc/renesas/rcar/ |
| A D | rsnd.h | 440 enum rsnd_mod_type *array, 445 #define for_each_rsnd_mod_arrays(iterator, pos, io, array, size) \ argument 447 (pos = rsnd_mod_next(&iterator, io, array, size)); iterator++) 448 #define for_each_rsnd_mod_array(iterator, pos, io, array) \ argument 449 for_each_rsnd_mod_arrays(iterator, pos, io, array, ARRAY_SIZE(array))
|
| A D | core.c | 481 enum rsnd_mod_type *array, in rsnd_mod_next() argument 484 int max = array ? array_size : RSND_MOD_MAX; in rsnd_mod_next() 487 enum rsnd_mod_type type = (array) ? array[*iterator] : *iterator; in rsnd_mod_next()
|
| /sound/soc/ |
| A D | soc-acpi.c | 149 struct sdw_slave *peripheral = peripherals->array[j]; in snd_soc_acpi_sdw_link_slaves_found() 160 struct sdw_slave *peripheral = peripherals->array[j]; in snd_soc_acpi_sdw_link_slaves_found()
|
| /sound/soc/codecs/ |
| A D | es8326.c | 470 static inline int get_coeff(int mclk, int rate, int array, in get_coeff() argument 475 for (i = 0; i < array; i++) { in get_coeff() 543 int coeff, array; in es8326_pcm_hw_params() local 547 array = ARRAY_SIZE(coeff_div_v0); in es8326_pcm_hw_params() 550 array = ARRAY_SIZE(coeff_div_v3); in es8326_pcm_hw_params() 552 coeff = get_coeff(es8326->sysclk, params_rate(params), array, coeff_div); in es8326_pcm_hw_params()
|
| A D | tas5086.c | 339 static int index_in_array(const int *array, int len, int needle) in index_in_array() argument 344 if (array[i] == needle) in index_in_array()
|
| /sound/soc/qcom/qdsp6/ |
| A D | topology.c | 220 sg_array = (struct snd_soc_tplg_vendor_array *)((u8 *)private->array + sz); in audioreach_get_sg_array() 253 cont_array = (struct snd_soc_tplg_vendor_array *)((u8 *)private->array + sz); in audioreach_get_cont_array() 286 mod_array = (struct snd_soc_tplg_vendor_array *)((u8 *)private->array + sz); in audioreach_get_module_array() 808 w_array = &tplg_w->priv.array[0]; in audioreach_widget_load_mixer()
|
| /sound/soc/sof/intel/ |
| A D | hda.c | 1213 peripherals->array[i]->bus->link_id, in hda_sdw_machine_select() 1214 peripherals->array[i]->id.mfg_id, in hda_sdw_machine_select() 1215 peripherals->array[i]->id.part_id, in hda_sdw_machine_select() 1216 peripherals->array[i]->id.sdw_version); in hda_sdw_machine_select()
|
| /sound/hda/common/ |
| A D | proc.c | 49 struct snd_array *array) in print_nid_array() argument 52 struct hda_nid_item *items = array->list, *item; in print_nid_array() 54 for (i = 0; i < array->used; i++) { in print_nid_array()
|
| A D | codec.c | 461 struct snd_array *array, in look_up_pincfg() argument 467 snd_array_for_each(array, i, pin) { in look_up_pincfg()
|
| /sound/soc/intel/avs/boards/ |
| A D | Kconfig | 29 This adds support for AVS with Digital Mic array configuration.
|
| /sound/core/ |
| A D | Kconfig | 233 out-of-array areas. The error is printed when the driver gives
|
| /sound/hda/codecs/ |
| A D | generic.c | 290 struct nid_path *array = spec->paths.list; in snd_hda_get_path_idx() local 295 idx = path - array; in snd_hda_get_path_idx()
|