Home
last modified time | relevance | path

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

123456

/linux-6.6.21/drivers/regulator/
Dvirtual.c121 if (kstrtol(buf, 10, &val) != 0) in set_min_uV()
147 if (kstrtol(buf, 10, &val) != 0) in set_max_uV()
173 if (kstrtol(buf, 10, &val) != 0) in set_min_uA()
199 if (kstrtol(buf, 10, &val) != 0) in set_max_uA()
/linux-6.6.21/drivers/hwmon/
Dadm1031.c340 ret = kstrtol(buf, 10, &val); in fan_auto_channel_store()
411 ret = kstrtol(buf, 10, &val); in auto_temp_min_store()
441 ret = kstrtol(buf, 10, &val); in auto_temp_max_store()
482 ret = kstrtol(buf, 10, &val); in pwm_store()
593 ret = kstrtol(buf, 10, &val); in fan_min_store()
621 ret = kstrtol(buf, 10, &val); in fan_div_store()
715 ret = kstrtol(buf, 10, &val); in temp_offset_store()
737 ret = kstrtol(buf, 10, &val); in temp_min_store()
759 ret = kstrtol(buf, 10, &val); in temp_max_store()
781 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()
Dadt7470.c491 if (kstrtol(buf, 10, &temp)) in auto_update_interval_store()
522 if (kstrtol(buf, 10, &temp)) in num_temp_sensors_store()
710 if (kstrtol(buf, 10, &temp)) in force_pwm_max_store()
877 if (kstrtol(buf, 10, &temp)) in pwm_max_store()
912 if (kstrtol(buf, 10, &temp)) in pwm_min_store()
960 if (kstrtol(buf, 10, &temp)) in pwm_tmin_store()
1012 if (kstrtol(buf, 10, &temp)) in pwm_auto_temp_store()
Dpc87360.c465 err = kstrtol(buf, 10, &val); in in_min_store()
509 err = kstrtol(buf, 10, &val); in in_max_store()
715 err = kstrtol(buf, 10, &val); in therm_min_store()
751 err = kstrtol(buf, 10, &val); in therm_max_store()
787 err = kstrtol(buf, 10, &val); in therm_crit_store()
922 err = kstrtol(buf, 10, &val); in temp_min_store()
957 err = kstrtol(buf, 10, &val); in temp_max_store()
993 err = kstrtol(buf, 10, &val); in temp_crit_store()
1177 err = kstrtol(buf, 10, &fan_min); in fan_min_store()
1251 err = kstrtol(buf, 10, &val); in pwm_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()
Dadt7475.c359 if (kstrtol(buf, 10, &val)) in voltage_store()
455 if (kstrtol(buf, 10, &val)) in temp_store()
660 if (kstrtol(buf, 10, &val)) in point2_store()
781 if (kstrtol(buf, 10, &val)) in pwm_store()
842 if (kstrtol(buf, 10, &val)) in stall_disable_store()
926 if (kstrtol(buf, 10, &val)) in pwmchan_store()
950 if (kstrtol(buf, 10, &val)) in pwmctrl_store()
994 if (kstrtol(buf, 10, &val)) in pwmfreq_store()
1033 if (kstrtol(buf, 10, &val)) in pwm_use_point2_pwm_at_crit_store()
1063 if (kstrtol(buf, 10, &val)) in vrm_store()
Dlm77.c165 err = kstrtol(buf, 10, &val); in temp_store()
190 err = kstrtol(buf, 10, &val); in temp_hyst_store()
Df71882fg.c564 err = kstrtol(buf, 10, &val); in store_temp_max()
606 err = kstrtol(buf, 10, &val); in store_temp_max_hyst()
660 err = kstrtol(buf, 10, &val); in store_temp_crit()
949 err = kstrtol(buf, 10, &val); in store_in_max()
1061 err = kstrtol(buf, 10, &val); in store_fan_full_speed()
1117 err = kstrtol(buf, 10, &val); in store_pwm()
1183 err = kstrtol(buf, 10, &val); in store_pwm_enable()
1335 err = kstrtol(buf, 10, &val); in store_simple_pwm()
1427 err = kstrtol(buf, 10, &val); in store_pwm_auto_point_channel()
1487 err = kstrtol(buf, 10, &val); in store_pwm_auto_point_pwm()
[all …]
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()
Dsmsc47m192.c304 err = kstrtol(buf, 10, &val); in temp_min_store()
327 err = kstrtol(buf, 10, &val); in temp_max_store()
360 err = kstrtol(buf, 10, &val); in temp_offset_store()
/linux-6.6.21/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-6.6.21/drivers/gpio/
Dgpiolib-sysfs.c139 status = kstrtol(buf, 0, &value); in value_store()
338 status = kstrtol(buf, 0, &value); in active_low_store()
450 status = kstrtol(buf, 0, &gpio); in export_store()
503 status = kstrtol(buf, 0, &gpio); in unexport_store()
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/
Doption.c85 int ret = kstrtol(s, 0, &value); in nvkm_longopt()
/linux-6.6.21/drivers/power/reset/
Dvexpress-poweroff.c63 int err = kstrtol(buf, 0, &value); in vexpress_reset_active_store()

123456