Home
last modified time | relevance | path

Searched refs:kstrtouint (Results 1 – 25 of 170) sorted by relevance

1234567

/linux/drivers/mtd/parsers/
H A Dparser_imagetag.c81 if (kstrtouint(buf->flash_image_start, 10, &rootfsaddr) || in bcm963xx_parse_imagetag_partitions()
91 if (kstrtouint(buf->kernel_address, 10, &kerneladdr) || in bcm963xx_parse_imagetag_partitions()
101 if (kstrtouint(buf->kernel_length, 10, &kernellen)) { in bcm963xx_parse_imagetag_partitions()
110 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions()
/linux/drivers/md/
H A Ddm-unstripe.c57 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { in unstripe_ctr()
62 if (kstrtouint(argv[1], 10, &uc->chunk_size) || !uc->chunk_size) { in unstripe_ctr()
67 if (kstrtouint(argv[2], 10, &uc->unstripe)) { in unstripe_ctr()
/linux/drivers/platform/x86/intel/ifs/
H A Dsysfs.c70 rc = kstrtouint(buf, 0, &cpu); in run_test_store()
94 rc = kstrtouint(buf, 0, &cur_batch); in current_batch_store()
/linux/arch/x86/mm/
H A Dpkeys.c153 if (kstrtouint(buf, 0, &new_init_pkru)) in init_pkru_write_file()
190 if (kstrtouint(opt, 0, &new_init_pkru)) in setup_init_pkru()
/linux/lib/
H A Dkstrtox.c228 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() function
241 EXPORT_SYMBOL(kstrtouint);
426 kstrto_from_user(kstrtouint_from_user, kstrtouint, unsigned int);
/linux/fs/dlm/
H A Dconfig.c165 rc = kstrtouint(buf, 0, &x); in cluster_set()
514 rv = kstrtouint(name, 0, &nodeid); in make_comm()
560 rv = kstrtouint(name, 0, &nodeid); in make_node()
634 rv = kstrtouint(config_item_name(item), 0, &nodeid); in comm_nodeid_show()
751 rc = kstrtouint(buf, 0, &mark); in comm_mark_store()
787 rv = kstrtouint(config_item_name(item), 0, &nodeid); in node_nodeid_show()
/linux/include/linux/
H A Dkstrtox.h71 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
86 return kstrtouint(s, base, res); in kstrtou32()
/linux/drivers/staging/greybus/
H A Dcamera.c919 ret = kstrtouint(token, 10, &nstreams); in gb_camera_debugfs_configure_streams()
930 ret = kstrtouint(token, 10, &flags); in gb_camera_debugfs_configure_streams()
948 ret = kstrtouint(token, 10, &stream->width); in gb_camera_debugfs_configure_streams()
957 ret = kstrtouint(token, 10, &stream->height); in gb_camera_debugfs_configure_streams()
966 ret = kstrtouint(token, 16, &stream->format); in gb_camera_debugfs_configure_streams()
1009 ret = kstrtouint(token, 10, &request_id); in gb_camera_debugfs_capture()
1017 ret = kstrtouint(token, 16, &streams_mask); in gb_camera_debugfs_capture()
1025 ret = kstrtouint(token, 10, &num_frames); in gb_camera_debugfs_capture()
/linux/drivers/input/mouse/
H A Dsentelic.c430 retval = kstrtouint(rest + 1, 16, &val); in fsp_attr_set_setreg()
469 err = kstrtouint(buf, 16, &reg); in fsp_attr_set_getreg()
505 err = kstrtouint(buf, 16, &val); in fsp_attr_set_pagereg()
535 err = kstrtouint(buf, 10, &val); in fsp_attr_set_vscroll()
564 err = kstrtouint(buf, 10, &val); in fsp_attr_set_hscroll()
/linux/drivers/s390/net/
H A Dqeth_core_sys.c109 rc = kstrtouint(buf, 16, &portno); in qeth_dev_portno_store()
255 rc = kstrtouint(buf, 10, &cnt); in qeth_dev_bufcnt_store()
350 rc = kstrtouint(buf, 16, &input); in qeth_dev_layer2_store()
557 rc = kstrtouint(buf, 10, &input); in qeth_dev_blkt_store()
/linux/fs/ext4/
H A Dsysfs.c461 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
469 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
478 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
486 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
/linux/drivers/net/netdevsim/
H A Dbus.c38 ret = kstrtouint(buf, 0, &num_vfs); in nsim_bus_dev_numvfs_store()
75 ret = kstrtouint(buf, 0, &port_index); in new_port_store()
96 ret = kstrtouint(buf, 0, &port_index); in del_port_store()
/linux/arch/s390/kernel/
H A Dhiperdispatch.c318 rc = kstrtouint(buf, 0, &val); in hd_steal_threshold_store()
344 rc = kstrtouint(buf, 0, &val); in hd_delay_factor_store()
/linux/drivers/net/wireless/marvell/libertas/
H A Dmesh.c191 ret = kstrtouint(buf, 16, &datum); in anycast_mask_store()
395 ret = kstrtouint(buf, 10, &datum); in bootflag_store()
448 ret = kstrtouint(buf, 10, &datum); in boottime_store()
510 ret = kstrtouint(buf, 10, &datum); in channel_store()
641 ret = kstrtouint(buf, 10, &datum); in protocol_id_store()
/linux/mm/
H A Dbacking-dev.c296 ret = kstrtouint(buf, 10, &ratio); in stable_pages_required_show()
315 ret = kstrtouint(buf, 10, &ratio); in strict_limit_store()
334 ret = kstrtouint(buf, 10, &ratio);
353 ret = kstrtouint(buf, 10, &ratio); in bdi_class_init()
438 ret = kstrtouint(buf, 10, &strict_limit);
H A Dmemtest.c98 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/linux/drivers/input/touchscreen/
H A Dad7877.c478 error = kstrtouint(buf, 10, &val); in ad7877_disable_store()
508 error = kstrtouint(buf, 10, &val); in ad7877_dac_store()
538 error = kstrtouint(buf, 10, &val); in ad7877_gpio3_store()
569 error = kstrtouint(buf, 10, &val); in ad7877_gpio4_store()
/linux/drivers/input/misc/
H A Diqs269a.c1566 error = kstrtouint(buf, 10, &val); in hall_enable_store()
1594 error = kstrtouint(buf, 10, &val); in ch_number_store()
1624 error = kstrtouint(buf, 10, &val); in rx_enable_store()
1661 error = kstrtouint(buf, 10, &val); in ati_mode_store()
1694 error = kstrtouint(buf, 10, &val); in ati_base_store()
1727 error = kstrtouint(buf, 10, &val); in ati_target_store()
1757 error = kstrtouint(buf, 10, &val); in ati_trigger_store()
/linux/drivers/platform/x86/intel/wmi/
H A Dsbl-fw-update.c86 ret = kstrtouint(buf, 0, &val); in firmware_update_request_store()
/linux/drivers/leds/
H A Dleds-lm3642.c178 ret = kstrtouint(buf, 10, &state); in torch_pin_store()
225 ret = kstrtouint(buf, 10, &state); in strobe_pin_store()
/linux/drivers/mtd/ubi/
H A Ddebug.c418 if (kstrtouint(buf, 0, &d->emulate_failures) != 0) in dfs_file_write()
422 if (kstrtouint(buf, 0, &d->power_cut_min) != 0) in dfs_file_write()
426 if (kstrtouint(buf, 0, &d->power_cut_max) != 0) in dfs_file_write()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_sysfs_rl.c232 err = kstrtouint(buf, 10, &val); in cir_store()
263 err = kstrtouint(buf, 10, &val); in pir_store()
/linux/fs/
H A Dfs_parser.c223 if (kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32()
296 kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd()
/linux/drivers/virt/coco/
H A Dtsm.c91 rc = kstrtouint(buf, 0, &val); in tsm_report_privlevel_store()
176 rc = kstrtouint(buf, 0, &val); in tsm_report_service_manifest_version_store()
/linux/drivers/usb/host/
H A Dehci-sysfs.c92 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in uframe_periodic_max_store()

1234567