Searched refs:XF_MM (Results 1 – 5 of 5) sorted by relevance
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-msg.c | 48 …XF_CHK_ERR(pool->p = xf_mem_alloc(XF_MM(sizeof(*pool->p) * n), XF_PROXY_ALIGNMENT, core, 1), -ENOM… in xf_msg_pool_init() 70 xf_mem_free(pool->p, XF_MM(sizeof(*pool->p) * pool->n), core, 1); in xf_msg_pool_destroy()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-mm.h | 108 #define XF_MM(size) (((size) + sizeof(xf_mm_item) - 1) & ~(sizeof(xf_mm_item) - 1)) macro
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-mem.h | 162 if ((size = XF_MM(size)) != 0) in xf_mm_alloc_buffer()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/ |
D | xa-class-audio-codec.c | 717 xa_base_destroy(&codec->base, XF_MM(sizeof(*codec)), core); in xa_audio_codec_destroy() 767 … XF_CHK_ERR(codec = (XAAudioCodec *) xa_base_factory(core, XF_MM(sizeof(*codec)), process), NULL); in xa_audio_codec_factory()
|
D | xa-class-mixer.c | 802 xa_base_destroy(&mixer->base, XF_MM(sizeof(*mixer)), core); in xa_mixer_destroy() 852 XF_CHK_ERR(mixer = (XAMixer *)xa_base_factory(core, XF_MM(sizeof(*mixer)), process), NULL); in xa_mixer_factory()
|