Searched refs:rgrp (Results 1 – 7 of 7) sorted by relevance
/drivers/gpu/drm/rcar-du/ |
D | rcar_du_group.c | 33 u32 rcar_du_group_read(struct rcar_du_group *rgrp, u32 reg) in rcar_du_group_read() argument 35 return rcar_du_read(rgrp->dev, rgrp->mmio_offset + reg); in rcar_du_group_read() 38 void rcar_du_group_write(struct rcar_du_group *rgrp, u32 reg, u32 data) in rcar_du_group_write() argument 40 rcar_du_write(rgrp->dev, rgrp->mmio_offset + reg, data); in rcar_du_group_write() 43 static void rcar_du_group_setup_pins(struct rcar_du_group *rgrp) in rcar_du_group_setup_pins() argument 47 if (rgrp->channels_mask & BIT(0)) in rcar_du_group_setup_pins() 50 if (rgrp->channels_mask & BIT(1)) in rcar_du_group_setup_pins() 53 rcar_du_group_write(rgrp, DEFR6, defr6); in rcar_du_group_setup_pins() 56 static void rcar_du_group_setup_defr8(struct rcar_du_group *rgrp) in rcar_du_group_setup_defr8() argument 58 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_group_setup_defr8() [all …]
|
D | rcar_du_plane.c | 321 static void rcar_du_plane_write(struct rcar_du_group *rgrp, in rcar_du_plane_write() argument 324 rcar_du_write(rgrp->dev, rgrp->mmio_offset + index * PLANE_OFF + reg, in rcar_du_plane_write() 328 static void rcar_du_plane_setup_scanout(struct rcar_du_group *rgrp, in rcar_du_plane_setup_scanout() argument 365 rcar_du_plane_write(rgrp, index, PnMWR, in rcar_du_plane_setup_scanout() 382 rcar_du_plane_write(rgrp, index, PnSPXR, src_x); in rcar_du_plane_setup_scanout() 383 rcar_du_plane_write(rgrp, index, PnSPYR, src_y * in rcar_du_plane_setup_scanout() 386 rcar_du_plane_write(rgrp, index, PnDSA0R, dma[0]); in rcar_du_plane_setup_scanout() 391 rcar_du_plane_write(rgrp, index, PnMWR, pitch); in rcar_du_plane_setup_scanout() 393 rcar_du_plane_write(rgrp, index, PnSPXR, src_x); in rcar_du_plane_setup_scanout() 394 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 | 805 struct rcar_du_group *rgrp = &rcdu->groups[i]; in rcar_du_modeset_init() local 807 mutex_init(&rgrp->lock); in rcar_du_modeset_init() 809 rgrp->dev = rcdu; in rcar_du_modeset_init() 810 rgrp->mmio_offset = mmio_offsets[i]; in rcar_du_modeset_init() 811 rgrp->index = i; in rcar_du_modeset_init() 813 rgrp->channels_mask = (rcdu->info->channels_mask >> (2 * i)) in rcar_du_modeset_init() 815 rgrp->num_crtcs = hweight8(rgrp->channels_mask); in rcar_du_modeset_init() 823 rgrp->dptsr_planes = rgrp->num_crtcs > 1 in rcar_du_modeset_init() 828 ret = rcar_du_planes_init(rgrp); in rcar_du_modeset_init() 848 struct rcar_du_group *rgrp; in rcar_du_modeset_init() local [all …]
|
D | rcar_du_plane.h | 73 int rcar_du_planes_init(struct rcar_du_group *rgrp); 75 void __rcar_du_plane_setup(struct rcar_du_group *rgrp,
|
D | rcar_du_crtc.h | 107 int rcar_du_crtc_create(struct rcar_du_group *rgrp, unsigned int swindex,
|
D | rcar_du_crtc.c | 1197 int rcar_du_crtc_create(struct rcar_du_group *rgrp, unsigned int swindex, in rcar_du_crtc_create() argument 1204 struct rcar_du_device *rcdu = rgrp->dev; in rcar_du_crtc_create() 1251 rcrtc->group = rgrp; in rcar_du_crtc_create() 1259 primary = &rgrp->planes[swindex % 2].plane; in rcar_du_crtc_create() 1271 rgrp->cmms_mask |= BIT(hwindex % 2); in rcar_du_crtc_create()
|