Home
last modified time | relevance | path

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

1234567

/OK3568_Linux_fs/kernel/drivers/hwmon/
H A 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 …]
H A 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()
H A 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 …]
H A 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 …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dadt7475.c358 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()
H A 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()
H A 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()
H A Dlm92.c157 err = kstrtol(buf, 10, &val); in temp_store()
197 err = kstrtol(buf, 10, &val); in temp_hyst_store()
H A Dlm77.c165 err = kstrtol(buf, 10, &val); in temp_store()
190 err = kstrtol(buf, 10, &val); in temp_hyst_store()
H A 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()
H A 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()
/OK3568_Linux_fs/kernel/drivers/regulator/
H A 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()
/OK3568_Linux_fs/kernel/drivers/devfreq/
H A Drockchip_dmc_dbg.c427 ret = kstrtol(p_char, 10, &long_val); in powersave_proc_write()
437 ret = kstrtol(p_char, 10, &long_val); in powersave_proc_write()
620 ret = kstrtol(p_char, 10, &long_val); in drvodt_proc_write()
630 ret = kstrtol(p_char, 10, &long_val); in drvodt_proc_write()
787 ret = kstrtol(p_char, 10, &long_val); in skew_proc_write()
793 ret = kstrtol(p_char, 10, &long_val); in skew_proc_write()
803 ret = kstrtol(p_char, 10, &long_val); in skew_proc_write()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/
H A 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()
/OK3568_Linux_fs/kernel/drivers/gpio/
H A Dgpiolib-sysfs.c142 status = kstrtol(buf, 0, &value); in value_store()
356 status = kstrtol(buf, 0, &value); in active_low_store()
464 status = kstrtol(buf, 0, &gpio); in export_store()
517 status = kstrtol(buf, 0, &gpio); in unexport_store()
/OK3568_Linux_fs/kernel/kernel/trace/
H A 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()
/OK3568_Linux_fs/kernel/net/rfkill/
H A Drfkill-wlan.c748 if (kstrtol(_buf, 10, &poweren) < 0) in wifi_power_store()
772 if (kstrtol(_buf, 10, &vbat) < 0) in wifi_bt_vbat_store()
791 if (kstrtol(_buf, 10, &val) < 0) in wifi_set_carddetect_store()

1234567