Home
last modified time | relevance | path

Searched refs:minval (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/lpfc/
Dlpfc_attr.h24 #define LPFC_ATTR(name, defval, minval, maxval, desc) \ argument
28 lpfc_param_init(name, defval, minval, maxval)
30 #define LPFC_ATTR_R(name, defval, minval, maxval, desc) \ argument
35 lpfc_param_init(name, defval, minval, maxval)\
38 #define LPFC_ATTR_RW(name, defval, minval, maxval, desc) \ argument
43 lpfc_param_init(name, defval, minval, maxval)\
44 lpfc_param_set(name, defval, minval, maxval)\
49 #define LPFC_BBCR_ATTR_RW(name, defval, minval, maxval, desc) \ argument
54 lpfc_param_init(name, defval, minval, maxval)\
59 #define LPFC_ATTR_HEX_R(name, defval, minval, maxval, desc) \ argument
[all …]
Dlpfc_attr.c2381 #define lpfc_param_init(attr, default, minval, maxval) \ argument
2385 if (lpfc_rangecheck(val, minval, maxval)) {\
2391 "allowed range is ["#minval", "#maxval"]\n", val); \
2416 #define lpfc_param_set(attr, default, minval, maxval) \ argument
2420 if (lpfc_rangecheck(val, minval, maxval)) {\
2429 "allowed range is ["#minval", "#maxval"]\n", val); \
2540 #define lpfc_vport_param_init(attr, default, minval, maxval) \ argument
2544 if (lpfc_rangecheck(val, minval, maxval)) {\
2550 "allowed range is ["#minval", "#maxval"]\n", val); \
2572 #define lpfc_vport_param_set(attr, default, minval, maxval) \ argument
[all …]
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_options.c488 const struct bond_opt_value *minval, *maxval; in bond_opt_check_range() local
490 minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); in bond_opt_check_range()
492 if (!maxval || (minval && val < minval->value) || val > maxval->value) in bond_opt_check_range()
606 const struct bond_opt_value *minval, *maxval; in bond_opt_error_interpret() local
624 minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); in bond_opt_error_interpret()
629 opt->name, minval ? minval->value : 0, maxval->value); in bond_opt_error_interpret()
/kernel/linux/linux-5.10/drivers/edac/
Dskx_common.c291 int minval, int maxval, const char *name) in skx_get_dimm_attr() argument
295 if (val < minval || val > maxval) { in skx_get_dimm_attr()
/kernel/linux/linux-5.10/drivers/hwmon/
Dnct6775.c2597 int minval[7] = { 0, 1, 1, data->pwm[2][nr], 0, 0, 0 }; in store_pwm() local
2606 val = clamp_val(val, minval[index], maxval[index]); in store_pwm()
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.py4039 .minval {background-color:#BBFFBB;}\n\