bdisp_dev
void bdisp_dbg_perf_begin(struct bdisp_dev *bdisp)
void bdisp_dbg_perf_end(struct bdisp_dev *bdisp)
struct bdisp_dev *bdisp = s->private;
struct bdisp_dev *bdisp = s->private;
struct bdisp_dev *bdisp = s->private;
struct bdisp_dev *bdisp = s->private;
struct bdisp_dev *bdisp = s->private;
void bdisp_debugfs_create(struct bdisp_dev *bdisp)
void bdisp_debugfs_remove(struct bdisp_dev *bdisp)
dev_err(ctx->bdisp_dev->dev, "node %d is null\n", i);
struct bdisp_node **copy_node = ctx->bdisp_dev->dbg.copy_node;
struct bdisp_request *request = &ctx->bdisp_dev->dbg.copy_request;
copy_node[i] = devm_kzalloc(ctx->bdisp_dev->dev,
struct bdisp_dev *bdisp = ctx->bdisp_dev;
int bdisp_hw_reset(struct bdisp_dev *bdisp)
int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp)
dma_free_attrs(ctx->bdisp_dev->dev,
struct device *dev = ctx->bdisp_dev->dev;
dev_err(ctx->bdisp_dev->dev,
struct device *dev = ctx->bdisp_dev->dev;
dev_dbg(ctx->bdisp_dev->dev, "%s\n", __func__);
dev_err(ctx->bdisp_dev->dev, "src not defined\n");
dev_err(ctx->bdisp_dev->dev, "dst not defined\n");
static int bdisp_register_device(struct bdisp_dev *bdisp)
static void bdisp_unregister_device(struct bdisp_dev *bdisp)
struct bdisp_dev *bdisp = priv;
if (bdisp_hw_get_and_clear_irq((struct bdisp_dev *)priv))
struct bdisp_dev *bdisp = container_of(twork, struct bdisp_dev,
dev_err(ctx->bdisp_dev->dev, "Device work timeout\n");
static int bdisp_m2m_suspend(struct bdisp_dev *bdisp)
static int bdisp_m2m_resume(struct bdisp_dev *bdisp)
struct bdisp_dev *bdisp = dev_get_drvdata(dev);
struct bdisp_dev *bdisp = dev_get_drvdata(dev);
struct bdisp_dev *bdisp = dev_get_drvdata(dev);
struct bdisp_dev *bdisp = platform_get_drvdata(pdev);
spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
struct bdisp_dev *bdisp;
spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
bdisp = devm_kzalloc(dev, sizeof(struct bdisp_dev), GFP_KERNEL);
spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
dev_err(ctx->bdisp_dev->dev,
dev_dbg(ctx->bdisp_dev->dev, "%s\n", __func__);
v4l2_m2m_job_finish(ctx->bdisp_dev->m2m.m2m_dev,
struct bdisp_dev *bdisp = ctx->bdisp_dev;
dev_dbg(ctx->bdisp_dev->dev, "%s\n", __func__);
dev_err(ctx->bdisp_dev->dev, "%s IRQ timeout\n", __func__);
dev_dbg(ctx->bdisp_dev->dev, "ignoring some planes\n");
dev_dbg(ctx->bdisp_dev->dev,
struct bdisp_dev *bdisp;
bdisp = ctx->bdisp_dev;
dev_err(ctx->bdisp_dev->dev, "unknown control %d\n", ctrl->id);
spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
dev_err(ctx->bdisp_dev->dev, "Invalid frame (%p)\n", frame);
dev_err(ctx->bdisp_dev->dev, "Invalid format\n");
dev_err(ctx->bdisp_dev->dev, "Invalid frame (%p)\n", frame);
dev_dbg(ctx->bdisp_dev->dev, "0 data buffer, skip it\n");
int ret = pm_runtime_resume_and_get(ctx->bdisp_dev->dev);
dev_err(ctx->bdisp_dev->dev, "failed to set runtime PM\n");
pm_runtime_put(ctx->bdisp_dev->dev);
src_vq->lock = &ctx->bdisp_dev->lock;
src_vq->dev = ctx->bdisp_dev->v4l2_dev.dev;
dst_vq->lock = &ctx->bdisp_dev->lock;
dst_vq->dev = ctx->bdisp_dev->v4l2_dev.dev;
struct bdisp_dev *bdisp = video_drvdata(file);
ctx->bdisp_dev = bdisp;
struct bdisp_dev *bdisp = ctx->bdisp_dev;
struct bdisp_dev *bdisp = ctx->bdisp_dev;
dev_dbg(ctx->bdisp_dev->dev, "No YU12 on capture\n");
dev_err(ctx->bdisp_dev->dev, "Invalid frame (%p)\n", frame);
dev_dbg(ctx->bdisp_dev->dev, "Unknown format 0x%x\n",
dev_dbg(ctx->bdisp_dev->dev, "No YU12 on capture\n");
dev_dbg(ctx->bdisp_dev->dev,
dev_err(ctx->bdisp_dev->dev, "Cannot set format\n");
dev_err(ctx->bdisp_dev->dev, "queue (%d) busy\n", f->type);
dev_err(ctx->bdisp_dev->dev, "Unknown format 0x%x\n",
dev_err(ctx->bdisp_dev->dev, "Invalid frame (%p)\n", frame);
dev_err(ctx->bdisp_dev->dev, "Invalid target\n");
dev_err(ctx->bdisp_dev->dev, "Invalid target\n");
dev_err(ctx->bdisp_dev->dev, "Invalid type\n");
dev_err(ctx->bdisp_dev->dev, "Invalid type / target\n");
dev_err(ctx->bdisp_dev->dev, "Invalid frame (%p)\n", frame);
dev_err(ctx->bdisp_dev->dev,
dev_err(ctx->bdisp_dev->dev,
dev_dbg(ctx->bdisp_dev->dev,
struct bdisp_dev *bdisp_dev;
int bdisp_hw_reset(struct bdisp_dev *bdisp);
int bdisp_hw_get_and_clear_irq(struct bdisp_dev *bdisp);
void bdisp_debugfs_remove(struct bdisp_dev *bdisp);
void bdisp_debugfs_create(struct bdisp_dev *bdisp);
void bdisp_dbg_perf_begin(struct bdisp_dev *bdisp);
void bdisp_dbg_perf_end(struct bdisp_dev *bdisp);