Home
last modified time | relevance | path

Searched refs:HVS_READ (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_hvs.c217 reg = HVS_READ(SCALER_DISPECTRL); in vc4_hvs_get_fifo_from_output()
225 reg = HVS_READ(SCALER_DISPCTRL); in vc4_hvs_get_fifo_from_output()
233 reg = HVS_READ(SCALER_DISPEOLN); in vc4_hvs_get_fifo_from_output()
241 reg = HVS_READ(SCALER_DISPDITHER); in vc4_hvs_get_fifo_from_output()
288 dispbkgndx = HVS_READ(SCALER_DISPBKGNDX(chan)); in vc4_hvs_init_channel()
309 if (HVS_READ(SCALER_DISPCTRLX(chan)) & SCALER_DISPCTRLX_ENABLE) in vc4_hvs_stop_channel()
313 HVS_READ(SCALER_DISPCTRLX(chan)) | SCALER_DISPCTRLX_RESET); in vc4_hvs_stop_channel()
315 HVS_READ(SCALER_DISPCTRLX(chan)) & ~SCALER_DISPCTRLX_ENABLE); in vc4_hvs_stop_channel()
318 WARN_ON_ONCE(HVS_READ(SCALER_DISPCTRLX(chan)) & SCALER_DISPCTRLX_RESET); in vc4_hvs_stop_channel()
320 WARN_ON_ONCE(VC4_GET_FIELD(HVS_READ(SCALER_DISPSTATX(chan)), in vc4_hvs_stop_channel()
[all …]
Dvc4_kms.c231 dispctrl = HVS_READ(SCALER_DISPCTRL) & in vc4_hvs_pv_muxing_commit()
256 reg = HVS_READ(SCALER_DISPECTRL); in vc5_hvs_pv_muxing_commit()
268 reg = HVS_READ(SCALER_DISPCTRL); in vc5_hvs_pv_muxing_commit()
280 reg = HVS_READ(SCALER_DISPEOLN); in vc5_hvs_pv_muxing_commit()
293 reg = HVS_READ(SCALER_DISPDITHER); in vc5_hvs_pv_muxing_commit()
Dvc4_crtc.c71 u32 dispbase = HVS_READ(SCALER_DISPBASEX(channel)); in vc4_crtc_get_cob_allocation()
108 val = HVS_READ(SCALER_DISPSTATX(vc4_crtc_state->assigned_channel)); in vc4_crtc_get_scanout_position()
421 WARN_ON_ONCE((HVS_READ(SCALER_DISPCTRL) & SCALER_DISPCTRL_ENABLE) != in require_hvs_enabled()
654 (vc4_state->mm.start == HVS_READ(SCALER_DISPLACTX(chan)) || in vc4_crtc_handle_page_flip()
Dvc4_drv.h549 #define HVS_READ(offset) readl(vc4->hvs->regs + offset) macro