Home
last modified time | relevance | path

Searched refs:adj_mode (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/bridge/adv7511/
Dadv7511_drv.c733 const struct drm_display_mode *adj_mode) in adv7511_mode_set() argument
743 hsync_offset = adj_mode->crtc_hsync_start - in adv7511_mode_set()
744 adj_mode->crtc_hdisplay; in adv7511_mode_set()
745 vsync_offset = adj_mode->crtc_vsync_start - in adv7511_mode_set()
746 adj_mode->crtc_vdisplay; in adv7511_mode_set()
747 hsync_len = adj_mode->crtc_hsync_end - in adv7511_mode_set()
748 adj_mode->crtc_hsync_start; in adv7511_mode_set()
749 vsync_len = adj_mode->crtc_vsync_end - in adv7511_mode_set()
750 adj_mode->crtc_vsync_start; in adv7511_mode_set()
771 hsync_polarity = !(adj_mode->flags & DRM_MODE_FLAG_PHSYNC); in adv7511_mode_set()
[all …]
/linux-6.12.1/drivers/video/backlight/
Dtdo24m.c33 int (*adj_mode)(struct tdo24m *lcd, int mode); member
271 err = lcd->adj_mode(lcd, lcd->mode); in tdo24m_power_on()
322 return lcd->adj_mode(lcd, mode); in tdo24m_set_mode()
376 lcd->adj_mode = tdo24m_adj_mode; in tdo24m_probe()
379 lcd->adj_mode = tdo35s_adj_mode; in tdo24m_probe()
/linux-6.12.1/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c155 struct drm_display_mode *adj_mode) in ade_set_pix_clk() argument
167 adj_mode->clock = clk_get_rate(ctx->ade_pix_clk) / 1000; in ade_set_pix_clk()
172 struct drm_display_mode *adj_mode) in ade_ldi_set_mode() argument
214 ade_set_pix_clk(ctx, mode, adj_mode); in ade_ldi_set_mode()
480 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_mode_set_nofb() local
484 ade_ldi_set_mode(ctx, mode, adj_mode); in ade_crtc_mode_set_nofb()
493 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_atomic_begin() local
497 ade_ldi_set_mode(ctx, mode, adj_mode); in ade_crtc_atomic_begin()
Ddw_drm_dsi.c646 struct drm_display_mode adj_mode; in dsi_encoder_mode_valid() local
660 drm_mode_init(&adj_mode, mode); in dsi_encoder_mode_valid()
664 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
667 ret = dsi_encoder_phy_mode_valid(encoder, &adj_mode); in dsi_encoder_mode_valid()
676 struct drm_display_mode *adj_mode) in dsi_encoder_mode_set() argument
680 drm_mode_copy(&dsi->cur_mode, adj_mode); in dsi_encoder_mode_set()
/linux-6.12.1/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c295 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_fixup() argument
302 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_set() argument
306 clk_set_rate(hdmi->ref_clk, adj_mode->clock * 1000); in dw_hdmi_rockchip_encoder_mode_set()
Drockchip_drm_vop2.c1477 struct drm_display_mode *adj_mode) in vop2_crtc_mode_fixup() argument
1479 drm_mode_set_crtcinfo(adj_mode, CRTC_INTERLACE_HALVE_V | in vop2_crtc_mode_fixup()
/linux-6.12.1/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_vdac.c75 struct drm_display_mode *adj_mode) in hibmc_encoder_mode_set() argument
/linux-6.12.1/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.c20 struct drm_display_mode *adj_mode) in sun8i_dw_hdmi_encoder_mode_set() argument
/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_crtc.c718 struct drm_display_mode *adj_mode = &state->adjusted_mode; in _dpu_crtc_check_and_setup_lm_bounds() local
719 u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; in _dpu_crtc_check_and_setup_lm_bounds()
728 r->y2 = adj_mode->vdisplay; in _dpu_crtc_check_and_setup_lm_bounds()
Ddpu_encoder.c669 struct drm_display_mode *adj_mode; in dpu_encoder_virt_atomic_check() local
689 adj_mode = &crtc_state->adjusted_mode; in dpu_encoder_virt_atomic_check()
698 topology = dpu_encoder_get_topology(dpu_enc, dpu_kms, adj_mode, crtc_state, dsc); in dpu_encoder_virt_atomic_check()
711 if (msm_dp_is_yuv_420_enabled(priv->dp[disp_info->h_tile_instance[0]], adj_mode)) in dpu_encoder_virt_atomic_check()
734 trace_dpu_enc_atomic_check_flags(DRMID(drm_enc), adj_mode->flags); in dpu_encoder_virt_atomic_check()
/linux-6.12.1/drivers/gpu/drm/sprd/
Dsprd_dsi.c783 struct drm_display_mode *adj_mode) in sprd_dsi_encoder_mode_set() argument
787 drm_display_mode_to_videomode(adj_mode, &dsi->ctx.vm); in sprd_dsi_encoder_mode_set()
/linux-6.12.1/drivers/gpu/drm/bridge/
Dlontium-lt9611uxc.c346 const struct drm_display_mode *adj_mode) in lt9611uxc_bridge_mode_set() argument