Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_panel.c67 const struct drm_display_mode *best_mode) in is_best_fixed_mode() argument
70 if (!best_mode) in is_best_fixed_mode()
85 abs(drm_mode_vrefresh(best_mode) - vrefresh); in is_best_fixed_mode()
92 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_fixed_mode() local
99 fixed_mode_vrefresh, best_mode)) in intel_panel_fixed_mode()
100 best_mode = fixed_mode; in intel_panel_fixed_mode()
103 return best_mode; in intel_panel_fixed_mode()
131 const struct drm_display_mode *fixed_mode, *best_mode = NULL; in intel_panel_downclock_mode() local
142 best_mode = fixed_mode; in intel_panel_downclock_mode()
146 return best_mode; in intel_panel_downclock_mode()
[all …]
/linux-6.12.1/drivers/bus/
Dti-sysc.c1053 u32 reg, idlemodes, best_mode; in sysc_enable_module() local
1110 best_mode = SYSC_IDLE_NO; in sysc_enable_module()
1117 best_mode = fls(ddata->cfg.sidlemodes) - 1; in sysc_enable_module()
1118 if (best_mode > SYSC_IDLE_MASK) { in sysc_enable_module()
1130 reg |= best_mode << regbits->sidle_shift; in sysc_enable_module()
1139 best_mode = fls(ddata->cfg.midlemodes) - 1; in sysc_enable_module()
1140 if (best_mode > SYSC_IDLE_MASK) { in sysc_enable_module()
1147 best_mode = SYSC_IDLE_NO; in sysc_enable_module()
1150 reg |= best_mode << regbits->midle_shift; in sysc_enable_module()
1173 static int sysc_best_idle_mode(u32 idlemodes, u32 *best_mode) in sysc_best_idle_mode() argument
[all …]
/linux-6.12.1/drivers/firmware/efi/libstub/
Dgop.c254 u32 max_mode, cur_mode, best_mode, area; in choose_mode_auto() local
273 best_mode = cur_mode; in choose_mode_auto()
300 best_mode = m; in choose_mode_auto()
306 return best_mode; in choose_mode_auto()
/linux-6.12.1/include/linux/
Dlp.h63 unsigned int best_mode; member
/linux-6.12.1/drivers/media/i2c/
Dimx274.c1017 const struct imx274_mode *best_mode = &imx274_modes[0]; in __imx274_change_compose() local
1040 best_mode = &imx274_modes[i]; in __imx274_change_compose()
1044 *width = cur_crop->width / best_mode->wbin_ratio; in __imx274_change_compose()
1045 *height = cur_crop->height / best_mode->hbin_ratio; in __imx274_change_compose()
1048 imx274->mode = best_mode; in __imx274_change_compose()
1051 __func__, best_mode->wbin_ratio, best_mode->hbin_ratio); in __imx274_change_compose()
/linux-6.12.1/drivers/char/
Dlp.c337 lp_table[minor].best_mode); in lp_write()
384 lp_table[minor].best_mode); in lp_write()
555 lp_table[minor].best_mode = IEEE1284_MODE_ECP; in lp_open()
557 lp_table[minor].best_mode = IEEE1284_MODE_COMPAT; in lp_open()
/linux-6.12.1/drivers/mtd/nand/raw/
Dnand_base.c934 int best_mode = 0, mode, ret = -EOPNOTSUPP; in nand_choose_best_sdr_timings() local
951 best_mode = iface->timings.mode; in nand_choose_best_sdr_timings()
953 best_mode = fls(chip->parameters.onfi->sdr_timing_modes) - 1; in nand_choose_best_sdr_timings()
956 for (mode = best_mode; mode >= 0; mode--) { in nand_choose_best_sdr_timings()
985 int best_mode = 0, mode, ret = -EOPNOTSUPP; in nand_choose_best_nvddr_timings() local
1002 best_mode = iface->timings.mode; in nand_choose_best_nvddr_timings()
1004 best_mode = fls(chip->parameters.onfi->nvddr_timing_modes) - 1; in nand_choose_best_nvddr_timings()
1007 for (mode = best_mode; mode >= 0; mode--) { in nand_choose_best_nvddr_timings()