Home
last modified time | relevance | path

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

123456789

/linux-6.15/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-6.15/drivers/staging/media/atomisp/pci/
H A Datomisp_drvfs.c80 ret = kstrtouint(buf, 10, &dbglvl); in dbglvl_store()
107 ret = kstrtouint(buf, 10, &opt); in dbgfun_store()
128 ret = kstrtouint(buf, 10, &opt); in dbgopt_store()
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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-6.15/drivers/s390/block/
H A Ddasd_devmap.c150 if (!kstrtouint(str, 16, &val)) { in dasd_busid()
160 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
165 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
170 if (kstrtouint(tok, 16, &val) || val > 0xffff) in dasd_busid()
985 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ff_store()
1031 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ro_store()
1089 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_erplog_store()
1129 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_use_diag_store()
1451 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_eer_store()
1572 if ((kstrtouint(buf, 10, &val) != 0) || in dasd_aq_timeouts_store()
[all …]
/linux-6.15/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-6.15/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-6.15/fs/ext4/
H A Dsysfs.c465 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
473 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
482 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
490 ret = kstrtouint(skip_spaces(buf), 0, &t); in ext4_generic_attr_store()
/linux-6.15/arch/s390/kernel/
H A Dhiperdispatch.c319 rc = kstrtouint(buf, 0, &val); in hd_steal_threshold_store()
345 rc = kstrtouint(buf, 0, &val); in hd_delay_factor_store()
/linux-6.15/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-6.15/drivers/platform/x86/intel/wmi/
H A Dsbl-fw-update.c86 ret = kstrtouint(buf, 0, &val); in firmware_update_request_store()
/linux-6.15/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-6.15/mm/
H A Dbacking-dev.c296 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
315 ret = kstrtouint(buf, 10, &ratio); in min_ratio_fine_store()
334 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
353 ret = kstrtouint(buf, 10, &ratio); in max_ratio_fine_store()
438 ret = kstrtouint(buf, 10, &strict_limit); in strict_limit_store()
H A Dmemtest.c98 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/linux-6.15/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-6.15/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-6.15/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-6.15/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-6.15/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()

123456789