Home
last modified time | relevance | path

Searched refs:XF_CHK_API (Results 1 – 12 of 12) sorted by relevance

/device/linaro/hikey/hifi/xaf/host-apf/utest/
Dxaf-dec-mix-test.c68 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, &param[0])); in vorbis_setup()
84 XF_CHK_API(xaf_comp_set_config(p_pcm, 3, &param[0])); in pcm_setup()
100 XF_CHK_API(xaf_comp_set_config(p_decoder, 3, &param[0])); in mixer_setup()
155 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in comp_process_entry()
159 XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &comp_info)); in comp_process_entry()
168 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
171XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, read_length, XAF_INPUT_READY_FLAG… in comp_process_entry()
174 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_INPUT_OVER_FLAG)); in comp_process_entry()
184 XF_CHK_API(consume_output(p_buf, size, p_output)); in comp_process_entry()
185XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, comp_info.length, XAF_NEED_OUTPUT… in comp_process_entry()
[all …]
Dxaf-dec-test.c73 XF_CHK_API(xaf_comp_set_config(p_decoder, 1, &param[0])); in vorbis_setup()
89 XF_CHK_API(xaf_comp_set_config(p_pcm, 3, &param[0])); in pcm_setup()
140 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in comp_process_entry()
145 XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &comp_info)); in comp_process_entry()
154 XF_CHK_API(read_input(p_buf, size, &read_length, p_input)); in comp_process_entry()
157XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, read_length, XAF_INPUT_READY_FLAG… in comp_process_entry()
160 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_INPUT_OVER_FLAG)); in comp_process_entry()
170 XF_CHK_API(consume_output(p_buf, size, p_output)); in comp_process_entry()
171XF_CHK_API(xaf_comp_process(NULL, p_comp, (void *)comp_info.buf, comp_info.length, XAF_NEED_OUTPUT… in comp_process_entry()
267XF_CHK_API(xaf_adev_open(&p_adev, audio_frmwk_buf_size, audio_comp_buf_size, mem_malloc, mem_free)… in main()
[all …]
/device/linaro/hikey/hifi/xaf/host-apf/proxy/
Dxaf-api.c84XF_CHK_API(xf_pool_alloc(p_proxy, p_comp->noutbuf, smsg->output_length, XF_POOL_OUTPUT, &p_comp->o… in xaf_comp_post_init_config()
154 XF_CHK_API(xf_proxy_init(p_proxy, 0, (void *)&p_adev->p_ap_utils->xf_cfg_remote_ipc_pool_size)); in xaf_adev_open()
157XF_CHK_API(xf_pool_alloc(p_proxy, XAF_AUX_POOL_SIZE, XAF_AUX_POOL_MSG_LENGTH, XF_POOL_AUX, &p_prox… in xaf_adev_open()
226 XF_CHK_API(xf_open(&p_adev->proxy, p_handle, comp_id, 0, xaf_comp_response)); in xaf_comp_create()
240XF_CHK_API(xf_pool_alloc(&p_adev->proxy, ninbuf, XAF_INBUF_SIZE, XF_POOL_INPUT, &p_comp->inpool, X… in xaf_comp_create()
327 XF_CHK_API(xf_command(p_handle, 0, XF_SET_PARAM, smsg, sizeof(xf_set_param_item_t)*num_param)); in xaf_comp_set_config()
330 XF_CHK_API(xf_response_get(p_handle, &rmsg)); in xaf_comp_set_config()
365 XF_CHK_API(xf_command(p_handle, 0, XF_GET_PARAM, smsg, XF_GET_PARAM_CMD_LEN(num_param))); in xaf_comp_get_config()
368 XF_CHK_API(xf_response_get(p_handle, &rmsg)); in xaf_comp_get_config()
404 XF_CHK_API(xf_response_get(p_handle, &rmsg)); in xaf_comp_get_status()
[all …]
Dxf-proxy.c60 XF_CHK_API(xf_ipc_send(&proxy->ipc, &m, msg->buffer)); in xf_proxy_cmd_exec()
63 XF_CHK_API(xf_proxy_response_get(proxy, &m)); in xf_proxy_cmd_exec()
91 return XF_CHK_API(xf_ipc_send(&proxy->ipc, &msg, m->buffer));
153 XF_CHK_API(xf_proxy_cmd_exec(proxy, &msg)); in xf_client_register()
181 XF_CHK_API(xf_proxy_cmd_exec(proxy, &msg)); in xf_client_unregister()
204 XF_CHK_API(xf_proxy_cmd_exec(proxy, &msg)); in xf_proxy_buffer_alloc()
233 XF_CHK_API(xf_proxy_cmd_exec(proxy, &msg)); in xf_proxy_buffer_free()
322 XF_CHK_API(xf_ipc_open(&proxy->ipc, core, p_shmem)); in xf_proxy_init()
376 XF_CHK_API(xf_ipc_data_init(&handle->ipc)); in xf_open()
410 return XF_CHK_API(r); in xf_open()
[all …]
Dxf-fio.c139 return XF_CHK_API(errno == EAGAIN ? 0 : -errno); in xf_ipc_recv()
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/
Dxf-main.c112 XF_CHK_API(xf_mm_init(&cd->shared_pool, shmem->buffer, XF_CFG_REMOTE_IPC_POOL_SIZE)); in xf_ipc_init()
114XF_CHK_API(xf_mm_init(&cd->shared_pool, (void *) HIFI_MUSIC_DATA_LOCATION, XF_CFG_REMOTE_IPC_POOL_… in xf_ipc_init()
168 XF_CHK_API(xf_mm_init(&xf_dsp_shmem_pool, xf_dsp_shmem_buffer, XF_CFG_LOCAL_IPC_POOL_SIZE)); in main()
172XF_CHK_API(xf_mm_init(&xf_core_data[0].local_pool, xf_dsp_local_buffer[0], XF_CFG_LOCAL_POOL_SIZE)… in main()
/device/linaro/hikey/audio/
Daudio_hw.c133 XF_CHK_API(xaf_comp_set_config(p_pcm, 3, &param[0])); in pcm_setup()
169XF_CHK_API(xaf_adev_open(&audio_device->dsp_device.p_adev, audio_frmwk_buf_size, audio_comp_buf_si… in xa_device_init()
171XF_CHK_API(xaf_comp_create(audio_device->dsp_device.p_adev, &audio_device->dsp_device.p_decoder, a… in xa_device_init()
172 XF_CHK_API(audio_device->dsp_device.dec_setup(audio_device->dsp_device.p_decoder,audio_device)); in xa_device_init()
175XF_CHK_API(xaf_comp_process(audio_device->dsp_device.p_adev, audio_device->dsp_device.p_decoder, N… in xa_device_init()
190XF_CHK_API(xaf_comp_process(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, adev->dsp_device.… in xa_device_run()
191XF_CHK_API(xaf_comp_get_status(adev->dsp_device.p_adev, adev->dsp_device.p_decoder, &adev->dsp_dev… in xa_device_run()
196 XF_CHK_API(xaf_comp_process(NULL, p_comp, NULL, 0, XAF_EXEC_FLAG)); in xa_device_run()
199XF_CHK_API(xaf_comp_process(NULL, adev->dsp_device.p_decoder, adev->dsp_device.dec_inbuf[0], adev-… in xa_device_run()
201XF_CHK_API(xaf_comp_get_status(NULL, p_comp, &comp_status, &adev->dsp_device.comp_info)); in xa_device_run()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-shmem.c339 XF_CHK_API(xf_msg_pool_init(&ro->pool, XF_CFG_MESSAGE_POOL_SIZE, core)); in xf_shmem_init()
345 XF_CHK_API(xf_ipc_init(core)); in xf_shmem_init()
Dxf-core.c197XF_CHK_API(xf_output_port_route(port, __XF_MSG_ID(dst, src), cmd->alloc_number, cmd->alloc_size, c…
615 XF_CHK_API(xf_ipi_init(core)); in xf_core_init()
618 XF_CHK_API(xf_shmem_enabled(core) ? xf_shmem_init(core) : 0); in xf_core_init()
Dxf-io.c404 XF_CHK_API(xf_msg_pool_init(&port->pool, n + 1, core)); in xf_output_port_route()
/device/linaro/hikey/hifi/xaf/host-apf/include/
Dxf-debug.h170 #define XF_CHK_API(cond) \ macro
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-debug.h193 #define XF_CHK_API(cond) \ macro