Home
last modified time | relevance | path

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

123456

/Linux-v5.4/drivers/mtd/parsers/
Dparser_imagetag.c81 if (kstrtouint(buf->flash_image_start, 10, &rootfsaddr) || in bcm963xx_parse_imagetag_partitions()
90 if (kstrtouint(buf->kernel_address, 10, &kerneladdr) || in bcm963xx_parse_imagetag_partitions()
99 if (kstrtouint(buf->kernel_length, 10, &kernellen)) { in bcm963xx_parse_imagetag_partitions()
107 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm963xx_parse_imagetag_partitions()
/Linux-v5.4/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()
Ddm-exception-store.c147 if (kstrtouint(chunk_size_arg, 10, &chunk_size)) { in set_chunk_size()
/Linux-v5.4/fs/
Dfs_parser.c174 ret = kstrtouint(param->string, 0, &result->uint_32); in fs_parse()
177 ret = kstrtouint(param->string, 8, &result->uint_32); in fs_parse()
180 ret = kstrtouint(param->string, 16, &result->uint_32); in fs_parse()
212 ret = kstrtouint(param->string, 0, &result->uint_32); in fs_parse()
/Linux-v5.4/lib/
Dkstrtox.c217 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() function
230 EXPORT_SYMBOL(kstrtouint);
405 kstrto_from_user(kstrtouint_from_user, kstrtouint, unsigned int);
/Linux-v5.4/arch/x86/mm/
Dpkeys.c168 if (kstrtouint(buf, 0, &new_init_pkru)) in init_pkru_write_file()
205 if (kstrtouint(opt, 0, &new_init_pkru)) in setup_init_pkru()
/Linux-v5.4/drivers/net/netdevsim/
Dbus.c54 ret = kstrtouint(buf, 0, &num_vfs); in nsim_bus_dev_numvfs_store()
102 ret = kstrtouint(buf, 0, &port_index); in new_port_store()
119 ret = kstrtouint(buf, 0, &port_index); in del_port_store()
/Linux-v5.4/drivers/pwm/
Dsysfs.c58 ret = kstrtouint(buf, 0, &val); in period_store()
93 ret = kstrtouint(buf, 0, &val); in duty_cycle_store()
319 ret = kstrtouint(buf, 0, &hwpwm); in export_store()
346 ret = kstrtouint(buf, 0, &hwpwm); in unexport_store()
/Linux-v5.4/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()
735 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ff_store()
781 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_ro_store()
839 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_erplog_store()
879 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_use_diag_store()
1211 if (kstrtouint(buf, 0, &val) || val > 1) in dasd_eer_store()
1370 if ((kstrtouint(buf, 16, &val) != 0) || val > 0xff) in dasd_path_reset_store()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/drivers/input/touchscreen/
Dad7877.c476 error = kstrtouint(buf, 10, &val); in ad7877_disable_store()
506 error = kstrtouint(buf, 10, &val); in ad7877_dac_store()
536 error = kstrtouint(buf, 10, &val); in ad7877_gpio3_store()
567 error = kstrtouint(buf, 10, &val); in ad7877_gpio4_store()
/Linux-v5.4/drivers/lightnvm/
Dpblk-sysfs.c461 if (kstrtouint(page, 0, &force)) in pblk_sysfs_gc_force()
479 if (kstrtouint(page, 0, &sec_per_write)) in pblk_sysfs_set_sec_per_write()
509 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_write_amp_trip()
535 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_padding_dist()
/Linux-v5.4/mm/
Dmemtest.c91 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/Linux-v5.4/drivers/leds/
Dleds-lm3642.c179 ret = kstrtouint(buf, 10, &state); in lm3642_torch_pin_store()
230 ret = kstrtouint(buf, 10, &state); in lm3642_strobe_pin_store()
/Linux-v5.4/fs/jfs/
Dsuper.c337 int rc = kstrtouint(uid, 0, &val); in parse_options()
351 int rc = kstrtouint(gid, 0, &val); in parse_options()
364 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options()
401 rc = kstrtouint(minblks_trim, 0, in parse_options()
/Linux-v5.4/drivers/clocksource/
Dacpi_pm.c231 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()
/Linux-v5.4/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c26 if (!sram_size || (kstrtouint(sram_size, 0, &size) < 0)) in get_cache_sram_params()
/Linux-v5.4/drivers/usb/host/
Dehci-sysfs.c92 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in uframe_periodic_max_store()
/Linux-v5.4/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-v5.4/drivers/input/keyboard/
Datkbd.c1353 err = kstrtouint(buf, 10, &value); in atkbd_set_extra()
1437 err = kstrtouint(buf, 10, &value); in atkbd_set_scroll()
1489 err = kstrtouint(buf, 10, &value); in atkbd_set_set()
1543 err = kstrtouint(buf, 10, &value); in atkbd_set_softrepeat()
1594 err = kstrtouint(buf, 10, &value); in atkbd_set_softraw()
/Linux-v5.4/kernel/
Dhung_task.c68 int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); in hung_task_panic_setup()
/Linux-v5.4/drivers/input/
Dinput-poller.c146 err = kstrtouint(buf, 0, &interval); in input_dev_set_poll_interval()
/Linux-v5.4/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager-sysfs.c133 r = kstrtouint(buf, 0, &color); in manager_default_color_store()
213 r = kstrtouint(buf, 0, &key_value); in manager_trans_key_value_store()

123456