Home
last modified time | relevance | path

Searched refs:kstrtoint (Results 1 – 25 of 204) sorted by relevance

123456789

/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspidev-rkmst.c314 if (kstrtoint(argv[0], 0, &val)) in spidev_rkmst_misc_write()
329 if (kstrtoint(argv[0], 0, &addr)) in spidev_rkmst_misc_write()
331 if (kstrtoint(argv[1], 0, &len)) in spidev_rkmst_misc_write()
359 if (kstrtoint(argv[0], 0, &addr)) in spidev_rkmst_misc_write()
361 if (kstrtoint(argv[1], 0, &len)) in spidev_rkmst_misc_write()
385 if (kstrtoint(argv[0], 0, &addr)) in spidev_rkmst_misc_write()
387 if (kstrtoint(argv[1], 0, &len)) in spidev_rkmst_misc_write()
425 if (kstrtoint(argv[0], 0, &len)) in spidev_rkmst_misc_write()
428 if (kstrtoint(argv[1], 0, &loops)) in spidev_rkmst_misc_write()
H A Dspidev-rkslv.c141 if (kstrtoint(argv[0], 0, &val)) in spidev_rkslv_misc_write()
154 if (kstrtoint(argv[0], 0, &addr)) in spidev_rkslv_misc_write()
156 if (kstrtoint(argv[1], 0, &len)) in spidev_rkslv_misc_write()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_sysfs.c88 ret = kstrtoint(buf, 0, &val); in bug_on_assert_store()
120 ret = kstrtoint(buf, 0, &val); in log_recovery_delay_store()
150 ret = kstrtoint(buf, 0, &val); in mount_delay_store()
209 ret = kstrtoint(buf, 0, &val); in pwork_threads_store()
281 ret = kstrtoint(buf, 0, &val); in stats_clear_store()
440 ret = kstrtoint(buf, 0, &val); in max_retries_store()
481 ret = kstrtoint(buf, 0, &val); in retry_timeout_seconds_store()
519 ret = kstrtoint(buf, 0, &val); in fail_at_unmount_store()
H A Dxfs_message.c45 if (!kstrtoint(kern_level, 0, &level) && \
/OK3568_Linux_fs/kernel/samples/kobject/
H A Dkobject-example.c39 ret = kstrtoint(buf, 10, &foo); in foo_store()
71 ret = kstrtoint(buf, 10, &var); in b_store()
H A Dkset-example.c123 ret = kstrtoint(buf, 10, &foo_obj->foo); in foo_store()
155 ret = kstrtoint(buf, 10, &var); in b_store()
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H A Daudio_manager_sysfs.c45 int num = kstrtoint(buf, 10, &id); in manager_sysfs_remove_store()
66 int num = kstrtoint(buf, 10, &id); in manager_sysfs_dump_store()
/OK3568_Linux_fs/kernel/lib/
H A Dkstrtox.c251 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() function
264 EXPORT_SYMBOL(kstrtoint);
409 kstrto_from_user(kstrtoint_from_user, kstrtoint, int);
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-lenovo.c365 if (kstrtoint(buf, 10, &value)) in attr_fn_lock_store()
407 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_cptkbd()
566 if (kstrtoint(buf, 10, &value)) in attr_press_to_select_store_tpkbd()
596 if (kstrtoint(buf, 10, &value)) in attr_dragging_store_tpkbd()
626 if (kstrtoint(buf, 10, &value)) in attr_release_to_select_store_tpkbd()
656 if (kstrtoint(buf, 10, &value)) in attr_select_right_store_tpkbd()
687 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_sensitivity_store_tpkbd()
716 if (kstrtoint(buf, 10, &value) || value < 1 || value > 255) in attr_press_speed_store_tpkbd()
/OK3568_Linux_fs/kernel/drivers/misc/
H A Dusb_cam_gpio.c58 ret = kstrtoint(buf, 0, &val); in hd_camera_on_store()
88 ret = kstrtoint(buf, 0, &val); in ir_camera_on_store()
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dsys.c93 error = kstrtoint(buf, 0, &n); in freeze_store()
132 error = kstrtoint(buf, 0, &val); in withdraw_store()
153 error = kstrtoint(buf, 0, &val); in statfs_sync_store()
172 error = kstrtoint(buf, 0, &val); in quota_sync_store()
343 ret = kstrtoint(buf, 0, &val); in block_store()
370 ret = kstrtoint(buf, 0, &val); in wdack_store()
/OK3568_Linux_fs/kernel/drivers/platform/x86/
H A Dtoshiba_haps.c74 ret = kstrtoint(buf, 0, &level); in protection_level_store()
103 ret = kstrtoint(buf, 0, &reset); in reset_protection_store()
H A Dtoshiba_acpi.c1736 ret = kstrtoint(buf, 0, &state); in fan_store()
1774 ret = kstrtoint(buf, 0, &mode); in kbd_backlight_mode_store()
1887 ret = kstrtoint(buf, 0, &time); in kbd_backlight_timeout_store()
1945 ret = kstrtoint(buf, 0, &state); in touchpad_store()
1996 ret = kstrtoint(buf, 0, &state); in usb_sleep_charge_store()
2061 ret = kstrtoint(buf, 0, &value); in sleep_functions_on_battery_store()
2112 ret = kstrtoint(buf, 0, &state); in usb_rapid_charge_store()
2148 ret = kstrtoint(buf, 0, &state); in usb_sleep_music_store()
2184 ret = kstrtoint(buf, 0, &mode); in kbd_function_keys_store()
2227 ret = kstrtoint(buf, 0, &state); in panel_power_on_store()
[all …]
/OK3568_Linux_fs/kernel/fs/orangefs/
H A Dorangefs-sysfs.c290 rc = kstrtoint(buf, 0, &op_timeout_secs); in sysfs_int_store()
293 rc = kstrtoint(buf, 0, &slot_timeout_secs); in sysfs_int_store()
296 rc = kstrtoint(buf, 0, &orangefs_cache_timeout_msecs); in sysfs_int_store()
299 rc = kstrtoint(buf, 0, &orangefs_dcache_timeout_msecs); in sysfs_int_store()
302 rc = kstrtoint(buf, 0, &orangefs_getattr_timeout_msecs); in sysfs_int_store()
565 rc = kstrtoint(buf, 0, &val); in sysfs_service_op_store()
/OK3568_Linux_fs/kernel/kernel/
H A Dksysfs.c160 if (kstrtoint(buf, 0, &rcu_expedited)) in rcu_expedited_store()
177 if (kstrtoint(buf, 0, &rcu_normal)) in rcu_normal_store()
/OK3568_Linux_fs/kernel/drivers/misc/genwqe/
H A Dcard_sysfs.c191 if (kstrtoint(buf, 0, &partition) < 0) in next_bitstream_store()
217 if (kstrtoint(buf, 0, &reload) < 0) in reload_bitstream_store()
/OK3568_Linux_fs/kernel/samples/configfs/
H A Dconfigfs_sample.c67 ret = kstrtoint(page, 10, &childless->storeme); in childless_storeme_store()
144 ret = kstrtoint(page, 10, &simple_child->storeme); in simple_child_storeme_store()
/OK3568_Linux_fs/kernel/drivers/video/fbdev/via/
H A Dviafbdev.c1951 if (kstrtoint(this_opt + 15, 0, &viafb_refresh1) < 0) in viafb_setup()
1954 if (kstrtoint(this_opt + 14, 0, &viafb_refresh) < 0) in viafb_setup()
1957 if (kstrtoint(this_opt + 21, 0, in viafb_setup()
1961 if (kstrtoint(this_opt + 19, 0, in viafb_setup()
1965 if (kstrtoint(this_opt + 12, 0, &viafb_accel) < 0) in viafb_setup()
1968 if (kstrtoint(this_opt + 14, 0, &viafb_SAMM_ON) < 0) in viafb_setup()
1974 if (kstrtoint(this_opt + 30, 0, in viafb_setup()
1978 if (kstrtoint(this_opt + 18, 0, &viafb_second_size) < 0) in viafb_setup()
1982 if (kstrtoint(this_opt + 24, 0, in viafb_setup()
1987 if (kstrtoint(this_opt + 26, 0, in viafb_setup()
[all …]
/OK3568_Linux_fs/kernel/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_debugfs.c59 if (kstrtoint(tmp, 10, &gpu_id)) { in kfd_debugfs_hang_hws_write()
/OK3568_Linux_fs/kernel/drivers/acpi/
H A Dacpi_tad.c150 if (kstrtoint(s, 10, val)) in acpi_tad_rt_next_field()
209 if (kstrtoint(s, 10, &val)) in time_store()
388 ret = kstrtoint(buf, 0, &value); in acpi_tad_status_write()
/OK3568_Linux_fs/kernel/fs/dlm/
H A Dconfig.c602 int rc = kstrtoint(buf, 0, &config_item_to_comm(item)->nodeid); in comm_nodeid_store()
618 int rc = kstrtoint(buf, 0, &cm->local); in comm_local_store()
745 int rc = kstrtoint(buf, 0, &nd->nodeid); in node_nodeid_store()
762 int rc = kstrtoint(buf, 0, &config_item_to_node(item)->weight); in node_weight_store()
/OK3568_Linux_fs/kernel/drivers/thermal/
H A Dthermal_sysfs.c125 if (kstrtoint(buf, 10, &temperature)) in trip_point_temp_store()
185 if (kstrtoint(buf, 10, &temperature)) in trip_point_hyst_store()
304 if (kstrtoint(buf, 10, &temperature)) in emul_temp_store()
1007 ret = kstrtoint(buf, 0, &weight); in weight_store()
/OK3568_Linux_fs/kernel/drivers/usb/misc/
H A Dtrancevibrator.c49 retval = kstrtoint(buf, 10, &temp); in speed_store()
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/
H A Drockchip_performance.c80 ret = kstrtoint(buf, 10, &level); in param_set_level()
/OK3568_Linux_fs/kernel/drivers/iio/chemical/
H A Dsps30.c339 if (kstrtoint(buf, 0, &val) || val != 1) in start_cleaning_store()
378 if (kstrtoint(buf, 0, &val)) in cleaning_period_store()

123456789