Searched refs:vc4_crtc (Results 1 – 6 of 6) sorted by relevance
/drivers/gpu/drm/vc4/ |
D | vc4_crtc.c | 49 #define CRTC_WRITE(offset, val) writel(val, vc4_crtc->regs + (offset)) 50 #define CRTC_READ(offset) readl(vc4_crtc->regs + (offset)) 90 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_crtc_get_scanout_position() local 178 *stime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 180 *etime = vc4_crtc->t_vblank; in vc4_crtc_get_scanout_position() 209 static u32 vc4_get_fifo_full_level(struct vc4_crtc *vc4_crtc, u32 format) in vc4_get_fifo_full_level() argument 211 const struct vc4_crtc_data *crtc_data = vc4_crtc_to_vc4_crtc_data(vc4_crtc); in vc4_get_fifo_full_level() 212 const struct vc4_pv_data *pv_data = vc4_crtc_to_vc4_pv_data(vc4_crtc); in vc4_get_fifo_full_level() 213 struct vc4_dev *vc4 = to_vc4_dev(vc4_crtc->base.dev); in vc4_get_fifo_full_level() 262 static u32 vc4_crtc_get_fifo_full_level_bits(struct vc4_crtc *vc4_crtc, in vc4_crtc_get_fifo_full_level_bits() argument [all …]
|
D | vc4_txp.c | 149 struct vc4_crtc base; 450 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt() local 453 vc4_crtc_handle_vblank(vc4_crtc); in vc4_txp_interrupt() 469 struct vc4_crtc *vc4_crtc; in vc4_txp_bind() local 482 vc4_crtc = &txp->base; in vc4_txp_bind() 483 crtc = &vc4_crtc->base; in vc4_txp_bind() 485 vc4_crtc->pdev = pdev; in vc4_txp_bind() 486 vc4_crtc->data = &vc4_txp_crtc_data; in vc4_txp_bind() 506 ret = vc4_crtc_init(drm, vc4_crtc, in vc4_txp_bind()
|
D | vc4_hvs.c | 164 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_hvs_lut_load() local 177 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_r[i]); in vc4_hvs_lut_load() 179 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_g[i]); in vc4_hvs_lut_load() 181 HVS_WRITE(SCALER_GAMDATA, vc4_crtc->lut_b[i]); in vc4_hvs_lut_load() 186 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_hvs_update_gamma_lut() local 192 vc4_crtc->lut_r[i] = drm_color_lut_extract(lut[i].red, 8); in vc4_hvs_update_gamma_lut() 193 vc4_crtc->lut_g[i] = drm_color_lut_extract(lut[i].green, 8); in vc4_hvs_update_gamma_lut() 194 vc4_crtc->lut_b[i] = drm_color_lut_extract(lut[i].blue, 8); in vc4_hvs_update_gamma_lut() 366 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_hvs_update_dlist() local 379 vc4_crtc->event = crtc->state->event; in vc4_hvs_update_dlist()
|
D | vc4_drv.h | 482 struct vc4_crtc { struct 500 static inline struct vc4_crtc * argument 503 return container_of(crtc, struct vc4_crtc, base); in to_vc4_crtc() 507 vc4_crtc_to_vc4_crtc_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_crtc_data() 513 vc4_crtc_to_vc4_pv_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_pv_data() 824 int vc4_crtc_init(struct drm_device *drm, struct vc4_crtc *vc4_crtc, 837 void vc4_crtc_handle_vblank(struct vc4_crtc *crtc);
|
D | vc4_kms.c | 248 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc5_hvs_pv_muxing_commit() local 253 switch (vc4_crtc->data->hvs_output) { in vc5_hvs_pv_muxing_commit() 795 struct vc4_crtc *vc4_crtc = to_vc4_crtc(crtc); in vc4_pv_muxing_atomic_check() local 836 matching_channels = hvs_new_state->unassigned_channels & vc4_crtc->data->hvs_available_channels; in vc4_pv_muxing_atomic_check()
|
D | Makefile | 7 vc4_crtc.o \
|