Home
last modified time | relevance | path

Searched refs:TRACE (Results 1 – 25 of 28) sorted by relevance

12

/device/linaro/hikey/hifi/xaf/hifi-dpf/audio/
Dxa-class-base.h158 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); \
Dxa-class-base.c79 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()
127TRACE(INIT, _b("Mem tab %d: sz=%d al=%d ty=%d Scratch memory (%p)"), i, size, align, type, base->s… in xa_base_postinit()
138TRACE(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()
156TRACE(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()
253TRACE(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()
284TRACE(SETUP, _b("set-ext-param[%p]: [%u]:%u - [%02X:%02X:%02X:%02X:...]"), base, id, dsize, cmd->d… in xa_base_set_param_ext()
[all …]
Dxa-class-audio-codec.c121TRACE(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()
149TRACE(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 …]
Dxa-class-mixer.c220 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/
Dxf-proxy.c71TRACE(EXEC, _b("proxy[%p]: command done: [%08x:%p:%u]"), proxy, msg->opcode, msg->buffer, msg->len… in xf_proxy_cmd_exec()
161TRACE(REG, _b("[%p]=[%s:%u:%u]"), handle, id, XF_PORT_CORE(handle->id), XF_PORT_CLIENT(handle->id)… in xf_client_register()
186TRACE(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 …]
Dxf-fio.c71 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()
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-io.c78 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 …]
Dxf-core.c107 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 …]
Dxf-shmem.c162 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()
Dxf-sched.c101 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()
/device/linaro/hikey/hifi/xaf/host-apf/include/os/android/
Dxf-osal.h101 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/
Dxf-osal.h95 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/
Dxaf-dec-mix-test.c115 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()
Dxaf-dec-test.c104 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/
Dxf-debug.h99 #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")); \
Dxaf-api.h118 TRACE(ERROR, _x("Null pointer error: %d"), __ret); \
131 TRACE(ERROR, _x("Invalid value: %d"), __ret); \
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/
D_sre.c118 #define TRACE(v) printf v macro
120 #define TRACE(v) macro
288 TRACE(("allocate/grow stack %d\n", cursize)); in data_stack_grow()
547 TRACE(("|%p|%p|COUNT IN\n", pattern, ptr)); in SRE_COUNT()
554 TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr)); in SRE_COUNT()
562 TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr)); in SRE_COUNT()
569 TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
577 TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
585 TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
593 TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
D_sre.c118 #define TRACE(v) printf v macro
120 #define TRACE(v) macro
288 TRACE(("allocate/grow stack %d\n", cursize)); in data_stack_grow()
547 TRACE(("|%p|%p|COUNT IN\n", pattern, ptr)); in SRE_COUNT()
554 TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr)); in SRE_COUNT()
562 TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr)); in SRE_COUNT()
569 TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
577 TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
585 TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
593 TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/
D_sre.c119 #define TRACE(v) printf v macro
121 #define TRACE(v) macro
289 TRACE(("allocate/grow stack %" PY_FORMAT_SIZE_T "d\n", cursize)); in data_stack_grow()
548 TRACE(("|%p|%p|COUNT IN\n", pattern, ptr)); in SRE_COUNT()
555 TRACE(("|%p|%p|COUNT ANY\n", pattern, ptr)); in SRE_COUNT()
563 TRACE(("|%p|%p|COUNT ANY_ALL\n", pattern, ptr)); in SRE_COUNT()
570 TRACE(("|%p|%p|COUNT LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
578 TRACE(("|%p|%p|COUNT LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
586 TRACE(("|%p|%p|COUNT NOT_LITERAL %d\n", pattern, ptr, chr)); in SRE_COUNT()
594 TRACE(("|%p|%p|COUNT NOT_LITERAL_IGNORE %d\n", pattern, ptr, chr)); in SRE_COUNT()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/
Dxf-debug.h121 #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); \
Dxa_profiler.h104 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/
Dxa-mixer.c168 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/
Dxa_playback.c186 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/include/sys/xt-shmem/
Dxf-mem.h83 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/plugins/cadence/pcm_proc/
Dxa-pcm.c123 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()
232TRACE(PROCESS, _b("Convert PCM24 %p to PCM16 %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm24_to_pcm16()
274TRACE(PROCESS, _b("Convert PCM16 %p to PCM24 %p (%u samples, map: %X)"), input, output, n, chmap); in xa_pcm_do_execute_pcm16_to_pcm24()
346TRACE(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()

12