Home
last modified time | relevance | path

Searched refs:snd_malloc (Results 1 – 22 of 22) sorted by relevance

/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/platform/
A Dsunxi-dummy-cpudai.c54 info = snd_malloc(sizeof(struct sunxi_cpudai_info)); in sunxi_cpudai_platform_probe()
162 platform->cpu_dai = snd_malloc(sizeof(struct snd_dai)); in snd_platform_cpudai_register()
A Dsunxi-dmic.c383 sunxi_dmic = snd_malloc(sizeof(struct sunxi_dmic_info)); in sunxi_dmic_platform_probe()
442 platform->name = snd_malloc(DMIC_NAME_LEN); in snd_platform_dmic_register()
452 platform->cpu_dai = snd_malloc(sizeof(struct snd_dai)); in snd_platform_dmic_register()
A Dsunxi-spdif.c777 sunxi_spdif = snd_malloc(sizeof(struct sunxi_spdif_info)); in sunxi_spdif_platform_probe()
848 platform->name = snd_malloc(SPDIF_NAME_LEN); in snd_platform_spdif_register()
858 platform->cpu_dai = snd_malloc(sizeof(struct snd_dai)); in snd_platform_spdif_register()
870 platform->controls = snd_malloc(sizeof(struct snd_kcontrol) * platform->num_controls); in snd_platform_spdif_register()
A Dsun8iw19-daudio.c1067 sunxi_daudio = snd_malloc(sizeof(struct sunxi_daudio_info)); in sunxi_daudio_platform_probe()
1232 platform->name = snd_malloc(DAUDIO_NAME_LEN); in snd_platform_daudio_register()
1244 platform->cpu_dai = snd_malloc(sizeof(struct snd_dai)); in snd_platform_daudio_register()
1256 platform->controls = snd_malloc(sizeof(struct snd_kcontrol) * platform->num_controls); in snd_platform_daudio_register()
A Dsunxi-daudio.c1016 sunxi_daudio = snd_malloc(sizeof(struct sunxi_daudio_info)); in sunxi_daudio_platform_probe()
1135 platform->name = snd_malloc(DAUDIO_NAME_LEN); in snd_platform_daudio_register()
1146 platform->cpu_dai = snd_malloc(sizeof(struct snd_dai)); in snd_platform_daudio_register()
1158 platform->controls = snd_malloc(sizeof(struct snd_kcontrol) * platform->num_controls); in snd_platform_daudio_register()
A Dsunxi-mad.c1074 sunxi_mad = snd_malloc(sizeof(struct sunxi_mad_info)); in sunxi_mad_platform_probe()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_core.c100 schd = snd_malloc(sizeof(*schd)); in snd_schd_init()
655 substream = snd_malloc(sizeof(struct snd_pcm_substream)); in snd_pcm_new_stream()
992 control = snd_malloc(sizeof(struct snd_kcontrol)); in snd_ctl_add_elem()
1009 control->private_data = snd_malloc(info->count * sizeof(unsigned long)); in snd_ctl_add_elem()
1053 ctl = snd_malloc(sizeof(struct snd_ctl)); in snd_ctl_create()
1093 pcm = snd_malloc(sizeof(struct snd_pcm)); in snd_pcm_new()
1224 platform = snd_malloc(sizeof(struct snd_platform)); in snd_platform_register()
1360 card = snd_malloc(sizeof(struct snd_card)); in snd_card_register()
A Dsnd_dma.c98 prtd = snd_malloc(sizeof(struct dmaengine_pcm_runtime_data)); in snd_dmaengine_pcm_open_request_chan()
A Dsnd_ctl.c224 value = snd_malloc(sizeof(unsigned long) * kcontrol->count); in ksnd_ctl_set_multi_args()
A Dsnd_pcm.c66 new = snd_malloc(new_rules * sizeof(*c)); in snd_pcm_hw_rule_add()
440 runtime = snd_malloc(sizeof(struct snd_pcm_runtime)); in snd_pcm_open_substream()
470 runtime->status = snd_malloc(sizeof(struct snd_pcm_mmap_status)); in snd_pcm_open_substream()
476 runtime->control = snd_malloc(sizeof(struct snd_pcm_mmap_control)); in snd_pcm_open_substream()
/bsp/allwinner/libraries/sunxi-hal/include/hal/aw-alsa-lib/
A Dpcm.h46 #ifndef snd_malloc
47 #define snd_malloc(size) calloc(size, 1) macro
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/component/aw-alsa-lib/
A Dpcm_dmix.c90 ipc = snd_malloc(sizeof(shm_sum_ipc_t)); in shm_sum_ipc_get()
98 ipc->sum_buffer = snd_malloc(sum_buffer_size); in shm_sum_ipc_get()
865 dmix = snd_malloc(sizeof(snd_pcm_direct_t)); in _snd_pcm_dmix_open()
A Dpcm_hw.c475 hw = snd_malloc(sizeof(snd_pcm_hw_t)); in _snd_pcm_hw_open()
A Dpcm_dsnoop.c459 dsnoop = snd_malloc(sizeof(snd_pcm_direct_t)); in _snd_pcm_dsnoop_open()
A Dpcm_softvol.c761 svol = snd_malloc(sizeof(snd_pcm_softvol_t)); in _snd_pcm_softvol_open()
A Dpcm_direct.c108 ipc = snd_malloc(sizeof(snd_pcm_direct_ipc_t)); in snd_pcm_direct_ipc_create()
A Dpcm.c965 pcm = snd_malloc(sizeof(snd_pcm_t)); in snd_pcm_new()
/bsp/allwinner/libraries/sunxi-hal/include/hal/sound/
A Dsnd_core.h108 #define snd_malloc(size) calloc(1, size) macro
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/codecs/
A Dsun8iw19-codec.c992 sunxi_codec = snd_malloc(sizeof(struct sunxi_codec_info)); in sun8iw19_codec_probe()
A Dsun8iw18-codec.c543 sunxi_codec = snd_malloc(sizeof(struct sunxi_codec_info)); in sun8iw18_codec_probe()
A Dsun8iw20-codec.c951 sunxi_codec = snd_malloc(sizeof(struct sunxi_codec_info)); in sun8iw20_codec_probe()
A Dac108.c1532 ac108 = snd_malloc(sizeof(struct ac108_priv)); in ac108_codec_probe()

Completed in 55 milliseconds