Home
last modified time | relevance | path

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

123456789

/Linux-v6.6/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-v6.6/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-v6.6/drivers/md/
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-v6.6/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-v6.6/drivers/platform/x86/intel/ifs/
Dsysfs.c70 rc = kstrtouint(buf, 0, &cpu); in run_test_store()
94 rc = kstrtouint(buf, 0, &cur_batch); in current_batch_store()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/s390/block/
Ddasd_devmap.c153 if (!kstrtouint(str, 16, &val)) { in dasd_busid()
163 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
168 if (kstrtouint(tok, 16, &val) || val > 0xff) in dasd_busid()
173 if (kstrtouint(tok, 16, &val) || val > 0xffff) in dasd_busid()
988 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ff_store()
1034 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ro_store()
1092 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_erplog_store()
1132 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_use_diag_store()
1460 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_eer_store()
1498 if (kstrtouint(buf, 0, &val) || val > DASD_EER_VALID) in dasd_aq_mask_store()
[all …]
/Linux-v6.6/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()
557 rc = kstrtouint(buf, 10, &input); in qeth_dev_blkt_store()
/Linux-v6.6/mm/
Dbacking-dev.c169 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
188 ret = kstrtouint(buf, 10, &ratio); in min_ratio_fine_store()
207 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
226 ret = kstrtouint(buf, 10, &ratio); in max_ratio_fine_store()
311 ret = kstrtouint(buf, 10, &strict_limit); in strict_limit_store()
Dmemtest.c98 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/Linux-v6.6/drivers/net/wireless/marvell/libertas/
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-v6.6/drivers/input/misc/
Diqs269a.c1346 error = kstrtouint(buf, 10, &val); in hall_enable_store()
1376 error = kstrtouint(buf, 10, &val); in ch_number_store()
1407 error = kstrtouint(buf, 10, &val); in rx_enable_store()
1446 error = kstrtouint(buf, 10, &val); in ati_mode_store()
1479 error = kstrtouint(buf, 10, &val); in ati_base_store()
1512 error = kstrtouint(buf, 10, &val); in ati_target_store()
1542 error = kstrtouint(buf, 10, &val); in ati_trigger_store()
/Linux-v6.6/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-v6.6/drivers/platform/x86/intel/wmi/
Dsbl-fw-update.c91 ret = kstrtouint(buf, 0, &val); in firmware_update_request_store()
/Linux-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/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-v6.6/drivers/clocksource/
Dacpi_pm.c233 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()

123456789