/Linux-v5.15/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 | 2533 #define lpfc_param_init(attr, default, minval, maxval) \ argument 2537 if (lpfc_rangecheck(val, minval, maxval)) {\ 2543 "allowed range is ["#minval", "#maxval"]\n", val); \ 2568 #define lpfc_param_set(attr, default, minval, maxval) \ argument 2572 if (lpfc_rangecheck(val, minval, maxval)) {\ 2581 "allowed range is ["#minval", "#maxval"]\n", val); \ 2692 #define lpfc_vport_param_init(attr, default, minval, maxval) \ argument 2696 if (lpfc_rangecheck(val, minval, maxval)) {\ 2702 "allowed range is ["#minval", "#maxval"]\n", val); \ 2724 #define lpfc_vport_param_set(attr, default, minval, maxval) \ argument [all …]
|
/Linux-v5.15/drivers/hid/ |
D | hid-pl.c | 42 s32 maxval; member 58 left = left * plff->maxval / 0xffff; in hid_plff_play() 59 right = right * plff->maxval / 0xffff; in hid_plff_play() 79 s32 maxval; in plff_init() local 116 maxval = 0x7f; in plff_init() 136 maxval = 0xff; in plff_init() 160 plff->maxval = maxval; in plff_init()
|
/Linux-v5.15/drivers/video/logo/ |
D | pnmtologo.c | 119 static unsigned int get_number255(FILE *fp, unsigned int maxval) in get_number255() argument 122 return (255*val+maxval/2)/maxval; in get_number255() 130 unsigned int maxval; in read_image() local 185 maxval = get_number(fp); in read_image() 189 logo_data[i][j].blue = get_number255(fp, maxval); in read_image() 194 maxval = get_number(fp); in read_image() 197 logo_data[i][j].red = get_number255(fp, maxval); in read_image() 198 logo_data[i][j].green = get_number255(fp, maxval); in read_image() 199 logo_data[i][j].blue = get_number255(fp, maxval); in read_image()
|
/Linux-v5.15/drivers/clk/actions/ |
D | owl-factor.c | 19 unsigned int maxval = 0; in _get_table_maxval() local 23 if (clkt->val > maxval) in _get_table_maxval() 24 maxval = clkt->val; in _get_table_maxval() 25 return maxval; in _get_table_maxval()
|
/Linux-v5.15/sound/pci/ice1712/ |
D | maya44.c | 110 unsigned int maxval; /* volume range: 0..maxval */ member 121 .maxval = 80, 129 .maxval = 255, 137 .maxval = 91, 166 uinfo->value.integer.max = vol->maxval; in maya_vol_info() 199 if (val > vol->maxval) in maya_vol_put() 200 val = vol->maxval; in maya_vol_put()
|
/Linux-v5.15/sound/usb/caiaq/ |
D | control.c | 27 int maxval = 63; in control_info() local 45 maxval = 127; in control_info() 49 maxval = 31; in control_info() 56 uinfo->value.integer.max = maxval; in control_info()
|
/Linux-v5.15/drivers/net/phy/ |
D | micrel.c | 689 u16 maxval; in ksz9031_of_load_skew_values() local 707 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9031_of_load_skew_values() 711 mask ^= maxval << (field_sz * i); in ksz9031_of_load_skew_values() 713 (((val[i] / KSZ9031_PS_TO_REG) & maxval) in ksz9031_of_load_skew_values() 919 u16 maxval; in ksz9131_of_load_skew_values() local 949 maxval = (field_sz == 4) ? 0xf : 0x1f; in ksz9131_of_load_skew_values() 953 mask ^= maxval << (field_sz * i); in ksz9131_of_load_skew_values() 955 (((val[i] / KSZ9131_STEP) & maxval) in ksz9131_of_load_skew_values()
|
/Linux-v5.15/drivers/net/bonding/ |
D | bond_options.c | 506 const struct bond_opt_value *minval, *maxval; in bond_opt_check_range() local 509 maxval = bond_opt_get_flags(opt, BOND_VALFLAG_MAX); in bond_opt_check_range() 510 if (!maxval || (minval && val < minval->value) || val > maxval->value) in bond_opt_check_range() 624 const struct bond_opt_value *minval, *maxval; in bond_opt_error_interpret() local 643 maxval = bond_opt_get_flags(opt, BOND_VALFLAG_MAX); in bond_opt_error_interpret() 644 if (!maxval) in bond_opt_error_interpret() 647 opt->name, minval ? minval->value : 0, maxval->value); in bond_opt_error_interpret()
|
/Linux-v5.15/drivers/scsi/libfc/ |
D | fc_rport.c | 220 unsigned int maxval) in fc_plogi_get_maxframe() argument 229 if (mfs >= FC_SP_MIN_MAX_PAYLOAD && mfs < maxval) in fc_plogi_get_maxframe() 230 maxval = mfs; in fc_plogi_get_maxframe() 232 if (mfs >= FC_SP_MIN_MAX_PAYLOAD && mfs < maxval) in fc_plogi_get_maxframe() 233 maxval = mfs; in fc_plogi_get_maxframe() 234 return maxval; in fc_plogi_get_maxframe()
|
/Linux-v5.15/drivers/edac/ |
D | skx_common.c | 321 int minval, int maxval, const char *name) in skx_get_dimm_attr() argument 325 if (val < minval || val > maxval) { in skx_get_dimm_attr()
|
/Linux-v5.15/drivers/staging/media/atomisp/pci/ |
D | sh_css_params.c | 837 int maxval = 0; in convert_raw_to_fpn() local 857 maxval = max(maxval, val); in convert_raw_to_fpn() 863 while (maxval > 63) { in convert_raw_to_fpn() 865 maxval >>= 1; in convert_raw_to_fpn()
|
/Linux-v5.15/sound/pci/hda/ |
D | hda_codec.c | 1457 unsigned int maxval; in update_amp_value() local 1462 maxval = get_amp_max_value(codec, nid, dir, 0); in update_amp_value() 1463 if (val > maxval) in update_amp_value() 1464 val = maxval; in update_amp_value()
|
/Linux-v5.15/sound/pci/ac97/ |
D | ac97_codec.c | 1217 static const unsigned int *find_db_scale(unsigned int maxval) in find_db_scale() argument 1219 switch (maxval) { in find_db_scale()
|
/Linux-v5.15/drivers/hwmon/ |
D | nct6775.c | 2598 int maxval[7] in store_pwm() local 2606 val = clamp_val(val, minval[index], maxval[index]); in store_pwm()
|
/Linux-v5.15/tools/power/pm-graph/ |
D | sleepgraph.py | 4124 .maxval {background-color:#FFBBBB;}\n\
|