Home
last modified time | relevance | path

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

12

/linux/samples/bpf/
H A Dlwt_len_hist_user.c33 uint64_t values[nr_cpus], sum, max_value = 0, data[MAX_INDEX] = {}; in main() local
61 if (sum > max_value) in main()
62 max_value = sum; in main()
68 stars(starstr, data[i - 1], max_value, MAX_STARS); in main()
/linux/drivers/mtd/nand/raw/ingenic/
H A 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()
/linux/drivers/leds/
H A Dleds-spi-byte.c42 u8 max_value; member
55 .max_value = 0x3F,
99 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
/linux/drivers/platform/x86/dell/dell-wmi-sysman/
H A Dint-attributes.c52 in_val > wmi_priv.integer_data[instance_id].max_value) in validate_integer_input()
88 attribute_n_property_show(max_value, integer);
90 __ATTR_RO(max_value);
171 wmi_priv.integer_data[instance_id].max_value = in populate_int_data()
H A Ddell-wmi-sysman.h46 int max_value; member
/linux/drivers/gpu/drm/amd/pm/swsmu/smu13/
H A Dsmu_v13_0_7_ppt.c1061 int32_t min_value, max_value; in smu_v13_0_7_is_od_feature_supported() local
1069 &min_value, &max_value); in smu_v13_0_7_is_od_feature_supported()
1070 if (!min_value && !max_value) { in smu_v13_0_7_is_od_feature_supported()
1076 &min_value, &max_value); in smu_v13_0_7_is_od_feature_supported()
1077 if (!min_value && !max_value) { in smu_v13_0_7_is_od_feature_supported()
1223 int32_t min_value, max_value; in smu_v13_0_7_emit_clk_levels() local
1321 &max_value); in smu_v13_0_7_emit_clk_levels()
1323 min_value, max_value); in smu_v13_0_7_emit_clk_levels()
1328 &max_value); in smu_v13_0_7_emit_clk_levels()
1330 min_value, max_value); in smu_v13_0_7_emit_clk_levels()
[all …]
H A Dsmu_v13_0_0_ppt.c1051 int32_t min_value, max_value; in smu_v13_0_0_is_od_feature_supported() local
1059 &min_value, &max_value); in smu_v13_0_0_is_od_feature_supported()
1060 if (!min_value && !max_value) { in smu_v13_0_0_is_od_feature_supported()
1066 &min_value, &max_value); in smu_v13_0_0_is_od_feature_supported()
1067 if (!min_value && !max_value) { in smu_v13_0_0_is_od_feature_supported()
1213 int32_t min_value, max_value; in smu_v13_0_0_emit_clk_levels() local
1311 &max_value); in smu_v13_0_0_emit_clk_levels()
1313 min_value, max_value); in smu_v13_0_0_emit_clk_levels()
1318 &max_value); in smu_v13_0_0_emit_clk_levels()
1320 min_value, max_value); in smu_v13_0_0_emit_clk_levels()
[all …]
/linux/drivers/gpu/drm/amd/pm/swsmu/smu14/
H A Dsmu_v14_0_2_ppt.c934 int32_t min_value, max_value; in smu_v14_0_2_is_od_feature_supported() local
942 &min_value, &max_value); in smu_v14_0_2_is_od_feature_supported()
943 if (!min_value && !max_value) { in smu_v14_0_2_is_od_feature_supported()
949 &min_value, &max_value); in smu_v14_0_2_is_od_feature_supported()
950 if (!min_value && !max_value) { in smu_v14_0_2_is_od_feature_supported()
1046 int32_t min_value, max_value; in smu_v14_0_2_emit_clk_levels() local
1144 &max_value); in smu_v14_0_2_emit_clk_levels()
1146 min_value, max_value); in smu_v14_0_2_emit_clk_levels()
1151 &max_value); in smu_v14_0_2_emit_clk_levels()
1153 min_value, max_value); in smu_v14_0_2_emit_clk_levels()
[all …]
/linux/drivers/thermal/
H A Dairoha_thermal.c334 int min_value, max_value, avg_value, value; in en7581_thermal_get_temp() local
339 max_value = INT_MIN; in en7581_thermal_get_temp()
344 max_value = max(value, max_value); in en7581_thermal_get_temp()
349 avg_value -= (min_value + max_value); in en7581_thermal_get_temp()
/linux/include/linux/platform_data/
H A Dlv5207lp.h12 unsigned int max_value; member
/linux/fs/xfs/scrub/
H A Dfscounters.c480 int64_t min_value, max_value; in xchk_fscount_within_range() local
499 max_value = max(old_value, curr_value); in xchk_fscount_within_range()
502 if (expected >= min_value && expected <= max_value) in xchk_fscount_within_range()
/linux/arch/powerpc/sysdev/
H A Dmpic_timer.c94 u64 max_value; /* prevent u64 overflow */ in convert_time_to_ticks() local
96 max_value = div_u64(ULLONG_MAX, priv->timerfreq); in convert_time_to_ticks()
98 if (time > max_value) in convert_time_to_ticks()
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dvega20_hwmgr.c1378 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1385 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1422 value > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) in vega20_od8_set_settings()
1447 value > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) in vega20_od8_set_settings()
2994 input_clk > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
2998 od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3037 input_clk > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
3041 od8_settings[OD8_SETTING_UCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3084 input_clk > od8_settings[od8_id].max_value) { in vega20_odn_edit_dpm_table()
3088 od8_settings[od8_id].max_value); in vega20_odn_edit_dpm_table()
[all …]
H A Dvega20_hwmgr.h424 int32_t max_value; member
/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_sdvo_regs.h559 u8 max_value; member
626 u16 max_value; member
/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-hdw-internal.h101 long max_value; /* upper limit */ member
H A 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()
/linux/include/sound/sof/
H A Dtopology.h158 uint32_t max_value; member
/linux/drivers/ufs/host/
H A Dufshcd-pltfrm.c265 const u32 max_value, in ufshcd_parse_tx_eq_value_array() argument
289 if (values[i] >= max_value) { in ufshcd_parse_tx_eq_value_array()
/linux/mm/
H A Dkhugepaged.c1035 int nid, target_node = 0, max_value = 0; in collapse_find_target_node() local
1039 if (cc->node_load[nid] > max_value) { in collapse_find_target_node()
1040 max_value = cc->node_load[nid]; in collapse_find_target_node()
1045 if (max_value == cc->node_load[nid]) in collapse_find_target_node()
/linux/arch/arm64/kernel/
H A Dcpufeature.c164 #define __ARM64_CPUID_FIELDS(reg, field, min_value, max_value) \ argument
170 .max_field_value = max_value,
186 * implicit minimal value to max_value. This should be used when
189 #define ARM64_CPUID_FIELDS_NEG(reg, field, max_value) \ argument
192 SYS_FIELD_VALUE(reg, field, max_value))
/linux/include/uapi/drm/
H A Di915_drm.h1929 __u32 max_value; member
/linux/tools/include/uapi/drm/
H A Di915_drm.h
/linux/tools/net/ynl/pyynl/
H A Dynl_gen_c.py3140 max_value = f"({cnt_name} - 1)"
3167 max_value = f"({cnt_name} - 1)"
3191 max_value = f"({cnt_name} - 1)"
3305 max_value = f"({attr_set.cnt_name} - 1)"
/linux/drivers/scsi/bfa/
H A Dbfa_defs_svc.h929 u16 max_value; member

12