Home
last modified time | relevance | path

Searched refs:kstrtol (Results 1 – 25 of 136) sorted by relevance

123456

/Linux-v5.4/drivers/hwmon/
Dadt7470.c408 if (kstrtol(buf, 10, &temp)) in auto_update_interval_store()
435 if (kstrtol(buf, 10, &temp)) in num_temp_sensors_store()
466 if (kstrtol(buf, 10, &temp)) in temp_min_store()
498 if (kstrtol(buf, 10, &temp)) in temp_max_store()
573 if (kstrtol(buf, 10, &temp) || !temp) in fan_max_store()
609 if (kstrtol(buf, 10, &temp) || !temp) in fan_min_store()
652 if (kstrtol(buf, 10, &temp)) in force_pwm_max_store()
684 if (kstrtol(buf, 10, &temp)) in pwm_store()
735 if (kstrtol(buf, 10, &freq)) in pwm1_freq_store()
778 if (kstrtol(buf, 10, &temp)) in pwm_max_store()
[all …]
Dadm1031.c341 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()
Damc6821.c284 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()
Dadt7462.c799 if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) in temp_min_store()
835 if (kstrtol(buf, 10, &temp) || !temp_enabled(data, attr->index)) in temp_max_store()
896 if (kstrtol(buf, 10, &temp) || !x) in volt_max_store()
936 if (kstrtol(buf, 10, &temp) || !x) in volt_min_store()
1021 if (kstrtol(buf, 10, &temp) || !temp || in fan_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()
[all …]
Dadm1026.c493 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 …]
Dasc7621.c178 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()
Dlm87.c305 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()
Dadm1025.c223 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()
Dlm85.c869 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()
Demc2103.c239 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()
Dpc87360.c285 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()
Dadt7475.c355 if (kstrtol(buf, 10, &val)) in voltage_store()
451 if (kstrtol(buf, 10, &val)) in temp_store()
656 if (kstrtol(buf, 10, &val)) in point2_store()
777 if (kstrtol(buf, 10, &val)) in pwm_store()
838 if (kstrtol(buf, 10, &val)) in stall_disable_store()
922 if (kstrtol(buf, 10, &val)) in pwmchan_store()
946 if (kstrtol(buf, 10, &val)) in pwmctrl_store()
990 if (kstrtol(buf, 10, &val)) in pwmfreq_store()
1029 if (kstrtol(buf, 10, &val)) in pwm_use_point2_pwm_at_crit_store()
1059 if (kstrtol(buf, 10, &val)) in vrm_store()
Dina209.c242 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()
Dlm92.c157 err = kstrtol(buf, 10, &val); in temp_store()
197 err = kstrtol(buf, 10, &val); in temp_hyst_store()
Dstts751.c440 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()
Dlm95234.c300 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()
Dlm77.c165 err = kstrtol(buf, 10, &val); in temp_store()
190 err = kstrtol(buf, 10, &val); in temp_hyst_store()
Df71805f.c458 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()
Dtmp401.c335 if (kstrtol(buf, 10, &val)) in temp_store()
369 if (kstrtol(buf, 10, &val)) in temp_crit_hyst_store()
405 if (kstrtol(buf, 10, &val)) in reset_temp_history_store()
/Linux-v5.4/drivers/regulator/
Dvirtual.c120 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-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_hwmon.c70 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-v5.4/drivers/gpio/
Dgpiolib-sysfs.c141 status = kstrtol(buf, 0, &value); in value_store()
355 status = kstrtol(buf, 0, &value); in active_low_store()
461 status = kstrtol(buf, 0, &gpio); in export_store()
508 status = kstrtol(buf, 0, &gpio); in unexport_store()
/Linux-v5.4/drivers/gpu/drm/nouveau/nvkm/core/
Doption.c85 int ret = kstrtol(s, 0, &value); in nvkm_longopt()
/Linux-v5.4/drivers/power/reset/
Dvexpress-poweroff.c63 int err = kstrtol(buf, 0, &value); in vexpress_reset_active_store()
/Linux-v5.4/kernel/trace/
Dtrace_probe.c218 ret = kstrtol(tmp, 0, offset); in traceprobe_split_symbol_offset()
334 return kstrtol(str, 0, (long *)imm); in str_to_immediate()
336 return kstrtol(str + 1, 0, (long *)imm); in str_to_immediate()
396 ret = kstrtol(arg + 2, 0, &offset); in parse_probe_arg()
447 ret = kstrtol(arg, 0, &offset); in parse_probe_arg()

123456