Searched refs:min_value (Results 1 – 12 of 12) sorted by relevance
/drivers/gpu/drm/amd/display/include/ |
D | fixed31_32.h | 196 struct fixed31_32 min_value, in dc_fixpt_clamp() argument 199 if (dc_fixpt_le(arg, min_value)) in dc_fixpt_clamp() 200 return min_value; in dc_fixpt_clamp()
|
/drivers/power/supply/ |
D | sbs-battery.c | 69 .min_value = _min_value, \ 76 int min_value; member 362 if (ret < sbs_data[REG_MANUFACTURER_DATA].min_value || in sbs_get_ti_battery_presence_and_health() 405 if (sbs_data[reg_offset].min_value < 0) in sbs_get_battery_property() 408 if (ret >= sbs_data[reg_offset].min_value && in sbs_get_battery_property()
|
D | ab8500_charger.c | 1236 int min_value; in ab8500_charger_set_vbus_in_curr() local 1240 min_value = min(di->bm->chg_params->usb_curr_max, ich_in); in ab8500_charger_set_vbus_in_curr() 1242 min_value = min(di->max_usb_in_curr.set_max, min_value); in ab8500_charger_set_vbus_in_curr() 1245 min_value = min(di->usb_state.usb_current, min_value); in ab8500_charger_set_vbus_in_curr() 1247 switch (min_value) { in ab8500_charger_set_vbus_in_curr() 1250 min_value = USB_CH_IP_CUR_LVL_0P05; in ab8500_charger_set_vbus_in_curr() 1254 min_value = USB_CH_IP_CUR_LVL_0P45; in ab8500_charger_set_vbus_in_curr() 1260 dev_info(di->dev, "VBUS input current limit set to %d mA\n", min_value); in ab8500_charger_set_vbus_in_curr() 1263 ret = ab8500_charger_set_current(di, min_value, in ab8500_charger_set_vbus_in_curr()
|
/drivers/gpu/drm/amd/powerplay/ |
D | vega20_ppt.c | 1132 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMIN].min_value, in vega20_print_clk_levels() 1156 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ1].min_value, in vega20_print_clk_levels() 1159 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE1].min_value, in vega20_print_clk_levels() 1162 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ2].min_value, in vega20_print_clk_levels() 1165 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE2].min_value, in vega20_print_clk_levels() 1168 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_FREQ3].min_value, in vega20_print_clk_levels() 1171 od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_VOLTAGE3].min_value, in vega20_print_clk_levels() 1672 od8_settings->od8_settings_array[i].min_value = in vega20_set_default_od8_setttings() 1679 od8_settings->od8_settings_array[i].min_value = 0; in vega20_set_default_od8_setttings() 2450 if (value < od8_settings->od8_settings_array[OD8_SETTING_GFXCLK_FMAX].min_value || in vega20_update_specified_od8_value() [all …]
|
D | vega20_ppt.h | 161 int32_t min_value; member
|
/drivers/gpu/drm/amd/powerplay/hwmgr/ |
D | vega20_hwmgr.c | 1338 od8_settings->od8_settings_array[i].min_value = in vega20_od8_initialize_default_settings() 1345 od8_settings->od8_settings_array[i].min_value = in vega20_od8_initialize_default_settings() 1383 if (value < od8_settings[OD8_SETTING_GFXCLK_FMAX].min_value || in vega20_od8_set_settings() 1408 if (value < od8_settings[OD8_SETTING_UCLK_FMAX].min_value || in vega20_od8_set_settings() 2946 if (input_clk < od8_settings[OD8_SETTING_GFXCLK_FMIN].min_value || in vega20_odn_edit_dpm_table() 2950 od8_settings[OD8_SETTING_GFXCLK_FMIN].min_value, in vega20_odn_edit_dpm_table() 2989 if (input_clk < od8_settings[OD8_SETTING_UCLK_FMAX].min_value || in vega20_odn_edit_dpm_table() 2993 od8_settings[OD8_SETTING_UCLK_FMAX].min_value, in vega20_odn_edit_dpm_table() 3036 if (input_clk < od8_settings[od8_id].min_value || in vega20_odn_edit_dpm_table() 3040 od8_settings[od8_id].min_value, in vega20_odn_edit_dpm_table() [all …]
|
D | vega20_hwmgr.h | 425 int32_t min_value; member
|
/drivers/net/ethernet/sis/ |
D | sis900.c | 1239 u16 reg14h, eq_value=0, max_value=0, min_value=0; in sis630_set_eq() local 1254 max_value=min_value=eq_value; in sis630_set_eq() 1257 min_value = (eq_value < min_value) ? in sis630_set_eq() 1258 eq_value : min_value; in sis630_set_eq() 1266 eq_value = (max_value == min_value) ? in sis630_set_eq() 1269 eq_value=(max_value == min_value) ? in sis630_set_eq() 1279 eq_value = (max_value + min_value + 1)/2; in sis630_set_eq()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-hdw-internal.h | 100 long min_value; /* lower limit */ member
|
D | pvrusb2-ctrl.c | 23 lim = cptr->info->def.type_int.min_value; in pvr2_ctrl_range_check() 115 ret = cptr->info->def.type_int.min_value; in pvr2_ctrl_get_min()
|
D | pvrusb2-hdw.c | 938 .def.type_int.min_value = vmin, \ 2481 ciptr->def.type_int.min_value = qctrl.minimum; in pvr2_hdw_create()
|
/drivers/gpu/drm/i915/display/ |
D | intel_sprite.c | 623 I915_WRITE_FW(PLANE_KEYVAL(pipe, plane_id), key->min_value); in skl_program_plane() 970 I915_WRITE_FW(SPKEYMINVAL(pipe, plane_id), key->min_value); in vlv_update_plane() 1190 I915_WRITE_FW(SPRKEYVAL(pipe), key->min_value); in ivb_update_plane() 1442 I915_WRITE_FW(DVSKEYVAL(pipe), key->min_value); in g4x_update_plane()
|