/linux/drivers/regulator/ |
A D | virtual.c | 120 if (kstrtol(buf, 10, &val) != 0) in set_min_uV() 146 if (kstrtol(buf, 10, &val) != 0) in set_max_uV() 172 if (kstrtol(buf, 10, &val) != 0) in set_min_uA() 198 if (kstrtol(buf, 10, &val) != 0) in set_max_uA()
|
/linux/drivers/hwmon/ |
A D | adm1031.c | 341 ret = kstrtol(buf, 10, &val); in fan_auto_channel_store() 412 ret = kstrtol(buf, 10, &val); in auto_temp_min_store() 442 ret = kstrtol(buf, 10, &val); in auto_temp_max_store() 483 ret = kstrtol(buf, 10, &val); in pwm_store() 594 ret = kstrtol(buf, 10, &val); in fan_min_store() 622 ret = kstrtol(buf, 10, &val); in fan_div_store() 716 ret = kstrtol(buf, 10, &val); in temp_offset_store() 738 ret = kstrtol(buf, 10, &val); in temp_min_store() 760 ret = kstrtol(buf, 10, &val); in temp_max_store() 782 ret = kstrtol(buf, 10, &val); in temp_crit_store()
|
A D | adt7462.c | 896 if (kstrtol(buf, 10, &temp) || !x) in volt_max_store() 936 if (kstrtol(buf, 10, &temp) || !x) in volt_min_store() 1068 if (kstrtol(buf, 10, &temp)) in force_pwm_max_store() 1100 if (kstrtol(buf, 10, &temp)) in pwm_store() 1128 if (kstrtol(buf, 10, &temp)) in pwm_max_store() 1158 if (kstrtol(buf, 10, &temp)) in pwm_min_store() 1190 if (kstrtol(buf, 10, &temp)) in pwm_hyst_store() 1234 if (kstrtol(buf, 10, &trange)) in pwm_tmax_store() 1272 if (kstrtol(buf, 10, &temp)) in pwm_tmin_store() 1327 if (kstrtol(buf, 10, &temp)) in pwm_auto_store() [all …]
|
A D | adm1026.c | 493 err = kstrtol(buf, 10, &val); in in_min_store() 521 err = kstrtol(buf, 10, &val); in in_max_store() 604 err = kstrtol(buf, 10, &val); in in16_min_store() 633 err = kstrtol(buf, 10, &val); in in16_max_store() 682 err = kstrtol(buf, 10, &val); in fan_min_store() 750 err = kstrtol(buf, 10, &val); in fan_div_store() 818 err = kstrtol(buf, 10, &val); in temp_min_store() 848 err = kstrtol(buf, 10, &val); in temp_max_store() 889 err = kstrtol(buf, 10, &val); in temp_offset_store() 945 err = kstrtol(buf, 10, &val); in temp_auto_point1_temp_store() [all …]
|
A D | amc6821.c | 284 int ret = kstrtol(buf, 10, &val); in temp_store() 359 int ret = kstrtol(buf, 10, &val); in pwm1_store() 384 int config = kstrtol(buf, 10, &val); in pwm1_enable_store() 495 int ret = kstrtol(buf, 10, &val); in temp_auto_point_temp_store() 562 int ret = kstrtol(buf, 10, &val); in pwm1_auto_point_pwm_store() 619 int ret = kstrtol(buf, 10, &val); in fan_store() 656 int config = kstrtol(buf, 10, &val); in fan1_div_store()
|
A D | asc7621.c | 178 if (kstrtol(buf, 10, &reqval)) in store_u8() 211 if (kstrtol(buf, 10, &reqval)) in store_bitmask() 255 if (kstrtol(buf, 10, &reqval)) in store_fan16() 330 if (kstrtol(buf, 10, &reqval)) in store_in8() 363 if (kstrtol(buf, 10, &reqval)) in store_temp8() 419 if (kstrtol(buf, 10, &reqval)) in store_temp62() 474 if (kstrtol(buf, 10, &reqval)) in store_ap2_temp() 592 if (kstrtol(buf, 10, &reqval)) in store_pwm_enable() 715 if (kstrtol(buf, 10, &reqval)) in store_pwm_ast() 762 if (kstrtol(buf, 10, &reqval)) in store_temp_st()
|
A D | lm87.c | 305 err = kstrtol(buf, 10, &val); in in_min_store() 326 err = kstrtol(buf, 10, &val); in in_max_store() 402 err = kstrtol(buf, 10, &val); in temp_low_store() 423 err = kstrtol(buf, 10, &val); in temp_high_store() 502 err = kstrtol(buf, 10, &val); in fan_min_store() 532 err = kstrtol(buf, 10, &val); in fan_div_store() 640 err = kstrtol(buf, 10, &val); in aout_output_store()
|
A D | lm85.c | 869 err = kstrtol(buf, 10, &val); in in_min_store() 897 err = kstrtol(buf, 10, &val); in in_max_store() 962 err = kstrtol(buf, 10, &val); in temp_min_store() 994 err = kstrtol(buf, 10, &val); in temp_max_store() 1039 err = kstrtol(buf, 10, &val); in pwm_auto_channels_store() 1102 err = kstrtol(buf, 10, &val); in pwm_auto_pwm_minctl_store() 1150 err = kstrtol(buf, 10, &val); in temp_auto_temp_off_store() 1188 err = kstrtol(buf, 10, &val); in temp_auto_temp_min_store() 1230 err = kstrtol(buf, 10, &val); in temp_auto_temp_max_store() 1265 err = kstrtol(buf, 10, &val); in temp_auto_temp_crit_store()
|
A D | adm1025.c | 223 err = kstrtol(buf, 10, &val); in in_min_store() 244 err = kstrtol(buf, 10, &val); in in_max_store() 285 err = kstrtol(buf, 10, &val); in temp_min_store() 307 err = kstrtol(buf, 10, &val); in temp_max_store()
|
A D | emc2103.c | 239 int result = kstrtol(buf, 10, &val); in temp_min_store() 261 int result = kstrtol(buf, 10, &val); in temp_max_store() 307 int status = kstrtol(buf, 10, &new_div); in fan1_div_store() 428 int result = kstrtol(buf, 10, &new_value); in pwm1_enable_store()
|
A D | adt7470.c | 491 if (kstrtol(buf, 10, &temp)) in auto_update_interval_store() 522 if (kstrtol(buf, 10, &temp)) in num_temp_sensors_store() 707 if (kstrtol(buf, 10, &temp)) in force_pwm_max_store() 874 if (kstrtol(buf, 10, &temp)) in pwm_max_store() 909 if (kstrtol(buf, 10, &temp)) in pwm_min_store() 957 if (kstrtol(buf, 10, &temp)) in pwm_tmin_store() 1009 if (kstrtol(buf, 10, &temp)) in pwm_auto_temp_store()
|
A D | pc87360.c | 285 err = kstrtol(buf, 10, &fan_min); in fan_min_store() 361 err = kstrtol(buf, 10, &val); in pwm_store() 432 err = kstrtol(buf, 10, &val); in in_min_store() 452 err = kstrtol(buf, 10, &val); in in_max_store() 692 err = kstrtol(buf, 10, &val); in therm_min_store() 713 err = kstrtol(buf, 10, &val); in therm_max_store() 733 err = kstrtol(buf, 10, &val); in therm_crit_store() 894 err = kstrtol(buf, 10, &val); in temp_min_store() 915 err = kstrtol(buf, 10, &val); in temp_max_store() 936 err = kstrtol(buf, 10, &val); in temp_crit_store()
|
A D | ina209.c | 242 ret = kstrtol(buf, 10, &val); in ina209_interval_store() 290 ret = kstrtol(buf, 10, &val); in ina209_history_store() 318 ret = kstrtol(buf, 10, &val); in ina209_value_store()
|
A D | adt7475.c | 358 if (kstrtol(buf, 10, &val)) in voltage_store() 454 if (kstrtol(buf, 10, &val)) in temp_store() 659 if (kstrtol(buf, 10, &val)) in point2_store() 780 if (kstrtol(buf, 10, &val)) in pwm_store() 841 if (kstrtol(buf, 10, &val)) in stall_disable_store() 925 if (kstrtol(buf, 10, &val)) in pwmchan_store() 949 if (kstrtol(buf, 10, &val)) in pwmctrl_store() 993 if (kstrtol(buf, 10, &val)) in pwmfreq_store() 1032 if (kstrtol(buf, 10, &val)) in pwm_use_point2_pwm_at_crit_store() 1062 if (kstrtol(buf, 10, &val)) in vrm_store()
|
A D | lm95234.c | 300 ret = kstrtol(buf, 10, &val); in tcrit2_store() 349 ret = kstrtol(buf, 10, &val); in tcrit1_store() 390 ret = kstrtol(buf, 10, &val); in tcrit1_hyst_store() 429 ret = kstrtol(buf, 10, &val); in offset_store()
|
A D | stts751.c | 440 if (kstrtol(buf, 10, &temp) < 0) in therm_store() 483 if (kstrtol(buf, 10, &temp) < 0) in hyst_store() 530 if (kstrtol(buf, 10, &temp) < 0) in max_store() 564 if (kstrtol(buf, 10, &temp) < 0) in min_store()
|
A D | lm92.c | 157 err = kstrtol(buf, 10, &val); in temp_store() 197 err = kstrtol(buf, 10, &val); in temp_hyst_store()
|
A D | lm77.c | 165 err = kstrtol(buf, 10, &val); in temp_store() 190 err = kstrtol(buf, 10, &val); in temp_hyst_store()
|
A D | f71805f.c | 458 err = kstrtol(buf, 10, &val); in set_in0_max() 479 err = kstrtol(buf, 10, &val); in set_in0_min() 530 err = kstrtol(buf, 10, &val); in set_in_max() 551 err = kstrtol(buf, 10, &val); in set_in_min() 602 err = kstrtol(buf, 10, &val); in set_fan_min() 623 err = kstrtol(buf, 10, &val); in set_fan_target() 909 err = kstrtol(buf, 10, &val); in set_temp_max() 930 err = kstrtol(buf, 10, &val); in set_temp_hyst()
|
A D | tmp401.c | 332 if (kstrtol(buf, 10, &val)) in temp_store() 366 if (kstrtol(buf, 10, &val)) in temp_crit_hyst_store() 402 if (kstrtol(buf, 10, &val)) in reset_temp_history_store()
|
A D | f71882fg.c | 1401 err = kstrtol(buf, 10, &val); in store_fan_full_speed() 1488 err = kstrtol(buf, 10, &val); in store_in_max() 1602 err = kstrtol(buf, 10, &val); in store_temp_max() 1644 err = kstrtol(buf, 10, &val); in store_temp_max_hyst() 1686 err = kstrtol(buf, 10, &val); in store_temp_crit() 1814 err = kstrtol(buf, 10, &val); in store_pwm() 1865 err = kstrtol(buf, 10, &val); in store_simple_pwm() 1912 err = kstrtol(buf, 10, &val); in store_pwm_enable() 1992 err = kstrtol(buf, 10, &val); in store_pwm_auto_point_pwm() 2046 err = kstrtol(buf, 10, &val); in store_pwm_auto_point_temp_hyst() [all …]
|
/linux/drivers/gpio/ |
A D | gpiolib-sysfs.c | 137 status = kstrtol(buf, 0, &value); in value_store() 348 status = kstrtol(buf, 0, &value); in active_low_store() 456 status = kstrtol(buf, 0, &gpio); in export_store() 509 status = kstrtol(buf, 0, &gpio); in unexport_store()
|
/linux/drivers/gpu/drm/nouveau/ |
A D | nouveau_hwmon.c | 70 if (kstrtol(buf, 10, &value)) in nouveau_hwmon_set_temp1_auto_point1_temp() 103 if (kstrtol(buf, 10, &value)) in nouveau_hwmon_set_temp1_auto_point1_temp_hyst() 157 if (kstrtol(buf, 10, &value)) in nouveau_hwmon_set_pwm1_min() 180 if (kstrtol(buf, 10, &value)) in nouveau_hwmon_set_pwm1_max()
|
/linux/drivers/gpu/drm/nouveau/nvkm/core/ |
A D | option.c | 85 int ret = kstrtol(s, 0, &value); in nvkm_longopt()
|
/linux/kernel/trace/ |
A D | trace_probe.c | 218 ret = kstrtol(tmp, 0, offset); in traceprobe_split_symbol_offset() 344 return kstrtol(str, 0, (long *)imm); in str_to_immediate() 346 return kstrtol(str + 1, 0, (long *)imm); in str_to_immediate() 406 ret = kstrtol(arg + 2, 0, &offset); in parse_probe_arg() 457 ret = kstrtol(arg, 0, &offset); in parse_probe_arg()
|