/linux-6.6.21/drivers/scsi/lpfc/ |
D | lpfc_attr.h | 24 #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 …]
|
D | lpfc_attr.c | 2717 #define lpfc_param_init(attr, default, minval, maxval) \ argument 2721 if (lpfc_rangecheck(val, minval, maxval)) {\ 2727 "allowed range is ["#minval", "#maxval"]\n", val); \ 2752 #define lpfc_param_set(attr, default, minval, maxval) \ argument 2756 if (lpfc_rangecheck(val, minval, maxval)) {\ 2765 "allowed range is ["#minval", "#maxval"]\n", val); \ 2876 #define lpfc_vport_param_init(attr, default, minval, maxval) \ argument 2880 if (lpfc_rangecheck(val, minval, maxval)) {\ 2886 "allowed range is ["#minval", "#maxval"]\n", val); \ 2908 #define lpfc_vport_param_set(attr, default, minval, maxval) \ argument [all …]
|
/linux-6.6.21/drivers/net/bonding/ |
D | bond_options.c | 551 const struct bond_opt_value *minval, *maxval; in bond_opt_check_range() local 553 minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); in bond_opt_check_range() 555 if (!maxval || (minval && val < minval->value) || val > maxval->value) in bond_opt_check_range() 676 const struct bond_opt_value *minval, *maxval; in bond_opt_error_interpret() local 695 minval = bond_opt_get_flags(opt, BOND_VALFLAG_MIN); in bond_opt_error_interpret() 700 opt->name, minval ? minval->value : 0, maxval->value); in bond_opt_error_interpret()
|
/linux-6.6.21/drivers/edac/ |
D | skx_common.c | 328 int minval, int maxval, const char *name) in skx_get_dimm_attr() argument 332 if (val < minval || val > maxval) { in skx_get_dimm_attr()
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_midi2.c | 2107 u32 *valp, u32 minval, u32 maxval, in f_midi2_opts_uint_store() argument 2122 if (val < minval || val > maxval) { in f_midi2_opts_uint_store() 2206 #define F_MIDI2_BLOCK_OPT(name, format, minval, maxval) \ argument 2220 minval, maxval, page, len); \ 2393 #define F_MIDI2_EP_OPT(name, format, minval, maxval) \ argument 2407 minval, maxval, page, len); \
|
/linux-6.6.21/drivers/hwmon/ |
D | nct6775-core.c | 2550 int minval[7] = { 0, 1, 1, data->pwm[2][nr], 0, 0, 0 }; in store_pwm() local 2566 val = clamp_val(val, minval[index], maxval[index]); in store_pwm()
|
/linux-6.6.21/tools/power/pm-graph/ |
D | sleepgraph.py | 4296 .minval {background-color:#BBFFBB;}\n\
|