reqval 176 drivers/hwmon/asc7621.c long reqval; reqval 178 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 181 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, 0, 255); reqval 184 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; reqval 185 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); reqval 208 drivers/hwmon/asc7621.c long reqval; reqval 211 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 214 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, 0, param->mask[0]); reqval 216 drivers/hwmon/asc7621.c reqval = (reqval & param->mask[0]) << param->shift[0]; reqval 220 drivers/hwmon/asc7621.c reqval |= (currval & ~(param->mask[0] << param->shift[0])); reqval 221 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; reqval 222 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); reqval 253 drivers/hwmon/asc7621.c long reqval; reqval 255 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 263 drivers/hwmon/asc7621.c reqval = reqval 264 drivers/hwmon/asc7621.c (reqval <= 0 ? 0xffff : clamp_val(5400000 / reqval, 0, 0xfffe)); reqval 267 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = (reqval >> 8) & 0xff; reqval 268 drivers/hwmon/asc7621.c data->reg[param->lsb[0]] = reqval & 0xff; reqval 327 drivers/hwmon/asc7621.c long reqval; reqval 330 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 333 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, 0, 0xffff); reqval 335 drivers/hwmon/asc7621.c reqval = reqval * 0xc0 / asc7621_in_scaling[nr]; reqval 337 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, 0, 0xff); reqval 340 drivers/hwmon/asc7621.c data->reg[param->msb[0]] = reqval; reqval 341 drivers/hwmon/asc7621.c write_byte(client, param->msb[0], reqval); reqval 360 drivers/hwmon/asc7621.c long reqval; reqval 363 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 366 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, -127000, 127000); reqval 368 drivers/hwmon/asc7621.c temp = reqval / 1000; reqval 416 drivers/hwmon/asc7621.c long reqval, i, f; reqval 419 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 422 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, -32000, 31750); reqval 423 drivers/hwmon/asc7621.c i = reqval / 1000; reqval 424 drivers/hwmon/asc7621.c f = reqval - (i * 1000); reqval 470 drivers/hwmon/asc7621.c long reqval, auto_point1; reqval 474 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 479 drivers/hwmon/asc7621.c reqval = clamp_val(reqval, auto_point1 + 2000, auto_point1 + 80000); reqval 482 drivers/hwmon/asc7621.c if (reqval >= auto_point1 + asc7621_range_map[i]) { reqval 521 drivers/hwmon/asc7621.c unsigned long reqval; reqval 530 drivers/hwmon/asc7621.c if (kstrtoul(buf, 10, &reqval)) reqval 533 drivers/hwmon/asc7621.c if (reqval > 31) reqval 536 drivers/hwmon/asc7621.c reqval = map[reqval]; reqval 537 drivers/hwmon/asc7621.c if (reqval == 0xff) reqval 540 drivers/hwmon/asc7621.c config = reqval & 0x07; reqval 541 drivers/hwmon/asc7621.c altbit = (reqval >> 3) & 0x01; reqval 589 drivers/hwmon/asc7621.c long reqval; reqval 592 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 595 drivers/hwmon/asc7621.c switch (reqval) { reqval 662 drivers/hwmon/asc7621.c unsigned long reqval; reqval 666 drivers/hwmon/asc7621.c if (kstrtoul(buf, 10, &reqval)) reqval 670 drivers/hwmon/asc7621.c if (reqval == asc7621_pwm_freq_map[i]) { reqval 711 drivers/hwmon/asc7621.c long reqval; reqval 715 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 719 drivers/hwmon/asc7621.c if (reqval == asc7621_pwm_auto_spinup_map[i]) { reqval 758 drivers/hwmon/asc7621.c long reqval; reqval 762 drivers/hwmon/asc7621.c if (kstrtol(buf, 10, &reqval)) reqval 766 drivers/hwmon/asc7621.c if (reqval == asc7621_temp_smoothing_time_map[i]) {