Searched refs:snd_array_elem (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/sound/hda/ |
H A D | array.c | 37 return snd_array_elem(array, array->used++); in snd_array_new()
|
/openbmc/linux/include/sound/ |
H A D | hdaudio.h | 693 static inline void *snd_array_elem(struct snd_array *array, unsigned int idx) in snd_array_elem() function 706 (ptr) = snd_array_elem(array, ++(idx)))
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_codec.c | 2215 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_default_get() 2324 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_default_put() 2352 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_out_switch_get() 2382 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_out_switch_put() 2537 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_ctls_unassign() 2559 spdif = snd_array_elem(&codec->spdif_out, idx); in snd_hda_spdif_ctls_assign()
|
H A D | patch_hdmi.c | 243 ((struct hdmi_spec_per_pin *)snd_array_elem(&spec->pins, idx)) 245 ((struct hdmi_spec_per_cvt *)snd_array_elem(&spec->cvts, idx))
|
H A D | hda_generic.c | 314 return snd_array_elem(&spec->paths, idx - 1); in snd_hda_get_path_from_idx()
|