Lines Matching full:ipu
14 #include <video/imx-ipu-v3.h>
15 #include "ipu-prv.h"
22 struct clk *clk_ipu; /* IPU bus clock */
25 struct ipu_soc *ipu; member
170 dev_err(di->ipu->dev, "DI%d counters out of range.\n", in ipu_di_sync_config()
435 * the DI specific clock and the internal IPU clock. See in ipu_di_config_clock()
436 * DI_GENERAL bit 20. We select the IPU clock if it can in ipu_di_config_clock()
450 dev_dbg(di->ipu->dev, " IPU clock can give %lu with divider %u, error %c%d.%d%%\n", in ipu_di_config_clock()
494 dev_dbg(di->ipu->dev, "Want %luHz IPU %luHz DI %luHz using %s, %luHz\n", in ipu_di_config_clock()
498 clk == di->clk_di ? "DI" : "IPU", in ipu_di_config_clock()
503 * This function is called to adjust a video mode to IPU restrictions.
512 …dev_err(di->ipu->dev, "hactive %d is not aligned to 8 and front porch is too small to compensate\n… in ipu_di_adjust_videomode()
529 dev_warn(di->ipu->dev, "failed to adjust videomode\n"); in ipu_di_adjust_videomode()
533 dev_dbg(di->ipu->dev, "videomode adapted for IPU restrictions\n"); in ipu_di_adjust_videomode()
567 dev_dbg(di->ipu->dev, "disp %d: panel size = %d x %d\n", in ipu_di_init_sync_panel()
570 dev_dbg(di->ipu->dev, "Clocks: IPU %luHz DI %luHz Needed %luHz\n", in ipu_di_init_sync_panel()
651 ipu_module_enable(di->ipu, di->module); in ipu_di_enable()
661 ipu_module_disable(di->ipu, di->module); in ipu_di_disable()
677 struct ipu_di *ipu_di_get(struct ipu_soc *ipu, int disp) in ipu_di_get() argument
684 di = ipu->di_priv[disp]; in ipu_di_get()
711 int ipu_di_init(struct ipu_soc *ipu, struct device *dev, int id, in ipu_di_init() argument
724 ipu->di_priv[id] = di; in ipu_di_init()
742 di->ipu = ipu; in ipu_di_init()
747 void ipu_di_exit(struct ipu_soc *ipu, int id) in ipu_di_exit() argument