Home
last modified time | relevance | path

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

12345678

/linux-6.1.9/drivers/mtd/parsers/
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.1.9/drivers/staging/media/atomisp/pci/
Datomisp_drvfs.c100 if (kstrtouint(buf, 10, &iunit_debug.dbglvl) in iunit_dbglvl_store()
122 ret = kstrtouint(buf, 10, &opt); in iunit_dbgfun_store()
146 ret = kstrtouint(buf, 10, &opt); in iunit_dbgopt_store()
/linux-6.1.9/drivers/md/
Ddm-unstripe.c56 if (kstrtouint(argv[0], 10, &uc->stripes) || !uc->stripes) { in unstripe_ctr()
61 if (kstrtouint(argv[1], 10, &uc->chunk_size) || !uc->chunk_size) { in unstripe_ctr()
66 if (kstrtouint(argv[2], 10, &uc->unstripe)) { in unstripe_ctr()
/linux-6.1.9/arch/x86/mm/
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.1.9/lib/
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.1.9/drivers/net/netdevsim/
Dbus.c34 ret = kstrtouint(buf, 0, &num_vfs); in nsim_bus_dev_numvfs_store()
71 ret = kstrtouint(buf, 0, &port_index); in new_port_store()
92 ret = kstrtouint(buf, 0, &port_index); in del_port_store()
/linux-6.1.9/include/linux/
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.1.9/drivers/staging/greybus/
Dcamera.c924 ret = kstrtouint(token, 10, &nstreams); in gb_camera_debugfs_configure_streams()
935 ret = kstrtouint(token, 10, &flags); in gb_camera_debugfs_configure_streams()
953 ret = kstrtouint(token, 10, &stream->width); in gb_camera_debugfs_configure_streams()
962 ret = kstrtouint(token, 10, &stream->height); in gb_camera_debugfs_configure_streams()
971 ret = kstrtouint(token, 16, &stream->format); in gb_camera_debugfs_configure_streams()
1014 ret = kstrtouint(token, 10, &request_id); in gb_camera_debugfs_capture()
1022 ret = kstrtouint(token, 16, &streams_mask); in gb_camera_debugfs_capture()
1030 ret = kstrtouint(token, 10, &num_frames); in gb_camera_debugfs_capture()
/linux-6.1.9/drivers/input/mouse/
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.1.9/drivers/s390/net/
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()
555 rc = kstrtouint(buf, 10, &input); in qeth_dev_blkt_store()
/linux-6.1.9/drivers/s390/block/
Ddasd_devmap.c152 if (!kstrtouint(str, 16, &val)) { in dasd_busid()
162 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
167 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
172 if (kstrtouint(tok, 16, &val) || val > 0xffff) in dasd_busid()
987 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ff_store()
1033 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ro_store()
1091 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_erplog_store()
1131 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_use_diag_store()
1463 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_eer_store()
1619 if ((kstrtouint(buf, 16, &val) != 0) || val > 0xff) in dasd_path_reset_store()
[all …]
/linux-6.1.9/drivers/misc/pvpanic/
Dpvpanic-pci.c47 err = kstrtouint(buf, 16, &tmp); in events_store()
Dpvpanic-mmio.c49 err = kstrtouint(buf, 16, &tmp); in events_store()
/linux-6.1.9/drivers/platform/x86/intel/ifs/
Dsysfs.c71 rc = kstrtouint(buf, 0, &cpu); in run_test_store()
/linux-6.1.9/drivers/platform/x86/intel/wmi/
Dsbl-fw-update.c91 ret = kstrtouint(buf, 0, &val); in firmware_update_request_store()
/linux-6.1.9/drivers/hwtracing/stm/
Dp_sys-t.c186 ret = kstrtouint(page, 10, &ms); in sys_t_policy_ts_interval_store()
217 ret = kstrtouint(page, 10, &ms); in sys_t_policy_clocksync_interval_store()
/linux-6.1.9/drivers/input/touchscreen/
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.1.9/mm/
Dmemtest.c91 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/linux-6.1.9/drivers/input/misc/
Diqs269a.c1391 error = kstrtouint(buf, 10, &val); in hall_enable_store()
1421 error = kstrtouint(buf, 10, &val); in ch_number_store()
1450 error = kstrtouint(buf, 10, &val); in rx_enable_store()
1489 error = kstrtouint(buf, 10, &val); in ati_mode_store()
1522 error = kstrtouint(buf, 10, &val); in ati_base_store()
1555 error = kstrtouint(buf, 10, &val); in ati_target_store()
1583 error = kstrtouint(buf, 10, &val); in ati_trigger_store()
/linux-6.1.9/fs/
Dfs_parser.c221 if (kstrtouint(param->string, base, &result->uint_32) < 0) in fs_param_is_u32()
294 kstrtouint(param->string, 0, &result->uint_32) < 0) in fs_param_is_fd()
/linux-6.1.9/drivers/leds/
Dleds-lm3642.c178 ret = kstrtouint(buf, 10, &state); in torch_pin_store()
225 ret = kstrtouint(buf, 10, &state); in strobe_pin_store()
/linux-6.1.9/fs/jfs/
Dsuper.c336 int rc = kstrtouint(uid, 0, &val); in parse_options()
350 int rc = kstrtouint(gid, 0, &val); in parse_options()
363 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options()
396 rc = kstrtouint(minblks_trim, 0, in parse_options()
/linux-6.1.9/drivers/clocksource/
Dacpi_pm.c231 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()
/linux-6.1.9/drivers/firmware/xilinx/
Dzynqmp-debug.c80 if (i == ARRAY_SIZE(pm_api_list) && kstrtouint(pm_api_req, 10, pm_id)) in get_pm_api_id()
/linux-6.1.9/drivers/acpi/dptf/
Ddptf_pch_fivr.c81 if (kstrtouint(buf, 0, &val) < 0)\

12345678