Searched refs:vc4_crtc (Results 1 – 7 of 7) sorted by relevance
| /Linux-v5.10/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() 245 static u32 vc4_crtc_get_fifo_full_level_bits(struct vc4_crtc *vc4_crtc, in vc4_crtc_get_fifo_full_level_bits() argument 248 u32 level = vc4_get_fifo_full_level(vc4_crtc, format); in vc4_crtc_get_fifo_full_level_bits() [all …]
|
| D | vc4_txp.c | 149 struct vc4_crtc base; 444 struct vc4_crtc *vc4_crtc = &txp->base; in vc4_txp_interrupt() local 447 vc4_crtc_handle_vblank(vc4_crtc); in vc4_txp_interrupt() 463 struct vc4_crtc *vc4_crtc; in vc4_txp_bind() local 476 vc4_crtc = &txp->base; in vc4_txp_bind() 477 crtc = &vc4_crtc->base; in vc4_txp_bind() 479 vc4_crtc->pdev = pdev; in vc4_txp_bind() 480 vc4_crtc->data = &vc4_txp_crtc_data; in vc4_txp_bind() 500 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 | 483 struct vc4_crtc { struct 501 static inline struct vc4_crtc * argument 504 return container_of(crtc, struct vc4_crtc, base); in to_vc4_crtc() 508 vc4_crtc_to_vc4_crtc_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_crtc_data() 514 vc4_crtc_to_vc4_pv_data(const struct vc4_crtc *crtc) in vc4_crtc_to_vc4_pv_data() 825 int vc4_crtc_init(struct drm_device *drm, struct vc4_crtc *vc4_crtc, 838 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 \
|
| /Linux-v5.10/Documentation/gpu/ |
| D | vc4.rst | 18 .. kernel-doc:: drivers/gpu/drm/vc4/vc4_crtc.c
|