/Linux-v4.19/drivers/gpu/drm/bridge/adv7511/ |
D | adv7511_drv.c | 680 struct drm_display_mode *adj_mode) in adv7511_mode_set() argument 690 hsync_offset = adj_mode->crtc_hsync_start - in adv7511_mode_set() 691 adj_mode->crtc_hdisplay; in adv7511_mode_set() 692 vsync_offset = adj_mode->crtc_vsync_start - in adv7511_mode_set() 693 adj_mode->crtc_vdisplay; in adv7511_mode_set() 694 hsync_len = adj_mode->crtc_hsync_end - in adv7511_mode_set() 695 adj_mode->crtc_hsync_start; in adv7511_mode_set() 696 vsync_len = adj_mode->crtc_vsync_end - in adv7511_mode_set() 697 adj_mode->crtc_vsync_start; in adv7511_mode_set() 718 hsync_polarity = !(adj_mode->flags & DRM_MODE_FLAG_PHSYNC); in adv7511_mode_set() [all …]
|
/Linux-v4.19/drivers/video/backlight/ |
D | tdo24m.c | 36 int (*adj_mode)(struct tdo24m *lcd, int mode); member 274 err = lcd->adj_mode(lcd, lcd->mode); in tdo24m_power_on() 325 return lcd->adj_mode(lcd, mode); in tdo24m_set_mode() 379 lcd->adj_mode = tdo24m_adj_mode; in tdo24m_probe() 382 lcd->adj_mode = tdo35s_adj_mode; in tdo24m_probe()
|
/Linux-v4.19/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_encoder.c | 560 struct drm_display_mode *adj_mode) in _dpu_encoder_adjust_mode() argument 564 if (!connector || !adj_mode) in _dpu_encoder_adjust_mode() 568 if (cur_mode->vdisplay == adj_mode->vdisplay && in _dpu_encoder_adjust_mode() 569 cur_mode->hdisplay == adj_mode->hdisplay && in _dpu_encoder_adjust_mode() 570 cur_mode->vrefresh == adj_mode->vrefresh) { in _dpu_encoder_adjust_mode() 571 adj_mode->private = cur_mode->private; in _dpu_encoder_adjust_mode() 572 adj_mode->private_flags |= cur_mode->private_flags; in _dpu_encoder_adjust_mode() 605 struct drm_display_mode *adj_mode; in dpu_encoder_virt_atomic_check() local 622 adj_mode = &crtc_state->adjusted_mode; in dpu_encoder_virt_atomic_check() 632 _dpu_encoder_adjust_mode(conn_state->connector, adj_mode); in dpu_encoder_virt_atomic_check() [all …]
|
D | dpu_encoder_phys_cmd.c | 62 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_fixup() argument 195 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_set() argument 203 if (!phys_enc || !mode || !adj_mode) { in dpu_encoder_phys_cmd_mode_set() 207 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_cmd_mode_set() 209 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_cmd_mode_set()
|
D | dpu_encoder_phys_vid.c | 231 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_fixup() argument 396 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_set() argument 411 if (adj_mode) { in dpu_encoder_phys_vid_mode_set() 412 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_vid_mode_set() 413 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_vid_mode_set()
|
D | dpu_crtc.c | 758 struct drm_display_mode *adj_mode; in _dpu_crtc_setup_lm_bounds() local 770 adj_mode = &state->adjusted_mode; in _dpu_crtc_setup_lm_bounds() 771 crtc_split_width = dpu_crtc_get_mixer_width(dpu_crtc, cstate, adj_mode); in _dpu_crtc_setup_lm_bounds() 778 r->y2 = dpu_crtc_get_mixer_height(dpu_crtc, cstate, adj_mode); in _dpu_crtc_setup_lm_bounds() 783 drm_mode_debug_printmodeline(adj_mode); in _dpu_crtc_setup_lm_bounds()
|
/Linux-v4.19/drivers/gpu/drm/rockchip/ |
D | dw_hdmi-rockchip.c | 228 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_fixup() argument 235 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_set() argument 239 clk_set_rate(hdmi->vpll_clk, adj_mode->clock * 1000); in dw_hdmi_rockchip_encoder_mode_set()
|
D | inno_hdmi.c | 490 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_set() argument 494 inno_hdmi_setup(hdmi, adj_mode); in inno_hdmi_encoder_mode_set() 497 memcpy(&hdmi->previous_mode, adj_mode, sizeof(hdmi->previous_mode)); in inno_hdmi_encoder_mode_set() 516 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_fixup() argument
|
/Linux-v4.19/drivers/gpu/drm/hisilicon/kirin/ |
D | kirin_drm_ade.c | 196 struct drm_display_mode *adj_mode) in ade_set_pix_clk() argument 208 adj_mode->clock = clk_get_rate(ctx->ade_pix_clk) / 1000; in ade_set_pix_clk() 213 struct drm_display_mode *adj_mode) in ade_ldi_set_mode() argument 256 ade_set_pix_clk(ctx, mode, adj_mode); in ade_ldi_set_mode() 525 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_mode_set_nofb() local 529 ade_ldi_set_mode(acrtc, mode, adj_mode); in ade_crtc_mode_set_nofb() 538 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_atomic_begin() local 542 ade_ldi_set_mode(acrtc, mode, adj_mode); in ade_crtc_atomic_begin()
|
D | dw_drm_dsi.c | 644 struct drm_display_mode adj_mode; in dsi_encoder_mode_valid() local 658 drm_mode_copy(&adj_mode, mode); in dsi_encoder_mode_valid() 662 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid() 665 ret = dsi_encoder_phy_mode_valid(encoder, &adj_mode); in dsi_encoder_mode_valid() 674 struct drm_display_mode *adj_mode) in dsi_encoder_mode_set() argument 678 drm_mode_copy(&dsi->cur_mode, adj_mode); in dsi_encoder_mode_set()
|
/Linux-v4.19/drivers/gpu/drm/hisilicon/hibmc/ |
D | hibmc_drm_vdac.c | 85 struct drm_display_mode *adj_mode) in hibmc_encoder_mode_set() argument
|
/Linux-v4.19/drivers/gpu/drm/sun4i/ |
D | sun8i_dw_hdmi.c | 19 struct drm_display_mode *adj_mode) in sun8i_dw_hdmi_encoder_mode_set() argument
|
/Linux-v4.19/drivers/gpu/drm/zte/ |
D | zx_tvenc.c | 151 struct drm_display_mode *adj_mode) in zx_tvenc_encoder_mode_set() argument
|
D | zx_hdmi.c | 143 struct drm_display_mode *adj_mode) in zx_hdmi_encoder_mode_set() argument
|