Home
last modified time | relevance | path

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

123456

/linux/drivers/hwmon/
H A 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(bu in temp_crit_store()
[all...]
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(bu in store_temp_st()
[all...]
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 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(bu in temp_auto_temp_crit_store()
[all...]
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 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()
869 if (kstrtol(buf, 10, &temp)) in pwm_max_store()
904 if (kstrtol(buf, 10, &temp)) in pwm_min_store()
952 if (kstrtol(buf, 10, &temp)) in pwm_tmin_store()
1004 if (kstrtol(buf, 10, &temp)) in pwm_auto_temp_store()
H A Dpc87360.c469 err = kstrtol(buf, 10, &val); in in_min_store()
513 err = kstrtol(buf, 10, &val); in in_max_store()
719 err = kstrtol(buf, 10, &val); in therm_min_store()
755 err = kstrtol(buf, 10, &val); in therm_max_store()
791 err = kstrtol(buf, 10, &val); in therm_crit_store()
926 err = kstrtol(buf, 10, &val); in temp_min_store()
961 err = kstrtol(buf, 10, &val); in temp_max_store()
997 err = kstrtol(buf, 10, &val); in temp_crit_store()
1181 err = kstrtol(buf, 10, &fan_min); in fan_min_store()
1255 err = kstrtol(bu in pwm_store()
[all...]
H A Dstts751.c439 if (kstrtol(buf, 10, &temp) < 0) in therm_store()
482 if (kstrtol(buf, 10, &temp) < 0) in hyst_store()
529 if (kstrtol(buf, 10, &temp) < 0) in max_store()
563 if (kstrtol(buf, 10, &temp) < 0) in min_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 Dadt7475.c366 if (kstrtol(buf, 10, &val)) in voltage_store()
467 if (kstrtol(buf, 10, &val)) in temp_store()
672 if (kstrtol(buf, 10, &val)) in point2_store()
793 if (kstrtol(buf, 10, &val)) in pwm_store()
854 if (kstrtol(buf, 10, &val)) in stall_disable_store()
938 if (kstrtol(buf, 10, &val)) in pwmchan_store()
962 if (kstrtol(buf, 10, &val)) in pwmctrl_store()
1006 if (kstrtol(buf, 10, &val)) in pwmfreq_store()
1045 if (kstrtol(buf, 10, &val)) in pwm_use_point2_pwm_at_crit_store()
1075 if (kstrtol(bu in vrm_store()
[all...]
H A 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(bu in store_pwm_auto_point_pwm()
[all...]
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 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()
H A Dthmc50.c189 err = kstrtol(buf, 10, &val); in temp_min_store()
219 err = kstrtol(buf, 10, &val); in temp_max_store()
H A Dgl520sm.c254 err = kstrtol(buf, 10, &v); in in_min_store()
288 err = kstrtol(buf, 10, &v); in in_max_store()
538 err = kstrtol(buf, 10, &v); in temp_max_store()
559 err = kstrtol(buf, 10, &v); in temp_max_hyst_store()
/linux/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()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A Doption.c85 int ret = kstrtol(s, 0, &value); in nvkm_longopt()
/linux/drivers/power/reset/
H A Dvexpress-poweroff.c63 int err = kstrtol(buf, 0, &value); in vexpress_reset_active_store()
/linux/kernel/trace/
H A Dtrace_kdb.c107 err = kstrtol(argv[2], 0, &cpu_file); in kdb_ftdump()
/linux/drivers/gpio/
H A Dgpiolib-sysfs.c189 status = kstrtol(buf, 0, &value); in value_store()
390 status = kstrtol(buf, 0, &value); in active_low_store()
612 status = kstrtol(buf, 0, &gpio); in export_store()
638 status = kstrtol(buf, 0, &gpio); in unexport_store()
/linux/fs/ocfs2/
H A Dstack_user.c377 if (kstrtol(msg->nodestr, 16, &nodenum)) in ocfs2_control_do_setnode_msg()
409 if (kstrtol(msg->major, 16, &major)) in ocfs2_control_do_setversion_msg()
411 if (kstrtol(msg->minor, 16, &minor)) in ocfs2_control_do_setversion_msg()
453 if (kstrtol(msg->nodestr, 16, &nodenum)) in ocfs2_control_do_down_msg()
/linux/Documentation/driver-api/
H A Dbasics.rst119 :no-identifiers: kstrtol kstrtoul
/linux/include/linux/
H A Dkstrtox.h44 * kstrtol - convert a string to a long
58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol() function
/linux/drivers/scsi/qedf/
H A Dqedf_attr.c144 ret = kstrtol(buf, 10, &reading); in qedf_sysfs_write_grcdump()
/linux/drivers/iio/chemical/
H A Datlas-ezo-sensor.c149 ret = kstrtol(data->buffer + 1, 10, &tmp); in atlas_ezo_read_raw()

123456