Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/gpu/drm/bridge/adv7511/
Dadv7511_drv.c680 const 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-v5.4/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-v5.4/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_encoder.c508 struct drm_display_mode *adj_mode) in _dpu_encoder_adjust_mode() argument
512 if (!connector || !adj_mode) in _dpu_encoder_adjust_mode()
516 if (cur_mode->vdisplay == adj_mode->vdisplay && in _dpu_encoder_adjust_mode()
517 cur_mode->hdisplay == adj_mode->hdisplay && in _dpu_encoder_adjust_mode()
518 drm_mode_vrefresh(cur_mode) == drm_mode_vrefresh(adj_mode)) { in _dpu_encoder_adjust_mode()
519 adj_mode->private = cur_mode->private; in _dpu_encoder_adjust_mode()
520 adj_mode->private_flags |= cur_mode->private_flags; in _dpu_encoder_adjust_mode()
553 struct drm_display_mode *adj_mode; in dpu_encoder_virt_atomic_check() local
570 adj_mode = &crtc_state->adjusted_mode; in dpu_encoder_virt_atomic_check()
580 _dpu_encoder_adjust_mode(conn_state->connector, adj_mode); in dpu_encoder_virt_atomic_check()
[all …]
Ddpu_encoder_phys_vid.c221 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_fixup() argument
375 struct drm_display_mode *adj_mode) in dpu_encoder_phys_vid_mode_set() argument
382 if (adj_mode) { in dpu_encoder_phys_vid_mode_set()
383 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_vid_mode_set()
384 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_vid_mode_set()
Ddpu_encoder_phys_cmd.c46 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_fixup() argument
179 struct drm_display_mode *adj_mode) in dpu_encoder_phys_cmd_mode_set() argument
184 if (!phys_enc || !mode || !adj_mode) { in dpu_encoder_phys_cmd_mode_set()
188 phys_enc->cached_mode = *adj_mode; in dpu_encoder_phys_cmd_mode_set()
190 drm_mode_debug_printmodeline(adj_mode); in dpu_encoder_phys_cmd_mode_set()
Ddpu_crtc.c403 struct drm_display_mode *adj_mode = &state->adjusted_mode; in _dpu_crtc_setup_lm_bounds() local
404 u32 crtc_split_width = adj_mode->hdisplay / cstate->num_mixers; in _dpu_crtc_setup_lm_bounds()
412 r->y2 = adj_mode->vdisplay; in _dpu_crtc_setup_lm_bounds()
417 drm_mode_debug_printmodeline(adj_mode); in _dpu_crtc_setup_lm_bounds()
/Linux-v5.4/drivers/gpu/drm/hisilicon/kirin/
Dkirin_drm_ade.c157 struct drm_display_mode *adj_mode) in ade_set_pix_clk() argument
169 adj_mode->clock = clk_get_rate(ctx->ade_pix_clk) / 1000; in ade_set_pix_clk()
174 struct drm_display_mode *adj_mode) in ade_ldi_set_mode() argument
216 ade_set_pix_clk(ctx, mode, adj_mode); in ade_ldi_set_mode()
499 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_mode_set_nofb() local
503 ade_ldi_set_mode(ctx, mode, adj_mode); in ade_crtc_mode_set_nofb()
512 struct drm_display_mode *adj_mode = &crtc->state->adjusted_mode; in ade_crtc_atomic_begin() local
516 ade_ldi_set_mode(ctx, mode, adj_mode); in ade_crtc_atomic_begin()
Ddw_drm_dsi.c645 struct drm_display_mode adj_mode; in dsi_encoder_mode_valid() local
659 drm_mode_copy(&adj_mode, mode); in dsi_encoder_mode_valid()
663 if (!crtc_funcs->mode_fixup(crtc, mode, &adj_mode)) in dsi_encoder_mode_valid()
666 ret = dsi_encoder_phy_mode_valid(encoder, &adj_mode); in dsi_encoder_mode_valid()
675 struct drm_display_mode *adj_mode) in dsi_encoder_mode_set() argument
679 drm_mode_copy(&dsi->cur_mode, adj_mode); in dsi_encoder_mode_set()
/Linux-v5.4/drivers/gpu/drm/rockchip/
Ddw_hdmi-rockchip.c251 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_fixup() argument
258 struct drm_display_mode *adj_mode) in dw_hdmi_rockchip_encoder_mode_set() argument
262 clk_set_rate(hdmi->vpll_clk, adj_mode->clock * 1000); in dw_hdmi_rockchip_encoder_mode_set()
Dinno_hdmi.c483 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_set() argument
487 inno_hdmi_setup(hdmi, adj_mode); in inno_hdmi_encoder_mode_set()
490 memcpy(&hdmi->previous_mode, adj_mode, sizeof(hdmi->previous_mode)); in inno_hdmi_encoder_mode_set()
509 struct drm_display_mode *adj_mode) in inno_hdmi_encoder_mode_fixup() argument
Drk3066_hdmi.c380 struct drm_display_mode *adj_mode) in rk3066_hdmi_encoder_mode_set() argument
385 memcpy(&hdmi->previous_mode, adj_mode, sizeof(hdmi->previous_mode)); in rk3066_hdmi_encoder_mode_set()
427 struct drm_display_mode *adj_mode) in rk3066_hdmi_encoder_mode_fixup() argument
/Linux-v5.4/drivers/gpu/drm/hisilicon/hibmc/
Dhibmc_drm_vdac.c74 struct drm_display_mode *adj_mode) in hibmc_encoder_mode_set() argument
/Linux-v5.4/drivers/gpu/drm/sun4i/
Dsun8i_dw_hdmi.c19 struct drm_display_mode *adj_mode) in sun8i_dw_hdmi_encoder_mode_set() argument
/Linux-v5.4/drivers/gpu/drm/zte/
Dzx_tvenc.c149 struct drm_display_mode *adj_mode) in zx_tvenc_encoder_mode_set() argument
Dzx_hdmi.c141 struct drm_display_mode *adj_mode) in zx_hdmi_encoder_mode_set() argument