Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_helpers.c396 struct dc_log_buffer_ctx *log_ctx) in dm_dtn_log_begin() argument
400 if (!log_ctx) { in dm_dtn_log_begin()
405 dm_dtn_log_append_v(ctx, log_ctx, "%s", msg); in dm_dtn_log_begin()
410 struct dc_log_buffer_ctx *log_ctx, in dm_dtn_log_append_v() argument
417 if (!log_ctx) { in dm_dtn_log_append_v()
440 total = log_ctx->pos + n + 1; in dm_dtn_log_append_v()
442 if (total > log_ctx->size) { in dm_dtn_log_append_v()
446 memcpy(buf, log_ctx->buf, log_ctx->pos); in dm_dtn_log_append_v()
447 kfree(log_ctx->buf); in dm_dtn_log_append_v()
449 log_ctx->buf = buf; in dm_dtn_log_append_v()
[all …]
H A Damdgpu_dm_debugfs.c3423 struct dc_log_buffer_ctx log_ctx = { 0 }; in dtn_log_read() local
3432 dc->hwss.log_hw_state(dc, &log_ctx); in dtn_log_read()
3434 if (*pos < log_ctx.pos) { in dtn_log_read()
3435 size_t to_copy = log_ctx.pos - *pos; in dtn_log_read()
3439 if (!copy_to_user(buf, log_ctx.buf + *pos, to_copy)) { in dtn_log_read()
3445 kfree(log_ctx.buf); in dtn_log_read()
/openbmc/linux/drivers/gpu/drm/amd/display/include/
H A Dlogger_interface.h128 dm_dtn_log_begin(dc_ctx, log_ctx)
131 dm_dtn_log_append_v(dc_ctx, log_ctx, msg, ##__VA_ARGS__)
134 dm_dtn_log_end(dc_ctx, log_ctx)
/openbmc/linux/drivers/gpu/drm/amd/display/dc/
H A Ddm_services.h288 struct dc_log_buffer_ctx *log_ctx);
290 struct dc_log_buffer_ctx *log_ctx,
293 struct dc_log_buffer_ctx *log_ctx);
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer_debug.h36 struct dc_log_buffer_ctx *log_ctx);
H A Ddcn10_hw_sequencer.h152 struct dc_log_buffer_ctx *log_ctx);
H A Ddcn10_hw_sequencer.c73 print_microsec(dc_ctx, log_ctx, ref_cycle)
81 struct dc_log_buffer_ctx *log_ctx, in print_microsec() argument
126 struct dc_log_buffer_ctx *log_ctx) in log_mpc_crc() argument
140 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hubbub_state() argument
168 static void dcn10_log_hubp_states(struct dc *dc, void *log_ctx) in dcn10_log_hubp_states() argument
283 struct dc_log_buffer_ctx *log_ctx) in dcn10_log_hw_state() argument
291 dcn10_log_hubbub_state(dc, log_ctx); in dcn10_log_hw_state()
293 dcn10_log_hubp_states(dc, log_ctx); in dcn10_log_hw_state()
472 log_mpc_crc(dc, log_ctx); in dcn10_log_hw_state()
/openbmc/linux/drivers/vhost/
H A Dvhost.c392 vq->log_ctx = NULL; in vhost_vq_reset()
558 dev->log_ctx = NULL; in vhost_dev_init()
1053 if (dev->log_ctx) in vhost_dev_cleanup()
1054 eventfd_ctx_put(dev->log_ctx); in vhost_dev_cleanup()
1055 dev->log_ctx = NULL; in vhost_dev_cleanup()
2164 swap(ctx, d->log_ctx); in vhost_dev_ioctl()
2167 d->vqs[i]->log_ctx = d->log_ctx; in vhost_dev_ioctl()
2318 if (vq->log_ctx) in vhost_log_write()
2319 eventfd_signal(vq->log_ctx, 1); in vhost_log_write()
2341 if (vq->log_ctx) in vhost_update_used_flags()
[all …]
H A Dvhost.h95 struct eventfd_ctx *log_ctx; member
167 struct eventfd_ctx *log_ctx; member
/openbmc/linux/drivers/gpu/drm/amd/display/dc/inc/
H A Dhw_sequencer.h336 void (*log_hw_state)(struct dc *dc, struct dc_log_buffer_ctx *log_ctx);
/openbmc/openbmc/meta-raspberrypi/recipes-multimedia/rpidistro-ffmpeg/files/
H A D0001-ffmpeg-5.1.4-rpi_24.patch5087 void *log_ctx = s->avctx;
5099 av_log(log_ctx, AV_LOG_DEBUG, "v4l2 capture format not supported\n");
5101 av_log(log_ctx, AV_LOG_ERROR, "capture VIDIOC_STREAMOFF\n");
5107 - av_log(log_ctx, AV_LOG_DEBUG, "waiting for user to release AVBufferRefs\n");