Lines Matching refs:rcdu

58 	struct rcar_du_device *rcdu = rgrp->dev;  in rcar_du_group_setup_defr8()  local
61 if (rcdu->info->gen < 3) { in rcar_du_group_setup_defr8()
70 defr8 |= DEFR8_DRGBS_DU(rcdu->dpad0_source); in rcar_du_group_setup_defr8()
80 if (rgrp->index == rcdu->dpad0_source / 2) in rcar_du_group_setup_defr8()
81 defr8 |= DEFR8_DRGBS_DU(rcdu->dpad0_source); in rcar_du_group_setup_defr8()
89 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_setup_didsr() local
103 if (rcdu->info->gen < 3 && rgrp->index == 0) { in rcar_du_group_setup_didsr()
108 rcrtc = rcdu->crtcs; in rcar_du_group_setup_didsr()
109 num_crtcs = rcdu->num_crtcs; in rcar_du_group_setup_didsr()
110 } else if (rcdu->info->gen == 3 && rgrp->num_crtcs > 1) { in rcar_du_group_setup_didsr()
115 rcrtc = &rcdu->crtcs[rgrp->index * 2]; in rcar_du_group_setup_didsr()
124 if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr()
137 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_setup() local
142 if (rcdu->info->gen < 3) { in rcar_du_group_setup()
160 if (rcdu->info->gen >= 2) { in rcar_du_group_setup()
165 if (rcdu->info->gen >= 3) in rcar_du_group_setup()
215 struct rcar_du_device *rcdu = rgrp->dev; in __rcar_du_group_start_stop() local
225 if (rcdu->info->channels_mask & BIT(rgrp->index * 2)) { in __rcar_du_group_start_stop()
268 int rcar_du_set_dpad0_vsp1_routing(struct rcar_du_device *rcdu) in rcar_du_set_dpad0_vsp1_routing() argument
275 if (rcdu->info->gen < 2) in rcar_du_set_dpad0_vsp1_routing()
285 index = rcdu->info->gen < 3 ? 0 : DIV_ROUND_UP(rcdu->num_crtcs, 2) - 1; in rcar_du_set_dpad0_vsp1_routing()
286 rgrp = &rcdu->groups[index]; in rcar_du_set_dpad0_vsp1_routing()
287 crtc = &rcdu->crtcs[index * 2]; in rcar_du_set_dpad0_vsp1_routing()
310 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_set_dpad_levels() local
314 if (rcdu->info->gen < 2) in rcar_du_group_set_dpad_levels()
331 rcrtc = &rcdu->crtcs[rgrp->index * 2 + i]; in rcar_du_group_set_dpad_levels()
343 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_set_routing() local
353 if (rcdu->dpad1_source == rgrp->index * 2) in rcar_du_group_set_routing()