Home
last modified time | relevance | path

Searched refs:mode_flags (Results 1 – 25 of 99) sorted by relevance

1234

/drivers/gpu/drm/panel/
Dpanel-jdi-lt070me05000.c61 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_init()
151 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in jdi_panel_on()
166 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in jdi_panel_off()
333 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
339 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_get_brightness()
349 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
355 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in dsi_dcs_bl_update_status()
461 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO | in jdi_panel_probe()
Dpanel-raydium-rm67191.c327 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_enable()
411 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in rad_panel_disable()
473 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_get_brightness()
493 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in rad_bl_update_status()
555 dsi->mode_flags = MIPI_DSI_MODE_VIDEO_HSE | MIPI_DSI_MODE_VIDEO; in rad_panel_probe()
562 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_BURST; in rad_panel_probe()
569 dsi->mode_flags |= MIPI_DSI_MODE_VIDEO_SYNC_PULSE; in rad_panel_probe()
Dpanel-boe-tv101wum-nl6.c34 unsigned long mode_flags; member
479 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in boe_panel_enter_sleep_mode()
615 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
642 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
670 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
697 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
725 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
823 dsi->mode_flags = desc->mode_flags; in boe_panel_probe()
Dpanel-boe-himax8279d.c36 unsigned long mode_flags; member
528 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
828 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE |
903 dsi->mode_flags = desc->mode_flags; in panel_probe()
Dpanel-asus-z00t-tm5p5-n35596.c226 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
232 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_update_status()
243 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
249 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in tm5p5_nt35596_bl_get_brightness()
304 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | in tm5p5_nt35596_probe()
Dpanel-sharp-ls043t1le01.c46 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_init()
73 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sharp_nt_panel_on()
87 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sharp_nt_panel_off()
282 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | in sharp_nt_panel_probe()
Dpanel-sitronix-st7703.c66 unsigned long mode_flags; member
159 .mode_flags = MIPI_DSI_MODE_VIDEO |
353 .mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE,
542 dsi->mode_flags = ctx->desc->mode_flags; in st7703_probe()
Dpanel-truly-nt35597.c337 ctx->dsi[0]->mode_flags = 0; in truly_nt35597_unprepare()
338 ctx->dsi[1]->mode_flags = 0; in truly_nt35597_unprepare()
377 ctx->dsi[0]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
378 ctx->dsi[1]->mode_flags |= MIPI_DSI_MODE_LPM; in truly_nt35597_prepare()
602 dsi_dev->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in truly_nt35597_probe()
Dpanel-samsung-s6e88a0-ams452ef01.c55 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in s6e88a0_ams452ef01_on()
101 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in s6e88a0_ams452ef01_off()
240 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST; in s6e88a0_ams452ef01_probe()
Dpanel-visionox-rm69299.c67 ctx->dsi->mode_flags = 0; in visionox_rm69299_unprepare()
99 ctx->dsi->mode_flags |= MIPI_DSI_MODE_LPM; in visionox_rm69299_prepare()
230 dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_LPM | in visionox_rm69299_probe()
Dpanel-novatek-nt36672a.c55 unsigned long mode_flags; member
590 .mode_flags = MIPI_DSI_MODE_LPM | MIPI_DSI_MODE_VIDEO
647 dsi->mode_flags = desc->mode_flags; in nt36672a_panel_probe()
Dpanel-samsung-sofef00.c61 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in sofef00_panel_on()
101 dsi->mode_flags &= ~MIPI_DSI_MODE_LPM; in sofef00_panel_off()
/drivers/gpu/drm/mcde/
Dmcde_dsi.c164 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO) in mcde_dsi_attach_to_mcde()
184 dev_info(d->dev, "mode flags: %08lx\n", mdsi->mode_flags); in mcde_dsi_host_attach()
442 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mcde_dsi_setup_video_mode()
444 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
522 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
616 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) { in mcde_dsi_setup_video_mode()
653 && (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST)) in mcde_dsi_setup_video_mode()
671 if (d->mdsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) { in mcde_dsi_setup_video_mode()
763 if (!(d->mdsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in mcde_dsi_start()
793 if (!(d->mdsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in mcde_dsi_start()
[all …]
/drivers/iio/buffer/
Dkfifo_buf.c224 int mode_flags, in devm_iio_kfifo_buffer_setup_ext() argument
230 if (!mode_flags) in devm_iio_kfifo_buffer_setup_ext()
237 mode_flags &= kfifo_access_funcs.modes; in devm_iio_kfifo_buffer_setup_ext()
239 indio_dev->modes |= mode_flags; in devm_iio_kfifo_buffer_setup_ext()
/drivers/gpu/drm/exynos/
Dexynos_drm_dsi.c274 u32 mode_flags; member
795 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in exynos_dsi_init_link()
802 if (!(dsi->mode_flags & MIPI_DSI_MODE_VSYNC_FLUSH)) in exynos_dsi_init_link()
804 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in exynos_dsi_init_link()
806 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in exynos_dsi_init_link()
808 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_AUTO_VERT) in exynos_dsi_init_link()
810 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_HSE) in exynos_dsi_init_link()
812 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HFP) in exynos_dsi_init_link()
814 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HBP) in exynos_dsi_init_link()
816 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_NO_HSA) in exynos_dsi_init_link()
[all …]
/drivers/gpu/drm/bridge/synopsys/
Ddw-mipi-dsi.c254 unsigned long mode_flags; member
355 dsi->mode_flags = device->mode_flags; in dw_mipi_dsi_host_attach()
576 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dw_mipi_dsi_video_mode_config()
578 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dw_mipi_dsi_video_mode_config()
596 unsigned long mode_flags) in dw_mipi_dsi_set_mode() argument
602 if (mode_flags & MIPI_DSI_MODE_VIDEO) { in dw_mipi_dsi_set_mode()
610 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in dw_mipi_dsi_set_mode()
934 ret = phy_ops->get_lane_mbps(priv_data, adjusted_mode, dsi->mode_flags, in dw_mipi_dsi_mode_set()
1235 dsi->slave->mode_flags = dsi->mode_flags; in dw_mipi_dsi_set_slave()
/drivers/gpu/drm/mediatek/
Dmtk_dsi.c199 unsigned long mode_flags; member
332 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in mtk_dsi_set_mode()
333 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in mtk_dsi_set_mode()
335 else if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_set_mode()
406 if (dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) in mtk_dsi_rxtx_control()
409 if (dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in mtk_dsi_rxtx_control()
476 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in mtk_dsi_config_vdo_timing()
485 delta = dsi->mode_flags & MIPI_DSI_MODE_VIDEO_BURST ? 18 : 12; in mtk_dsi_config_vdo_timing()
486 delta += dsi->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET ? 0 : 2; in mtk_dsi_config_vdo_timing()
829 dsi->mode_flags = device->mode_flags; in mtk_dsi_host_attach()
/drivers/gpu/drm/bridge/
Dcdns-dsi.c519 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_mode2cfg()
569 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_adjust_phy_config()
630 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_check_conf()
758 if (!(output->dev->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in cdns_dsi_init_link()
818 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
825 if (!(output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE)) in cdns_dsi_bridge_enable()
832 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_enable()
864 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO) { in cdns_dsi_bridge_enable()
891 if (output->dev->mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in cdns_dsi_bridge_enable()
905 if (!(output->dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET)) in cdns_dsi_bridge_enable()
[all …]
Dtc358768.c400 if (!(dev->mode_flags & MIPI_DSI_MODE_VIDEO)) { in tc358768_dsi_host_attach()
640 unsigned long mode_flags = dsi_dev->mode_flags; in tc358768_bridge_pre_enable() local
648 if (mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) { in tc358768_bridge_pre_enable()
650 mode_flags &= ~MIPI_DSI_CLOCK_NON_CONTINUOUS; in tc358768_bridge_pre_enable()
789 (mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) ? 0 : BIT(0)); in tc358768_bridge_pre_enable()
846 if (!(mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS)) in tc358768_bridge_pre_enable()
849 if (dsi_dev->mode_flags & MIPI_DSI_MODE_NO_EOT_PACKET) in tc358768_bridge_pre_enable()
/drivers/leds/flash/
Dleds-max77693.c93 unsigned int mode_flags; member
196 led->mode_flags &= (~MODE_TORCH(i) & ~MODE_FLASH(i)); in max77693_add_mode()
198 new_mode_flags = mode | led->mode_flags; in max77693_add_mode()
201 if (new_mode_flags ^ led->mode_flags) in max77693_add_mode()
202 led->mode_flags = new_mode_flags; in max77693_add_mode()
206 ret = max77693_set_mode_reg(led, led->mode_flags); in max77693_add_mode()
215 led->mode_flags &= ~mode; in max77693_add_mode()
227 led->mode_flags &= ~mode; in max77693_clear_mode()
229 return max77693_set_mode_reg(led, led->mode_flags); in max77693_clear_mode()
/drivers/gpu/drm/
Ddrm_probe_helper.c424 int mode_flags = 0; in drm_helper_probe_single_connector_modes() local
529 mode_flags |= DRM_MODE_FLAG_INTERLACE; in drm_helper_probe_single_connector_modes()
531 mode_flags |= DRM_MODE_FLAG_DBLSCAN; in drm_helper_probe_single_connector_modes()
533 mode_flags |= DRM_MODE_FLAG_3D_MASK; in drm_helper_probe_single_connector_modes()
547 mode->status = drm_mode_validate_flag(mode, mode_flags); in drm_helper_probe_single_connector_modes()
/drivers/gpu/drm/msm/dsi/
Ddsi_host.c165 unsigned long mode_flags; member
800 static inline enum dsi_traffic_mode dsi_get_traffic_mode(const u32 mode_flags) in dsi_get_traffic_mode() argument
802 if (mode_flags & MIPI_DSI_MODE_VIDEO_BURST) in dsi_get_traffic_mode()
804 else if (mode_flags & MIPI_DSI_MODE_VIDEO_SYNC_PULSE) in dsi_get_traffic_mode()
837 u32 flags = msm_host->mode_flags; in dsi_ctrl_config()
978 if (msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) { in dsi_timing_setup()
1084 if (!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO)) in dsi_wait4video_eng_busy()
1404 if ((msm_host->mode_flags & MIPI_DSI_MODE_VIDEO) && (len > bllp_len)) { in dsi_cmds2buf_tx()
1635 msm_host->mode_flags = dsi->mode_flags; in dsi_host_attach()
2359 !!(msm_host->mode_flags & MIPI_DSI_MODE_VIDEO), true); in msm_dsi_host_enable()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_vrr.c153 crtc_state->mode_flags |= I915_MODE_FLAG_VRR; in intel_vrr_compute_config()
233 crtc_state->mode_flags |= I915_MODE_FLAG_VRR; in intel_vrr_get_config()
Dicl_dsi.c101 dsi->mode_flags |= MIPI_DSI_MODE_LPM; in wait_for_cmds_dispatched_to_panel()
217 u32 tmp, mode_flags; in icl_dsi_frame_update() local
220 mode_flags = crtc_state->mode_flags; in icl_dsi_frame_update()
227 if (mode_flags & I915_MODE_FLAG_DSI_USE_TE0) in icl_dsi_frame_update()
229 else if (mode_flags & I915_MODE_FLAG_DSI_USE_TE1) in icl_dsi_frame_update()
1551 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE1 | in gen11_dsi_get_cmd_mode_config()
1554 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE1; in gen11_dsi_get_cmd_mode_config()
1556 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_USE_TE0; in gen11_dsi_get_cmd_mode_config()
1580 pipe_config->mode_flags |= I915_MODE_FLAG_DSI_PERIODIC_CMD_MODE; in gen11_dsi_get_config()
/drivers/gpu/drm/vc4/
Dvc4_dsi.c573 u32 mode_flags; member
724 bool non_continuous = dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS; in vc4_dsi_ulps()
935 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) in vc4_dsi_encoder_enable()
1075 ((dsi->mode_flags & MIPI_DSI_CLOCK_NON_CONTINUOUS) ? in vc4_dsi_encoder_enable()
1120 if (dsi->mode_flags & MIPI_DSI_MODE_VIDEO) { in vc4_dsi_encoder_enable()
1326 dsi->mode_flags = device->mode_flags; in vc4_dsi_host_attach()
1351 if (!(dsi->mode_flags & MIPI_DSI_MODE_VIDEO)) { in vc4_dsi_host_attach()

1234