Home
last modified time | relevance | path

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

12

/linux-6.6.21/samples/bpf/
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()
Dtracex2_user.c51 long max_value = 0; in print_hist_for_pid() local
67 if (value > max_value) in print_hist_for_pid()
68 max_value = value; in print_hist_for_pid()
75 stars(starstr, data[i - 1], max_value, MAX_STARS); in print_hist_for_pid()
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu11/
Dnavi10_ppt.c1273 uint32_t min_value, max_value; in navi10_emit_clk_levels() local
1405 NULL, &max_value); in navi10_emit_clk_levels()
1407 min_value, max_value); in navi10_emit_clk_levels()
1412 &min_value, &max_value); in navi10_emit_clk_levels()
1414 min_value, max_value); in navi10_emit_clk_levels()
1420 &min_value, &max_value); in navi10_emit_clk_levels()
1423 min_value, max_value); in navi10_emit_clk_levels()
1426 &min_value, &max_value); in navi10_emit_clk_levels()
1429 min_value, max_value); in navi10_emit_clk_levels()
1432 &min_value, &max_value); in navi10_emit_clk_levels()
[all …]
/linux-6.6.21/drivers/net/ethernet/sis/
Dsis900.c1247 u16 reg14h, eq_value=0, max_value=0, min_value=0; in sis630_set_eq() local
1262 max_value=min_value=eq_value; in sis630_set_eq()
1263 max_value = (eq_value > max_value) ? in sis630_set_eq()
1264 eq_value : max_value; in sis630_set_eq()
1271 if (max_value < 5) in sis630_set_eq()
1272 eq_value = max_value; in sis630_set_eq()
1273 else if (max_value >= 5 && max_value < 15) in sis630_set_eq()
1274 eq_value = (max_value == min_value) ? in sis630_set_eq()
1275 max_value+2 : max_value+1; in sis630_set_eq()
1276 else if (max_value >= 15) in sis630_set_eq()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/include/linux/platform_data/
Dlv5207lp.h12 unsigned int max_value; member
/linux-6.6.21/fs/xfs/scrub/
Dfscounters.c471 int64_t min_value, max_value; in xchk_fscount_within_range() local
486 max_value = max(old_value, curr_value); in xchk_fscount_within_range()
489 if (expected >= min_value && expected <= max_value) in xchk_fscount_within_range()
/linux-6.6.21/arch/powerpc/sysdev/
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-6.6.21/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
Dvega20_hwmgr.c1367 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1374 od8_settings->od8_settings_array[i].max_value = in vega20_od8_initialize_default_settings()
1411 value > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) in vega20_od8_set_settings()
1436 value > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) in vega20_od8_set_settings()
2998 input_clk > od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
3002 od8_settings[OD8_SETTING_GFXCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3041 input_clk > od8_settings[OD8_SETTING_UCLK_FMAX].max_value) { in vega20_odn_edit_dpm_table()
3045 od8_settings[OD8_SETTING_UCLK_FMAX].max_value); in vega20_odn_edit_dpm_table()
3088 input_clk > od8_settings[od8_id].max_value) { in vega20_odn_edit_dpm_table()
3092 od8_settings[od8_id].max_value); in vega20_odn_edit_dpm_table()
[all …]
Dvega20_hwmgr.h424 int32_t max_value; member
/linux-6.6.21/drivers/gpu/drm/i915/display/
Dintel_sdvo_regs.h570 u8 max_value; member
637 u16 max_value; member
/linux-6.6.21/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h559 u8 max_value; member
626 u16 max_value; member
/linux-6.6.21/drivers/video/backlight/
Dlv5207lp.c107 props.max_brightness = min_t(unsigned int, pdata->max_value, in lv5207lp_probe()
/linux-6.6.21/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()
/linux-6.6.21/include/sound/sof/
Dtopology.h151 uint32_t max_value; member
/linux-6.6.21/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()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/smu13/
Dsmu_v13_0_7_ppt.c1149 int32_t min_value, max_value; in smu_v13_0_7_print_clk_levels() local
1316 &max_value); in smu_v13_0_7_print_clk_levels()
1318 min_value, max_value); in smu_v13_0_7_print_clk_levels()
1329 &max_value); in smu_v13_0_7_print_clk_levels()
1331 min_value, max_value); in smu_v13_0_7_print_clk_levels()
1338 &max_value); in smu_v13_0_7_print_clk_levels()
1340 min_value, max_value); in smu_v13_0_7_print_clk_levels()
Dsmu_v13_0_0_ppt.c1168 int32_t min_value, max_value; in smu_v13_0_0_print_clk_levels() local
1335 &max_value); in smu_v13_0_0_print_clk_levels()
1337 min_value, max_value); in smu_v13_0_0_print_clk_levels()
1348 &max_value); in smu_v13_0_0_print_clk_levels()
1350 min_value, max_value); in smu_v13_0_0_print_clk_levels()
1357 &max_value); in smu_v13_0_0_print_clk_levels()
1359 min_value, max_value); in smu_v13_0_0_print_clk_levels()
/linux-6.6.21/drivers/gpu/drm/amd/pm/swsmu/inc/
Dsmu_v11_0.h287 uint32_t *max_value);
/linux-6.6.21/drivers/s390/net/
Dqeth_core_sys.c552 const char *buf, size_t count, int *value, int max_value) in qeth_dev_blkt_store() argument
561 if (input > max_value) in qeth_dev_blkt_store()

12