Home
last modified time | relevance | path

Searched refs:log_ctx (Results 1 – 11 of 11) sorted by relevance

/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c314 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument
318 if (!log_ctx) { in dm_dtn_log_begin()
323 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()
327 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument
334 if (!log_ctx) { in dm_dtn_log_append_v()
357 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v()
359 if (total > log_ctx->size) { in dm_dtn_log_append_v()
363 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()
364 kfree(log_ctx->buf); in dm_dtn_log_append_v()
366 log_ctx->buf = buf; in dm_dtn_log_append_v()
[all …]
H A Damdgpu_dm_debugfs.c1030 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local
1039 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read()
1041 if (*pos < log_ctx.pos) { in dtn_log_read()
1042 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read()
1046 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read()
1052 kfree(log_ctx.buf); in dtn_log_read()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/include/
H A Dlogger_interface.h134 dm_dtn_log_begin(dc_ctx, log_ctx)
137 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__)
140 dm_dtn_log_end(dc_ctx, log_ctx)
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/
H A Ddm_services.h374 struct dc_log_buffer_ctx *log_ctx);
376 struct dc_log_buffer_ctx *log_ctx,
379 struct dc_log_buffer_ctx *log_ctx);
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer_debug.h38 struct dc_log_buffer_ctx *log_ctx);
H A Ddcn10_hw_sequencer.h141 struct dc_log_buffer_ctx *log_ctx);
H A Damdgpu_dcn10_hw_sequencer.c73 print_microsec(dc_ctx, log_ctx, ref_cycle)
78 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument
118 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument
131 void dcn10_log_hubbub_state(struct dc *dc, struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument
159 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument
274 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument
282 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state()
284 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state()
461 log_mpc_crc(dc, log_ctx); in dcn10_log_hw_state()
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/
H A Dhw_sequencer.h185 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
/netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/
H A Dlibrpz.h370 * @param log_ctx: NULL or resolver's context log messages
376 void *mutex, void *log_ctx);
/netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
H A Dlibrpz.h384 void *mutex, void *log_ctx);
/netbsd-src/external/bsd/unbound/dist/contrib/
H A Dfastrpz.patch729 + * @param log_ctx: NULL or resolver's context log messages
735 + void *mutex, void *log_ctx);