Home
last modified time | relevance | path

Searched refs:max_value (Results 1 – 25 of 28) sorted by relevance

12

/drivers/mtd/nand/raw/ingenic/
Djz4725b_bch.c75 u32 reg, max_value; in jz4725b_bch_reset() local
96 max_value = BCH_BHCNT_ENC_COUNT_MASK >> BCH_BHCNT_ENC_COUNT_SHIFT; in jz4725b_bch_reset()
97 if (params->size > max_value) in jz4725b_bch_reset()
100 max_value = BCH_BHCNT_DEC_COUNT_MASK >> BCH_BHCNT_DEC_COUNT_SHIFT; in jz4725b_bch_reset()
101 if (params->size + params->bytes > max_value) in jz4725b_bch_reset()
/drivers/leds/
Dleds-spi-byte.c42 u8 max_value; member
55 .max_value = 0x3F,
107 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
/drivers/platform/x86/dell/dell-wmi-sysman/
Dint-attributes.c51 in_val > wmi_priv.integer_data[instance_id].max_value) in validate_integer_input()
87 attribute_n_property_show(max_value, integer);
89 __ATTR_RO(max_value);
170 wmi_priv.integer_data[instance_id].max_value = in populate_int_data()
Ddell-wmi-sysman.h46 int max_value; member
/drivers/net/ethernet/sis/
Dsis900.c1240 u16 reg14h, eq_value=0, max_value=0, min_value=0; in sis630_set_eq() local
1255 max_value=min_value=eq_value; in sis630_set_eq()
1256 max_value = (eq_value > max_value) ? in sis630_set_eq()
1257 eq_value : max_value; in sis630_set_eq()
1264 if (max_value < 5) in sis630_set_eq()
1265 eq_value = max_value; in sis630_set_eq()
1266 else if (max_value >= 5 && max_value < 15) in sis630_set_eq()
1267 eq_value = (max_value == min_value) ? in sis630_set_eq()
1268 max_value+2 : max_value+1; in sis630_set_eq()
1269 else if (max_value >= 15) in sis630_set_eq()
[all …]
/drivers/gpu/drm/amd/display/include/
Dfixed31_32.h191 struct fixed31_32 max_value) in dc_fixpt_clamp() argument
195 else if (dc_fixpt_le(max_value, arg)) in dc_fixpt_clamp()
196 return max_value; in dc_fixpt_clamp()
/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1280 uint32_t min_value, max_value; in navi10_print_clk_levels() local
1406 NULL, &max_value); in navi10_print_clk_levels()
1408 min_value, max_value); in navi10_print_clk_levels()
1413 &min_value, &max_value); in navi10_print_clk_levels()
1415 min_value, max_value); in navi10_print_clk_levels()
1420 &min_value, &max_value); in navi10_print_clk_levels()
1422 min_value, max_value); in navi10_print_clk_levels()
1424 &min_value, &max_value); in navi10_print_clk_levels()
1426 min_value, max_value); in navi10_print_clk_levels()
1428 &min_value, &max_value); in navi10_print_clk_levels()
[all …]
Dsmu_v11_0.c2081 uint32_t *max_value) in smu_v11_0_get_dpm_level_range() argument
2086 if (!min_value && !max_value) in smu_v11_0_get_dpm_level_range()
2099 if (max_value) { in smu_v11_0_get_dpm_level_range()
2109 max_value); in smu_v11_0_get_dpm_level_range()
Dsienna_cichlid_ppt.c1105 uint32_t min_value, max_value; in sienna_cichlid_print_clk_levels() local
1238 NULL, &max_value); in sienna_cichlid_print_clk_levels()
1240 min_value, max_value); in sienna_cichlid_print_clk_levels()
1247 NULL, &max_value); in sienna_cichlid_print_clk_levels()
1249 min_value, max_value); in sienna_cichlid_print_clk_levels()
/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c1368 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1375 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1412 value > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) in vega20_od8_set_settings()
1437 value > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) in vega20_od8_set_settings()
2997 input_clk > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
3001 od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3040 input_clk > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
3044 od8_settings[OD8_SETTING_UCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3087 input_clk > od8_settings[od8_id].max_value) { in vega20_odn_edit_dpm_table()
3091 od8_settings[od8_id].max_value); in vega20_odn_edit_dpm_table()
[all …]
Dvega20_hwmgr.h426 int32_t max_value; member
/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h559 u8 max_value; member
626 u16 max_value; member
/drivers/gpu/drm/i915/display/
Dintel_sdvo_regs.h570 u8 max_value; member
637 u16 max_value; member
Dintel_sprite.c466 key->max_value); in vlv_update_plane()
884 intel_de_write_fw(dev_priv, SPRKEYMAX(pipe), key->max_value); in ivb_update_plane()
1211 intel_de_write_fw(dev_priv, DVSKEYMAX(pipe), key->max_value); in g4x_update_plane()
/drivers/video/backlight/
Dlv5207lp.c108 props.max_brightness = min_t(unsigned int, pdata->max_value, in lv5207lp_probe()
/drivers/power/supply/
Dsbs-battery.c90 .max_value = _max_value, \
97 int max_value; member
543 ret > sbs_data[REG_MANUFACTURER_DATA].max_value) { in sbs_get_ti_battery_presence_and_health()
626 ret <= sbs_data[reg_offset].max_value) { in sbs_get_battery_property()
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h101 long max_value; /* upper limit */ member
Dpvrusb2-ctrl.c28 lim = cptr->info->def.type_int.max_value; in pvr2_ctrl_range_check()
99 ret = cptr->info->def.type_int.max_value; in pvr2_ctrl_get_max()
/drivers/gpu/drm/amd/pm/inc/
Dsmu_v13_0.h253 uint32_t *max_value);
Dsmu_v11_0.h295 uint32_t *max_value);
/drivers/s390/net/
Dqeth_core_sys.c550 const char *buf, size_t count, int *value, int max_value) in qeth_dev_blkt_store() argument
559 if (input > max_value) in qeth_dev_blkt_store()
/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0.c1836 uint32_t *max_value) in smu_v13_0_get_dpm_level_range() argument
1841 if (!min_value && !max_value) in smu_v13_0_get_dpm_level_range()
1854 if (max_value) { in smu_v13_0_get_dpm_level_range()
1864 max_value); in smu_v13_0_get_dpm_level_range()
/drivers/media/dvb-frontends/
Ddib8000.c3034 u8 find_index, max_value; in dib8000_tune() local
3133 max_value = 0; in dib8000_tune()
3135 if (corm[max_value] < corm[find_index]) in dib8000_tune()
3136 max_value = find_index ; in dib8000_tune()
3139 switch (max_value) { in dib8000_tune()
/drivers/scsi/bfa/
Dbfa_defs_svc.h929 u16 max_value; member
/drivers/media/i2c/ccs/
Dccs-core.c1025 int max_value = (1 << sensor->csi_format->width) - 1; in ccs_init_late_controls() local
1030 0, max_value, 1, max_value); in ccs_init_late_controls()

12