/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/ |
D | xa-class-base.h | 158 TRACE(ERROR, _x("error: %X"), __e); \ 161 TRACE(WARNING, _x("warning: %X"), __e); \ 175 TRACE(ERROR, _x("[%p]:(%d, %d, %p): %X"), (codec), (cmd), (idx), (pv), __e); \ 178 TRACE(WARNING, _x("%X"), __e); \ 191 TRACE(ERROR, _x("[%p]:(%d, %d, %p): %X"), (codec), (cmd), (idx), (pv), __e); \ 193 TRACE(WARNING, _x("%X"), __e); \ 208 TRACE(ERROR, _x("[%p]: " #func ": %X"), (codec), __e); \ 212 TRACE(WARNING, _x("warning: %X"), __e); \ 223 TRACE(ERROR, _x("Failed to allocate %d bytes of memory"), (size)); \ 229 TRACE(ERROR, _x("Invalid %d-algnment: %p"), (align), (p)->addr); \
|
D | xa-class-base.c | 79 TRACE(INIT, _b("Codec[%p] pre-initialization completed"), base); in xa_base_preinit() 103 TRACE(1, _b("i = %u (of %u)"), (u32)i, (u32)n); in xa_base_postinit() 127 …TRACE(INIT, _b("Mem tab %d: sz=%d al=%d ty=%d Scratch memory (%p)"), i, size, align, type, base->s… in xa_base_postinit() 138 …TRACE(INIT, _b("Mem tab %d: sz=%d al=%d ty=%d Persistent memory (%p)"), i, size, align, type, base… in xa_base_postinit() 151 TRACE(ERROR, _x("Invalid memory type: [%d]=(%u, %u, %u)"), i, type, size, align); in xa_base_postinit() 156 …TRACE(INIT, _b("Codec[%p] post-initialization completed (api:%p[%u])"), base, base->api.addr, base… in xa_base_postinit() 181 TRACE(SETUP, _b("set-param[%p]: [%u]=%u"), base, param[i].id, param[i].value); in xa_base_set_param() 253 …TRACE(SETUP, _b("[%03x]: %02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02… in xa_base_set_param_ext() 276 TRACE(SETUP, _b("remaining:%u, desc_size:%u"), (u32)remaining, (u32)dsize); in xa_base_set_param_ext() 284 …TRACE(SETUP, _b("set-ext-param[%p]: [%u]:%u - [%02X:%02X:%02X:%02X:...]"), base, id, dsize, cmd->d… in xa_base_set_param_ext() [all …]
|
D | xa-class-audio-codec.c | 121 …TRACE(INIT, _b("codec[%p]::runtime init: f=%u, c=%u, w=%u, i=%u, o=%u"), codec, msg->sample_rate, … in xa_codec_prepare_runtime() 141 TRACE(INIT, _b("ts-factor: %u (%u)"), codec->factor, factor); in xa_codec_prepare_runtime() 149 …TRACE(INIT, _b("codec[%p] runtime initialized: i=%u, o=%u"), codec, msg->input_length, msg->output… in xa_codec_prepare_runtime() 195 TRACE(INPUT, _b("Received buffer [%p]:%u"), m->buffer, m->length); in xa_codec_empty_this_buffer() 228 TRACE(INFO, _b("codec[%p] playback completed"), codec); in xa_codec_fill_this_buffer() 242 TRACE(OUTPUT, _b("Received output buffer [%p]:%u"), m->buffer, m->length); in xa_codec_fill_this_buffer() 311 TRACE(INFO, _b("port is idle; instantly unroute")); in xa_codec_port_unroute() 321 TRACE(INFO, _b("port is busy; propagate unroute command")); in xa_codec_port_unroute() 341 TRACE(1, _b("flush command received")); in xa_codec_flush() 378 TRACE(INFO, _b("port is unrouted")); in xa_codec_flush() [all …]
|
D | xa-class-mixer.c | 220 TRACE(INPUT, _b("track-%u: received buffer [%p]:%u"), i, m->buffer, m->length); in xa_mixer_empty_this_buffer() 240 TRACE(INFO, _b("track-%u started (pts=%x)"), i, track->pts); in xa_mixer_empty_this_buffer() 278 TRACE(OUTPUT, _b("received output buffer [%p]:%u"), m->buffer, m->length); in xa_mixer_fill_this_buffer() 341 TRACE(INFO, _b("port is idle; instantly unroute")); in xa_mixer_port_unroute() 351 TRACE(INFO, _b("port is busy; propagate unroute command")); in xa_mixer_port_unroute() 385 TRACE(INFO, _b("mixer[%p]::track[%u] paused"), mixer, i); in xa_mixer_pause() 390 TRACE(INFO, _b("mixer[%p]::track[%u] is not active"), mixer, i); in xa_mixer_pause() 427 TRACE(INFO, _b("mixer[%p]::track[%u] resumed"), mixer, i); in xa_mixer_resume() 432 TRACE(INFO, _b("mixer[%p]::track[%u] is not paused"), mixer, i); in xa_mixer_resume() 460 TRACE(INFO, _b("port is unrouted")); in xa_mixer_flush() [all …]
|
/device/linaro/hikey/hifi/xaf/host-apf/proxy/ |
D | xf-proxy.c | 71 …TRACE(EXEC, _b("proxy[%p]: command done: [%08x:%p:%u]"), proxy, msg->opcode, msg->buffer, msg->len… in xf_proxy_cmd_exec() 161 …TRACE(REG, _b("[%p]=[%s:%u:%u]"), handle, id, XF_PORT_CORE(handle->id), XF_PORT_CLIENT(handle->id)… in xf_client_register() 186 …TRACE(REG, _b("%p[%u:%u] unregistered"), handle, XF_PORT_CORE(handle->id), XF_PORT_CLIENT(handle->… in xf_client_unregister() 215 TRACE(MEM, _b("proxy-%u: allocated [%p:%u]"), core, *buffer, length); in xf_proxy_buffer_alloc() 238 TRACE(MEM, _b("proxy-%u: free [%p:%u]"), core, buffer, length); in xf_proxy_buffer_free() 275 TRACE(RSP, _b("R[%08x]:(%08x,%u,%08x)"), m.id, m.opcode, m.length, m.address); in xf_proxy_thread() 291 TRACE(RSP, _b("Client look-up failed - drop message")); in xf_proxy_thread() 298 TRACE(ERROR, _x("abnormal proxy[%p] thread termination: %d"), proxy, r); in xf_proxy_thread() 303 TRACE(INIT, _b("IPC proxy[%p] thread terminated: %d"), proxy, r); in xf_proxy_thread() 339 TRACE(ERROR, _x("Failed to create polling thread: %d"), r); in xf_proxy_init() [all …]
|
D | xf-fio.c | 71 TRACE(CMD, _b("C[%08x]:(%x,%08x,%u)"), msg->id, msg->opcode, msg->address, msg->length); in xf_ipc_send() 115 TRACE(RSP, _b("R[%08x]:(%x,%u,%08x)"), msg->id, msg->opcode, msg->length, msg->address); in xf_ipc_recv() 175 TRACE(INIT, _b("proxy-%u interface opened"), core); in xf_ipc_open() 191 TRACE(INIT, _b("proxy-%u interface closed"), core); in xf_ipc_close()
|
D | xaf-api.c | 80 …TRACE(INFO, _b("Component[%x] Params: f=%d, c=%d, w=%d i=%d o=%d"), p_comp->handle.id, smsg->sampl… in xaf_comp_post_init_config()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-io.c | 78 TRACE(INIT, _b("input-port[%p] created - %p@%u[%u]"), port, port->buffer, align, size); in xf_input_port_init() 90 TRACE(INPUT, _b("input-port[%p] disabled"), port); in xf_input_port_put() 107 TRACE(INPUT, _b("input-port[%p]: zero-length buffer received"), port); in xf_input_port_put() 111 TRACE(INPUT, _b("input-port[%p]: buffer received - %u bytes"), port, m->length); in xf_input_port_put() 178 TRACE(INPUT, _b("No message ready")); in xf_input_port_fill() 206 TRACE(INPUT, _b("input-port[%p] done"), port); in xf_input_port_fill() 280 TRACE(INPUT, _b("input-port[%p] done"), port); in xf_input_port_consume() 326 TRACE(INPUT, _b("input-port[%p] purged"), port); in xf_input_port_purge() 341 TRACE(INPUT, _b("port[%p] start purge sequence"), port); in xf_input_port_control_save() 356 TRACE(INPUT, _b("port[%p] purge sequence completed"), port); in xf_input_port_purge_done() [all …]
|
D | xf-core.c | 107 TRACE(ERROR, _x("Component creation failed")); in xf_proxy_register() 128 TRACE(REG, _b("registered client: %u:%u (%s)"), core, client, (xf_id_t)m->buffer); in xf_proxy_register() 182 TRACE(ERROR, _x("Source port lookup failed: %x"), src); 187 TRACE(ERROR, _b("Source port doesn't exist: %x"), src); 192 TRACE(ERROR, _b("Source port is already routed: %x"), src); 199 TRACE(ROUTE, _b("Ports routed: %03x -> %03x"), src, dst); 224 TRACE(ERROR, _b("Source port lookup failed: %x"), src); 229 TRACE(ERROR, _b("Source port doesn't exist: %x"), src); 239 TRACE(ERROR, _b("Source port is not idle: %x"), src); 329 TRACE(ERROR, _x("invalid opcode: %x"), opcode); in xf_proxy_command() [all …]
|
D | xf-shmem.c | 162 TRACE(EXEC, _b("Command queue: write = %x / read = %x"), write_idx, read_idx); in xf_shmem_process_input() 190 TRACE(CMD, _b("C[%x]:(%x,%u,%p)"), m->id, m->opcode, m->length, m->buffer); in xf_shmem_process_input() 220 TRACE(EXEC, _b("Response queue: write = %08X / read = %08X"), write_idx, read_idx); in xf_shmem_process_output() 276 TRACE(RSP, _b("R[%x]:(%x,%u,%p)"), m->id, m->opcode, m->length, m->buffer); in xf_shmem_process_output() 347 TRACE(INIT, _b("SHMEM-%u subsystem initialized"), core); in xf_shmem_init()
|
D | xf-sched.c | 101 TRACE(DEBUG, _b("in: %x:[%p] (ts:%x)"), ts, node, xf_sched_timestamp(sched)); in xf_sched_put() 128 TRACE(DEBUG, _b("out: %x:[%p]"), ts, n_idx); in xf_sched_get()
|
D | xf-mem.c | 358 TRACE(INIT, _b("memory allocator initialized: [%p..%p)"), addr, addr + size); in xf_mm_init()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/ |
D | xf-osal.h | 101 TRACE(1, _x("prepare-wait")); \ 138 TRACE(1, _x("wait")); \ 140 TRACE(1, _x("resume")); \ 159 TRACE(1, _x("wakeup")); \ 171 TRACE(1, _x("wait-complete")); \
|
/device/linaro/hikey/hifi/xaf/host-apf/include/os/xos/ |
D | xf-osal.h | 95 TRACE(1, _x("prepare-wait")); \ 132 TRACE(1, _x("wait")); \ 134 TRACE(1, _x("resume")); \ 153 TRACE(1, _x("wakeup")); \ 165 TRACE(1, _x("wait-complete")); \
|
/device/linaro/hikey/hifi/xaf/host-apf/utest/ |
D | xaf-dec-mix-test.c | 115 TRACE(ERROR, _b("Playback Failed \n")); in consume_output() 255 TRACE(ERROR, _b("Usage: ./xaf-test <infile1> <infile2>\n")); in main() 279 TRACE(ERROR, _x("Unknown Decoder Extension '%s'"), ext); in main() 286 TRACE(ERROR, _x("Failed to open '%s': %d"), argv[i+1], errno); in main() 295 TRACE(ERROR, _x("Failed to open '%s': %d"), "dec-mix-out.pcm", errno); in main() 352 TRACE(ERROR, _x("Failed to init")); in main() 364 TRACE(ERROR, _x("Failed to init")); in main() 372 TRACE(ERROR, _x("Playback open error\n")); in main() 394 TRACE(ERROR, _b("decode thread %d join error:%x\n"), i, pthread_error); in main() 400 TRACE(ERROR, _b("mixer thread join error:%x\n"), pthread_error); in main()
|
D | xaf-dec-test.c | 104 TRACE(ERROR, _b("Playback Failed \n")); in consume_output() 223 TRACE(ERROR, _b("Usage: ./xaf-test <input-file-.ogg/.pcm>\n")); in main() 245 TRACE(ERROR, _x("Unknown Decoder Extension '%s'"), ext); in main() 253 TRACE(ERROR, _x("Failed to open '%s': %d"), argv[1], errno); in main() 258 TRACE(ERROR, _x("Failed to open '%s': %d"), "/data/dec-out.pcm", errno); in main() 297 TRACE(ERROR, _x("Playback open error\n")); in main() 320 TRACE(ERROR, _x("Failed to init")); in main() 329 TRACE(ERROR, _b("decode thread join error:%x\n"), pthread_error); in main()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/ |
D | xf-debug.h | 99 #define TRACE(tag, fmt, ...) (void)(__xf_trace_##tag ? __xf_trace(tag, __xf_format##fmt,… macro 135 #define TRACE(tag, fmt, ...) (void)0 macro 176 TRACE(ERROR, _x("API error: %d"), __ret); \ 189 TRACE(ERROR, _x("check failed")); \
|
D | xaf-api.h | 118 TRACE(ERROR, _x("Null pointer error: %d"), __ret); \ 131 TRACE(ERROR, _x("Invalid value: %d"), __ret); \
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-debug.h | 121 #define TRACE(tag, fmt, ...) (void)(__xf_trace_##tag ? __xf_trace(tag, __xf_format##fmt,… macro 158 #define TRACE(tag, fmt, ...) (void)0 macro 199 TRACE(ERROR, _x("API error: %d"), __ret); \ 212 TRACE(ERROR, _x("check failed: %d"), __ret); \
|
D | xa_profiler.h | 104 TRACE(MCPS, _b("[%d] %d:%d.%d MCPS: %d Average: %d samples: %d\n"), in xa_compute_mcps() 108 TRACE(MCPS, _b("[%d|%lld] %d:%02d.%03d MCPS: %.2f Average: %.2f Peak: %.2f @ [%d] %s\n"), in xa_compute_mcps()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/mixer/ |
D | xa-mixer.c | 168 TRACE(PROCESS, _b("b[%u] = %p%s"), j, b[j], (n == 0 ? " - scratch" : "")); in xa_mixer_do_execute_stereo_16bit() 201 TRACE(PROCESS, _b("produced: %u bytes (%u samples)"), d->produced, d->frame_size); in xa_mixer_do_execute_stereo_16bit() 291 TRACE(ERROR, _x("Unrecognized command type: %X"), i_idx); in xa_mixer_init() 331 TRACE(ERROR, _x("Invalid parameter: %X"), i_idx); in xa_mixer_set_config_param() 379 TRACE(ERROR, _x("Invalid parameter: %X"), i_idx); in xa_mixer_get_config_param() 412 TRACE(ERROR, _x("Invalid index: %X"), i_idx); in xa_mixer_execute()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 186 TRACE(ERROR, _x("%s is %u%s, device only supports >= %u%s\n"), param_name, value, in check_param() 193 TRACE(ERROR, _x("%s is %u%s, device only supports <= %u%s\n"), param_name, value, in check_param() 210 TRACE(ERROR, _x("Unable to open PCM device %u.\n"), device); in sample_is_playable() 255 TRACE(ERROR, _x("Unable to open PCM device %u (%s)\n"), in xa_playback_open()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/plugins/cadence/pcm_proc/ |
D | xa-pcm.c | 123 TRACE(PROCESS, _b("Copy PCM%d %p to %p (%u samples)"), d->in_pcm_width, input, output, n); in xa_pcm_do_execute_copy() 151 TRACE(PROCESS, _b("Map PCM16 %p to %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm16_chmap() 194 TRACE(PROCESS, _b("Map PCM24 %p to %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm24_chmap() 232 … TRACE(PROCESS, _b("Convert PCM24 %p to PCM16 %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm24_to_pcm16() 274 … TRACE(PROCESS, _b("Convert PCM16 %p to PCM24 %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm16_to_pcm24() 346 …TRACE(INIT, _b("PCM format converter initialized: PCM%u -> PCM%u, ich=%u, och=%u, map=%X"), in_wid… in xa_pcm_do_runtime_init() 667 TRACE(PROCESS, _b("Input-over-condition signalled")); in xa_pcm_input_over()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/ |
D | xf-mem.h | 83 TRACE(1, _b("alloc-%u: %p[%u] (shared=%u)"), core, __data, size, shared); \ 109 TRACE(1, _b("free-%u: %p[%u] (shared=%u)"), core, __data, size, shared); \
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/app/ |
D | xa-factory.c | 160 TRACE(ERROR, _b("Unknown component type: %s"), id); in xf_component_factory()
|