Home
last modified time | relevance | path

Searched refs:best_mode (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/bus/
Dti-sysc.c868 u32 reg, idlemodes, best_mode; in sysc_enable_module() local
890 best_mode = SYSC_IDLE_NO; in sysc_enable_module()
892 best_mode = fls(ddata->cfg.sidlemodes) - 1; in sysc_enable_module()
893 if (best_mode > SYSC_IDLE_MASK) { in sysc_enable_module()
905 reg |= best_mode << regbits->sidle_shift; in sysc_enable_module()
914 best_mode = fls(ddata->cfg.midlemodes) - 1; in sysc_enable_module()
915 if (best_mode > SYSC_IDLE_MASK) { in sysc_enable_module()
921 reg |= best_mode << regbits->midle_shift; in sysc_enable_module()
938 static int sysc_best_idle_mode(u32 idlemodes, u32 *best_mode) in sysc_best_idle_mode() argument
941 *best_mode = SYSC_IDLE_SMART_WKUP; in sysc_best_idle_mode()
[all …]
/Linux-v5.4/include/linux/
Dlp.h63 unsigned int best_mode; member
/Linux-v5.4/drivers/media/i2c/
Dimx274.c883 const struct imx274_mode *best_mode = &imx274_modes[0]; in __imx274_change_compose() local
905 best_mode = &imx274_modes[i]; in __imx274_change_compose()
909 *width = cur_crop->width / best_mode->bin_ratio; in __imx274_change_compose()
910 *height = cur_crop->height / best_mode->bin_ratio; in __imx274_change_compose()
913 imx274->mode = best_mode; in __imx274_change_compose()
916 __func__, best_mode->bin_ratio); in __imx274_change_compose()
/Linux-v5.4/drivers/char/
Dlp.c335 lp_table[minor].best_mode); in lp_write()
382 lp_table[minor].best_mode); in lp_write()
553 lp_table[minor].best_mode = IEEE1284_MODE_ECP; in lp_open()
555 lp_table[minor].best_mode = IEEE1284_MODE_COMPAT; in lp_open()
/Linux-v5.4/drivers/gpu/drm/i915/display/
Dintel_panel.c69 const struct drm_display_mode *scan, *best_mode = NULL; in intel_panel_edid_downclock_mode() local
88 best_mode = scan; in intel_panel_edid_downclock_mode()
92 if (!best_mode) in intel_panel_edid_downclock_mode()
95 downclock_mode = drm_mode_duplicate(&dev_priv->drm, best_mode); in intel_panel_edid_downclock_mode()