Searched refs:rcrtc (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/drivers/gpu/drm/rcar-du/ |
D | rcar_du_crtc.c | 35 static u32 rcar_du_crtc_read(struct rcar_du_crtc *rcrtc, u32 reg) in rcar_du_crtc_read() argument 37 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_read() 39 return rcar_du_read(rcdu, rcrtc->mmio_offset + reg); in rcar_du_crtc_read() 42 static void rcar_du_crtc_write(struct rcar_du_crtc *rcrtc, u32 reg, u32 data) in rcar_du_crtc_write() argument 44 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_write() 46 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, data); in rcar_du_crtc_write() 49 static void rcar_du_crtc_clr(struct rcar_du_crtc *rcrtc, u32 reg, u32 clr) in rcar_du_crtc_clr() argument 51 struct rcar_du_device *rcdu = rcrtc->dev; in rcar_du_crtc_clr() 53 rcar_du_write(rcdu, rcrtc->mmio_offset + reg, in rcar_du_crtc_clr() 54 rcar_du_read(rcdu, rcrtc->mmio_offset + reg) & ~clr); in rcar_du_crtc_clr() [all …]
|
D | rcar_du_writeback.h | 19 struct rcar_du_crtc *rcrtc); 20 void rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, 22 void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc); 25 struct rcar_du_crtc *rcrtc) in rcar_du_writeback_init() argument 30 rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, in rcar_du_writeback_setup() argument 34 static inline void rcar_du_writeback_complete(struct rcar_du_crtc *rcrtc) in rcar_du_writeback_complete() argument
|
D | rcar_du_writeback.c | 51 struct rcar_du_crtc *rcrtc = wb_to_rcar_crtc(connector); in rcar_du_wb_prepare_job() local 63 ret = rcar_du_vsp_map_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_prepare_job() 76 struct rcar_du_crtc *rcrtc = wb_to_rcar_crtc(connector); in rcar_du_wb_cleanup_job() local 82 rcar_du_vsp_unmap_fb(rcrtc->vsp, job->fb, rjob->sg_tables); in rcar_du_wb_cleanup_job() 199 struct rcar_du_crtc *rcrtc) in rcar_du_writeback_init() argument 201 struct drm_writeback_connector *wb_conn = &rcrtc->writeback; in rcar_du_writeback_init() 211 1 << drm_crtc_index(&rcrtc->crtc)); in rcar_du_writeback_init() 214 void rcar_du_writeback_setup(struct rcar_du_crtc *rcrtc, in rcar_du_writeback_setup() argument 223 state = rcrtc->writeback.base.state; in rcar_du_writeback_setup() 238 drm_writeback_queue_job(&rcrtc->writeback, state); in rcar_du_writeback_setup() [all …]
|
D | rcar_du_group.c | 90 struct rcar_du_crtc *rcrtc; in rcar_du_group_setup_didsr() local 108 rcrtc = rcdu->crtcs; in rcar_du_group_setup_didsr() 115 rcrtc = &rcdu->crtcs[rgrp->index * 2]; in rcar_du_group_setup_didsr() 123 for (i = 0; i < num_crtcs; ++i, ++rcrtc) { in rcar_du_group_setup_didsr() 124 if (rcdu->info->lvds_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr() 127 else if (rcdu->info->dsi_clk_mask & BIT(rcrtc->index)) in rcar_du_group_setup_didsr() 228 struct rcar_du_crtc *rcrtc = &rgrp->dev->crtcs[rgrp->index * 2]; in __rcar_du_group_start_stop() local 230 rcar_du_crtc_dsysr_clr_set(rcrtc, DSYSR_DRES | DSYSR_DEN, in __rcar_du_group_start_stop() 331 struct rcar_du_crtc *rcrtc; in rcar_du_group_set_dpad_levels() local 333 rcrtc = &rcdu->crtcs[rgrp->index * 2 + i]; in rcar_du_group_set_dpad_levels() [all …]
|
D | rcar_du_crtc.h | 99 void rcar_du_crtc_finish_page_flip(struct rcar_du_crtc *rcrtc); 101 void rcar_du_crtc_dsysr_clr_set(struct rcar_du_crtc *rcrtc, u32 clr, u32 set);
|
D | rcar_du_kms.c | 501 struct rcar_du_crtc *rcrtc = to_rcar_crtc(crtc); in rcar_du_atomic_commit_tail() local 504 rcdu->dpad0_source = rcrtc->index; in rcar_du_atomic_commit_tail() 507 rcdu->dpad1_source = rcrtc->index; in rcar_du_atomic_commit_tail() 952 struct rcar_du_crtc *rcrtc = &rcdu->crtcs[i]; in rcar_du_modeset_init() local 954 ret = rcar_du_writeback_init(rcdu, rcrtc); in rcar_du_modeset_init()
|