Home
last modified time | relevance | path

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

123456

/Linux-v4.19/drivers/mtd/
Dbcm63xxpart.c157 if (kstrtouint(buf->flash_image_start, 10, &rootfsaddr) || in bcm63xx_parse_cfe_nor_partitions()
166 if (kstrtouint(buf->kernel_address, 10, &kerneladdr) || in bcm63xx_parse_cfe_nor_partitions()
175 if (kstrtouint(buf->kernel_length, 10, &kernellen)) { in bcm63xx_parse_cfe_nor_partitions()
183 if (kstrtouint(buf->total_length, 10, &totallen)) { in bcm63xx_parse_cfe_nor_partitions()
/Linux-v4.19/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()
Ddm-stripe.c112 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr()
117 if (kstrtouint(argv[1], 10, &chunk_size) || !chunk_size) { in stripe_ctr()
/Linux-v4.19/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-v4.19/arch/x86/mm/
Dpkeys.c186 if (kstrtouint(buf, 0, &new_init_pkru)) in init_pkru_write_file()
219 if (kstrtouint(opt, 0, &new_init_pkru)) in setup_init_pkru()
/Linux-v4.19/drivers/pwm/
Dsysfs.c66 ret = kstrtouint(buf, 0, &val); in period_store()
101 ret = kstrtouint(buf, 0, &val); in duty_cycle_store()
317 ret = kstrtouint(buf, 0, &hwpwm); in export_store()
344 ret = kstrtouint(buf, 0, &hwpwm); in unexport_store()
/Linux-v4.19/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-v4.19/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-v4.19/drivers/input/mouse/
Dsentelic.c443 retval = kstrtouint(rest + 1, 16, &val); in fsp_attr_set_setreg()
482 err = kstrtouint(buf, 16, &reg); in fsp_attr_set_getreg()
518 err = kstrtouint(buf, 16, &val); in fsp_attr_set_pagereg()
548 err = kstrtouint(buf, 10, &val); in fsp_attr_set_vscroll()
577 err = kstrtouint(buf, 10, &val); in fsp_attr_set_hscroll()
/Linux-v4.19/mm/
Dmemtest.c91 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
/Linux-v4.19/drivers/lightnvm/
Dpblk-sysfs.c455 if (kstrtouint(page, 0, &force)) in pblk_sysfs_gc_force()
473 if (kstrtouint(page, 0, &sec_per_write)) in pblk_sysfs_set_sec_per_write()
496 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_write_amp_trip()
522 if (kstrtouint(page, 0, &reset_value)) in pblk_sysfs_set_padding_dist()
/Linux-v4.19/drivers/input/touchscreen/
Dad7877.c490 error = kstrtouint(buf, 10, &val); in ad7877_disable_store()
520 error = kstrtouint(buf, 10, &val); in ad7877_dac_store()
550 error = kstrtouint(buf, 10, &val); in ad7877_gpio3_store()
581 error = kstrtouint(buf, 10, &val); in ad7877_gpio4_store()
Drohm_bu21023.c755 error = kstrtouint(buf, 0, &val); in swap_xy_store()
794 error = kstrtouint(buf, 0, &val); in inv_x_store()
833 error = kstrtouint(buf, 0, &val); in inv_y_store()
/Linux-v4.19/drivers/leds/
Dleds-lm3642.c183 ret = kstrtouint(buf, 10, &state); in lm3642_torch_pin_store()
234 ret = kstrtouint(buf, 10, &state); in lm3642_strobe_pin_store()
/Linux-v4.19/drivers/clocksource/
Dacpi_pm.c232 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()
/Linux-v4.19/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c39 if (!sram_size || (kstrtouint(sram_size, 0, &size) < 0)) in get_cache_sram_params()
/Linux-v4.19/drivers/usb/host/
Dehci-sysfs.c92 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in uframe_periodic_max_store()
/Linux-v4.19/fs/jfs/
Dsuper.c366 int rc = kstrtouint(uid, 0, &val); in parse_options()
380 int rc = kstrtouint(gid, 0, &val); in parse_options()
393 int rc = kstrtouint(umask, 8, &sbi->umask); in parse_options()
430 rc = kstrtouint(minblks_trim, 0, in parse_options()
/Linux-v4.19/drivers/input/keyboard/
Datkbd.c1355 err = kstrtouint(buf, 10, &value); in atkbd_set_extra()
1439 err = kstrtouint(buf, 10, &value); in atkbd_set_scroll()
1491 err = kstrtouint(buf, 10, &value); in atkbd_set_set()
1545 err = kstrtouint(buf, 10, &value); in atkbd_set_softrepeat()
1596 err = kstrtouint(buf, 10, &value); in atkbd_set_softraw()
/Linux-v4.19/kernel/
Dhung_task.c65 int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); in hung_task_panic_setup()
/Linux-v4.19/drivers/platform/chrome/
Dcros_ec_lightbar.c197 if (kstrtouint(buf, 0, &val)) in brightness_store()
449 ret = kstrtouint(buf, 0, &num); in sequence_store()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Dmanager-sysfs.c144 r = kstrtouint(buf, 0, &color); in manager_default_color_store()
224 r = kstrtouint(buf, 0, &key_value); in manager_trans_key_value_store()
/Linux-v4.19/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c35 if (kstrtouint(filename + 11, 0, &minor)) in comedi_open()
/Linux-v4.19/drivers/input/misc/
Dadxl34x.c457 error = kstrtouint(buf, 10, &val); in adxl34x_disable_store()
581 error = kstrtouint(buf, 10, &val); in adxl34x_autosleep_store()
631 error = kstrtouint(buf, 16, &val); in adxl34x_write_store()

123456