Lines Matching full:ipu

10 #include <video/imx-ipu-image-convert.h>
11 #include "ipu-prv.h"
205 /* the IPU end-of-frame irqs */
226 struct ipu_soc *ipu; member
343 dev_dbg(priv->ipu->dev, in dump_format()
373 dma_free_coherent(priv->ipu->dev, in free_dma_buf()
384 buf->virt = dma_alloc_coherent(priv->ipu->dev, buf->len, &buf->phys, in alloc_dma_buf()
387 dev_err(priv->ipu->dev, "failed to alloc dma buffer\n"); in alloc_dma_buf()
458 dev_dbg(ctx->chan->priv->ipu->dev, in calc_image_resize_coefficients()
511 struct device *dev = ctx->chan->priv->ipu->dev; in find_best_seam()
735 struct device *dev = ctx->chan->priv->ipu->dev; in find_seams()
893 dev_dbg(priv->ipu->dev, in calc_tile_dimensions()
902 dev_err(priv->ipu->dev, "invalid %s tile size: %ux%u\n", in calc_tile_dimensions()
953 dev_dbg(priv->ipu->dev, "task %u: ctx %p: [%d,%d] --> [%d,%d]\n", in transform_tile_index()
1032 dev_err(priv->ipu->dev, in calc_tile_offsets_planar()
1074 dev_err(priv->ipu->dev, in calc_tile_offsets_packed()
1152 dev_dbg(priv->ipu->dev, "%s: column %u hscale: *8192/%u\n", in calc_tile_resize_coefficients()
1209 dev_dbg(priv->ipu->dev, "%s: row %u vscale: *8192/%u\n", in calc_tile_resize_coefficients()
1273 dev_dbg(priv->ipu->dev, "%s: task %u: stopping ctx %p run %p\n", in convert_stop()
1374 if (!channel->ipu->prg_priv) in init_idmac_channel()
1393 dev_dbg(priv->ipu->dev, "%s: task %u: starting ctx %p run %p tile %u -> %u\n", in convert_start()
1416 dev_dbg(priv->ipu->dev, "%s: %ux%u -> %ux%u (rsc = 0x%x)\n", in convert_start()
1428 dev_err(priv->ipu->dev, "ipu_ic_task_init failed, %d\n", ret); in convert_start()
1489 ipu_dump(priv->ipu); in convert_start()
1527 dev_dbg(priv->ipu->dev, in run_next()
1563 dev_dbg(priv->ipu->dev, in empty_done_q()
1587 dev_dbg(priv->ipu->dev, "%s: task %u: enter\n", __func__, in do_bh()
1600 dev_dbg(priv->ipu->dev, in do_bh()
1609 dev_dbg(priv->ipu->dev, "%s: task %u: exit\n", __func__, in do_bh()
1758 dev_err(priv->ipu->dev, in eof_irq()
1765 dev_err(priv->ipu->dev, "Received unknown irq %d\n", irq); in eof_irq()
1844 irq = ipu_idmac_channel_irq(priv->ipu, channel, IPU_IRQ_EOF); in get_eof_irq()
1846 ret = request_threaded_irq(irq, eof_irq, do_bh, 0, "ipu-ic", chan); in get_eof_irq()
1848 dev_err(priv->ipu->dev, "could not acquire irq %d\n", irq); in get_eof_irq()
1862 chan->ic = ipu_ic_get(priv->ipu, chan->ic_task); in get_ipu_resources()
1864 dev_err(priv->ipu->dev, "could not acquire IC\n"); in get_ipu_resources()
1870 chan->in_chan = ipu_idmac_get(priv->ipu, dma->in); in get_ipu_resources()
1871 chan->out_chan = ipu_idmac_get(priv->ipu, dma->out); in get_ipu_resources()
1873 dev_err(priv->ipu->dev, "could not acquire idmac channels\n"); in get_ipu_resources()
1878 chan->rotation_in_chan = ipu_idmac_get(priv->ipu, dma->rot_in); in get_ipu_resources()
1879 chan->rotation_out_chan = ipu_idmac_get(priv->ipu, dma->rot_out); in get_ipu_resources()
1881 dev_err(priv->ipu->dev, in get_ipu_resources()
1934 dev_err(priv->ipu->dev, "pixelformat not supported for %s\n", in fill_image()
1964 /* Adjusts input/output images to IPU restrictions */
2070 ipu_image_convert_prepare(struct ipu_soc *ipu, enum ipu_ic_task ic_task, in ipu_image_convert_prepare() argument
2076 struct ipu_image_convert_priv *priv = ipu->image_convert_priv; in ipu_image_convert_prepare()
2093 dev_err(priv->ipu->dev, "%s: in/out formats invalid\n", in ipu_image_convert_prepare()
2104 dev_dbg(priv->ipu->dev, "%s: task %u: ctx %p\n", __func__, in ipu_image_convert_prepare()
2177 * the IPU's IDMAC channels allow only a single U and V plane in ipu_image_convert_prepare()
2281 dev_dbg(priv->ipu->dev, "%s: task %u: ctx %p run %p\n", __func__, in ipu_image_convert_queue()
2337 dev_dbg(priv->ipu->dev, in __ipu_image_convert_abort()
2348 dev_dbg(priv->ipu->dev, in __ipu_image_convert_abort()
2355 dev_warn(priv->ipu->dev, "%s: timeout\n", __func__); in __ipu_image_convert_abort()
2378 dev_dbg(priv->ipu->dev, "%s: task %u: removing ctx %p\n", __func__, in ipu_image_convert_unprepare()
2405 ipu_image_convert(struct ipu_soc *ipu, enum ipu_ic_task ic_task, in ipu_image_convert() argument
2415 ctx = ipu_image_convert_prepare(ipu, ic_task, in, out, rot_mode, in ipu_image_convert()
2450 int ipu_image_convert_sync(struct ipu_soc *ipu, enum ipu_ic_task ic_task, in ipu_image_convert_sync() argument
2460 run = ipu_image_convert(ipu, ic_task, in, out, rot_mode, in ipu_image_convert_sync()
2475 int ipu_image_convert_init(struct ipu_soc *ipu, struct device *dev) in ipu_image_convert_init() argument
2484 ipu->image_convert_priv = priv; in ipu_image_convert_init()
2485 priv->ipu = ipu; in ipu_image_convert_init()
2507 void ipu_image_convert_exit(struct ipu_soc *ipu) in ipu_image_convert_exit() argument