• Home
  • Raw
  • Download

Lines Matching refs:rcdu

35 	struct rcar_du_device *rcdu = rcrtc->group->dev;  in rcar_du_crtc_read()  local
37 return rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_read()
42 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_write() local
44 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, data); in rcar_du_crtc_write()
49 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_clr() local
51 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_clr()
52 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) & ~clr); in rcar_du_crtc_clr()
57 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_set() local
59 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_set()
60 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) | set); in rcar_du_crtc_set()
66 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_clr_set() local
67 u32 value = rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_clr_set()
69 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, (value & ~clr) | set); in rcar_du_crtc_clr_set()
183 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_route_output() local
194 rcdu->dpad0_source = rcrtc->index; in rcar_du_crtc_route_output()
211 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_update_planes() local
256 if (rcar_du_has(rcdu, RCAR_DU_FEATURE_VSP1_SOURCE)) { in rcar_du_crtc_update_planes()
257 if (rcdu->info->gen < 3) { in rcar_du_crtc_update_planes()
339 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_wait_page_flip() local
346 dev_warn(rcdu->dev, "page flip timeout\n"); in rcar_du_crtc_wait_page_flip()
397 struct rcar_du_device *rcdu = rcrtc->group->dev; in rcar_du_crtc_disable_planes() local
416 dev_warn(rcdu->dev, "vertical blanking timeout\n"); in rcar_du_crtc_disable_planes()
619 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_crtc_create() local
620 struct platform_device *pdev = to_platform_device(rcdu->dev); in rcar_du_crtc_create()
621 struct rcar_du_crtc *rcrtc = &rcdu->crtcs[index]; in rcar_du_crtc_create()
632 if (rcar_du_has(rcdu, RCAR_DU_FEATURE_CRTC_IRQ_CLOCK)) { in rcar_du_crtc_create()
639 rcrtc->clock = devm_clk_get(rcdu->dev, name); in rcar_du_crtc_create()
641 dev_err(rcdu->dev, "no clock for CRTC %u\n", index); in rcar_du_crtc_create()
646 clk = devm_clk_get(rcdu->dev, clk_name); in rcar_du_crtc_create()
650 dev_info(rcdu->dev, "can't get external clock %u\n", index); in rcar_du_crtc_create()
662 if (rcar_du_has(rcdu, RCAR_DU_FEATURE_VSP1_SOURCE)) in rcar_du_crtc_create()
667 ret = drm_crtc_init_with_planes(rcdu->ddev, crtc, primary, in rcar_du_crtc_create()
678 if (rcar_du_has(rcdu, RCAR_DU_FEATURE_CRTC_IRQ_CLOCK)) { in rcar_du_crtc_create()
687 dev_err(rcdu->dev, "no IRQ for CRTC %u\n", index); in rcar_du_crtc_create()
691 ret = devm_request_irq(rcdu->dev, irq, rcar_du_crtc_irq, irqflags, in rcar_du_crtc_create()
692 dev_name(rcdu->dev), rcrtc); in rcar_du_crtc_create()
694 dev_err(rcdu->dev, in rcar_du_crtc_create()