Searched refs:rgrp (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_group.c | 37 u32 rcar_du_group_read(struct rcar_du_group *rgrp, u32 reg) in rcar_du_group_read() argument 39 return rcar_du_read(rgrp->dev, rgrp->mmio_offset + reg); in rcar_du_group_read() 42 void rcar_du_group_write(struct rcar_du_group *rgrp, u32 reg, u32 data) in rcar_du_group_write() argument 44 rcar_du_write(rgrp->dev, rgrp->mmio_offset + reg, data); in rcar_du_group_write() 47 static void rcar_du_group_setup_pins(struct rcar_du_group *rgrp) in rcar_du_group_setup_pins() argument 51 if (rgrp->num_crtcs > 1) in rcar_du_group_setup_pins() 54 rcar_du_group_write(rgrp, DEFR6, defr6); in rcar_du_group_setup_pins() 57 static void rcar_du_group_setup_defr8(struct rcar_du_group *rgrp) in rcar_du_group_setup_defr8() argument 59 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_setup_defr8() 71 if (rgrp->index == 0) { in rcar_du_group_setup_defr8() [all …]
|
D | rcar_du_plane.c | 314 static void rcar_du_plane_write(struct rcar_du_group *rgrp, in rcar_du_plane_write() argument 317 rcar_du_write(rgrp->dev, rgrp->mmio_offset + index * PLANE_OFF + reg, in rcar_du_plane_write() 321 static void rcar_du_plane_setup_scanout(struct rcar_du_group *rgrp, in rcar_du_plane_setup_scanout() argument 357 rcar_du_plane_write(rgrp, index, PnMWR, in rcar_du_plane_setup_scanout() 373 rcar_du_plane_write(rgrp, index, PnSPXR, src_x); in rcar_du_plane_setup_scanout() 374 rcar_du_plane_write(rgrp, index, PnSPYR, src_y * in rcar_du_plane_setup_scanout() 377 rcar_du_plane_write(rgrp, index, PnDSA0R, dma[0]); in rcar_du_plane_setup_scanout() 382 rcar_du_plane_write(rgrp, index, PnMWR, pitch); in rcar_du_plane_setup_scanout() 384 rcar_du_plane_write(rgrp, index, PnSPXR, src_x); in rcar_du_plane_setup_scanout() 385 rcar_du_plane_write(rgrp, index, PnSPYR, src_y * in rcar_du_plane_setup_scanout() [all …]
|
D | rcar_du_group.h | 54 u32 rcar_du_group_read(struct rcar_du_group *rgrp, u32 reg); 55 void rcar_du_group_write(struct rcar_du_group *rgrp, u32 reg, u32 data); 57 int rcar_du_group_get(struct rcar_du_group *rgrp); 58 void rcar_du_group_put(struct rcar_du_group *rgrp); 59 void rcar_du_group_start_stop(struct rcar_du_group *rgrp, bool start); 60 void rcar_du_group_restart(struct rcar_du_group *rgrp); 61 int rcar_du_group_set_routing(struct rcar_du_group *rgrp);
|
D | rcar_du_kms.c | 581 struct rcar_du_group *rgrp = &rcdu->groups[i]; in rcar_du_modeset_init() local 583 mutex_init(&rgrp->lock); in rcar_du_modeset_init() 585 rgrp->dev = rcdu; in rcar_du_modeset_init() 586 rgrp->mmio_offset = mmio_offsets[i]; in rcar_du_modeset_init() 587 rgrp->index = i; in rcar_du_modeset_init() 588 rgrp->num_crtcs = min(rcdu->num_crtcs - 2 * i, 2U); in rcar_du_modeset_init() 595 rgrp->dptsr_planes = rgrp->num_crtcs > 1 in rcar_du_modeset_init() 600 ret = rcar_du_planes_init(rgrp); in rcar_du_modeset_init() 623 struct rcar_du_group *rgrp = &rcdu->groups[i / 2]; in rcar_du_modeset_init() local 625 ret = rcar_du_crtc_create(rgrp, i); in rcar_du_modeset_init()
|
D | rcar_du_plane.h | 75 int rcar_du_planes_init(struct rcar_du_group *rgrp); 77 void __rcar_du_plane_setup(struct rcar_du_group *rgrp,
|
D | rcar_du_crtc.c | 613 int rcar_du_crtc_create(struct rcar_du_group *rgrp, unsigned int index) in rcar_du_crtc_create() argument 619 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_crtc_create() 658 rcrtc->group = rgrp; in rcar_du_crtc_create() 665 primary = &rgrp->planes[index % 2].plane; in rcar_du_crtc_create()
|
D | rcar_du_crtc.h | 76 int rcar_du_crtc_create(struct rcar_du_group *rgrp, unsigned int index);
|