/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_drv.c | 710 const struct drm_display_mode *adj_mode) in adv7511_mode_set() argument 720 hsync_offset = adj_mode->crtc_hsync_start - in adv7511_mode_set() 721 adj_mode->crtc_hdisplay; in adv7511_mode_set() 722 vsync_offset = adj_mode->crtc_vsync_start - in adv7511_mode_set() 723 adj_mode->crtc_vdisplay; in adv7511_mode_set() 724 hsync_len = adj_mode->crtc_hsync_end - in adv7511_mode_set() 725 adj_mode->crtc_hsync_start; in adv7511_mode_set() 726 vsync_len = adj_mode->crtc_vsync_end - in adv7511_mode_set() 727 adj_mode->crtc_vsync_start; in adv7511_mode_set() 748 hsync_polarity = !(adj_mode->flags & DRM_MODE_FLAG_PHSYNC); in adv7511_mode_set() [all …]
|
/drivers/video/backlight/ |
D | tdo24m.c | 33 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()
|
/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 155 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()
|
D | dw_drm_dsi.c | 646 struct drm_display_mode adj_mode; in dsi_encoder_mode_valid() local 660 drm_mode_copy(&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()
|
/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder_phys_vid.c | 231 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_fixup() argument 367 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_set() argument 371 if (adj_mode) { in dpu_encoder_phys_vid_mode_set() 372 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_vid_mode_set() 373 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_vid_mode_set()
|
D | dpu_encoder_phys_cmd.c | 51 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_fixup() argument 150 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_set() argument 156 if (!mode || !adj_mode) { in dpu_encoder_phys_cmd_mode_set() 160 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_cmd_mode_set() 162 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_cmd_mode_set()
|
D | dpu_encoder.c | 589 struct drm_display_mode *adj_mode; in dpu_encoder_virt_atomic_check() local 607 adj_mode = &crtc_state->adjusted_mode; in dpu_encoder_virt_atomic_check() 622 if (!phys->ops.mode_fixup(phys, mode, adj_mode)) in dpu_encoder_virt_atomic_check() 632 topology = dpu_encoder_get_topology(dpu_enc, dpu_kms, adj_mode); in dpu_encoder_virt_atomic_check() 649 trace_dpu_enc_atomic_check_flags(DRMID(drm_enc), adj_mode->flags); in dpu_encoder_virt_atomic_check() 972 struct drm_display_mode *adj_mode) in dpu_encoder_virt_mode_set() argument 1010 msm_dp_display_mode_set(dpu_enc->dp, drm_enc, mode, adj_mode); in dpu_encoder_virt_mode_set() 1095 phys->ops.mode_set(phys, mode, adj_mode); in dpu_encoder_virt_mode_set()
|
D | dpu_crtc.c | 504 struct drm_display_mode *adj_mode = &state->adjusted_mode; in _dpu_crtc_setup_lm_bounds() local 505 u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; in _dpu_crtc_setup_lm_bounds() 513 r->y2 = adj_mode->vdisplay; in _dpu_crtc_setup_lm_bounds()
|
/drivers/gpu/drm/rockchip/ |
D | dw_hdmi-rockchip.c | 249 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_fixup() argument 256 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_set() argument 260 clk_set_rate(hdmi->vpll_clk, adj_mode->clock * 1000); in dw_hdmi_rockchip_encoder_mode_set()
|
D | inno_hdmi.c | 484 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_set() argument 488 inno_hdmi_setup(hdmi, adj_mode); in inno_hdmi_encoder_mode_set() 491 drm_mode_copy(&hdmi->previous_mode, adj_mode); in inno_hdmi_encoder_mode_set() 510 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_fixup() argument
|
D | rk3066_hdmi.c | 381 struct drm_display_mode *adj_mode) in rk3066_hdmi_encoder_mode_set() argument 386 drm_mode_copy(&hdmi->previous_mode, adj_mode); in rk3066_hdmi_encoder_mode_set() 428 struct drm_display_mode *adj_mode) in rk3066_hdmi_encoder_mode_fixup() argument
|
/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_vdac.c | 69 struct drm_display_mode *adj_mode) in hibmc_encoder_mode_set() argument
|
/drivers/gpu/drm/sun4i/ |
D | sun8i_dw_hdmi.c | 20 struct drm_display_mode *adj_mode) in sun8i_dw_hdmi_encoder_mode_set() argument
|
/drivers/gpu/drm/zte/ |
D | zx_tvenc.c | 150 struct drm_display_mode *adj_mode) in zx_tvenc_encoder_mode_set() argument
|
D | zx_hdmi.c | 142 struct drm_display_mode *adj_mode) in zx_hdmi_encoder_mode_set() argument
|
/drivers/gpu/drm/bridge/ |
D | lontium-lt9611uxc.c | 461 const struct drm_display_mode *adj_mode) in lt9611uxc_bridge_mode_set() argument
|
D | lontium-lt9611.c | 912 const struct drm_display_mode *adj_mode) in lt9611_bridge_mode_set() argument
|