Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/pwm/
Dsysfs.c60 ret = kstrtouint(buf, 0, &val); in pwm_period_store()
86 ret = kstrtouint(buf, 0, &val); in pwm_duty_cycle_store()
246 ret = kstrtouint(buf, 0, &hwpwm); in pwm_export_store()
273 ret = kstrtouint(buf, 0, &hwpwm); in pwm_unexport_store()
/linux-4.1.27/lib/
Dkstrtox.c218 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() function
231 EXPORT_SYMBOL(kstrtouint);
342 kstrto_from_user(kstrtouint_from_user, kstrtouint, unsigned int);
Ddynamic_debug.c276 if (kstrtouint(str, 10, val) < 0) { in parse_lineno()
/linux-4.1.27/drivers/platform/chrome/
Dcros_ec_lightbar.c167 if (kstrtouint(buf, 0, &val)) in brightness_store()
309 ret = kstrtouint(buf, 0, &num); in sequence_store()
/linux-4.1.27/drivers/input/touchscreen/
Dad7877.c488 error = kstrtouint(buf, 10, &val); in ad7877_disable_store()
518 error = kstrtouint(buf, 10, &val); in ad7877_dac_store()
548 error = kstrtouint(buf, 10, &val); in ad7877_gpio3_store()
579 error = kstrtouint(buf, 10, &val); in ad7877_gpio4_store()
Dad7879.c358 error = kstrtouint(buf, 10, &val); in ad7879_disable_store()
Dedt-ft5x06.c426 error = kstrtouint(buf, 0, &val); in edt_ft5x06_setting_store()
Dads7846.c584 err = kstrtouint(buf, 10, &i); in ads7846_disable_store()
/linux-4.1.27/arch/tile/kernel/
Dvdso.c195 return kstrtouint(s, 0, &vdso_enabled); in vdso_func()
Dsetup.c231 if (str == NULL || kstrtouint(str, 0, &pci_reserve_mb) != 0 || in setup_pci_reserve()
/linux-4.1.27/drivers/clocksource/
Dacpi_pm.c239 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()
/linux-4.1.27/kernel/
Dhung_task.c55 int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); in hung_task_panic_setup()
Dparams.c267 STANDARD_PARAM_DEF(uint, unsigned int, "%u", kstrtouint);
Daudit.c1201 if (kstrtouint(str, 0, &audit_backlog_limit_arg)) { in audit_backlog_limit_set()
/linux-4.1.27/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()
400 rc = kstrtouint(minblks_trim, 0, in parse_options()
/linux-4.1.27/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c39 if (!sram_size || (kstrtouint(sram_size, 0, &size) < 0)) in get_cache_sram_params()
/linux-4.1.27/drivers/usb/host/
Dehci-sysfs.c105 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in store_uframe_periodic_max()
Dfusbh200-hcd.c4863 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in store_uframe_periodic_max()
Dfotg210-hcd.c4929 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in store_uframe_periodic_max()
/linux-4.1.27/drivers/leds/
Dleds-lm3642.c188 ret = kstrtouint(buf, 10, &state); in lm3642_torch_pin_store()
245 ret = kstrtouint(buf, 10, &state); in lm3642_strobe_pin_store()
Dleds-lm3533.c451 if (kstrtouint(buf, 0, &channel)) in store_als_channel()
501 if (kstrtouint(buf, 0, &enable)) in store_als_en()
Dleds-lm355x.c392 ret = kstrtouint(buf, 10, &state); in lm3556_indicator_pattern_store()
/linux-4.1.27/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()
Dlm8323.c618 ret = kstrtouint(buf, 10, &i); in lm8323_set_disable()
/linux-4.1.27/drivers/md/
Ddm-stripe.c109 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr()
114 if (kstrtouint(argv[1], 10, &chunk_size) || !chunk_size) { in stripe_ctr()
Ddm-exception-store.c147 if (kstrtouint(chunk_size_arg, 10, &chunk_size)) { in set_chunk_size()
Ddm.c2056 if (kstrtouint(buf, 10, &deadline)) in dm_attr_rq_based_seq_io_merge_deadline_store()
/linux-4.1.27/mm/
Dbacking-dev.c180 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
199 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dmanager-sysfs.c144 r = kstrtouint(buf, 0, &color); in manager_default_color_store()
230 r = kstrtouint(buf, 0, &key_value); in manager_trans_key_value_store()
/linux-4.1.27/drivers/staging/iio/trigger/
Diio-trig-periodic-rtc.c68 ret = kstrtouint(buf, 10, &val); in iio_trig_periodic_write_freq()
Diio-trig-bfin-timer.c90 ret = kstrtouint(buf, 10, &val); in iio_bfin_tmr_frequency_store()
/linux-4.1.27/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c44 if (kstrtouint(filename + 11, 0, &minor)) in comedi_open()
/linux-4.1.27/drivers/mtd/ubi/
Ddebug.c345 if (kstrtouint(buf, 0, &d->power_cut_min) != 0) in dfs_file_write()
349 if (kstrtouint(buf, 0, &d->power_cut_max) != 0) in dfs_file_write()
/linux-4.1.27/include/linux/sunrpc/
Dcache.h261 if (kstrtouint(buf, 0, anint)) in get_uint()
/linux-4.1.27/drivers/s390/net/
Dctcm_sysfs.c47 rc = kstrtouint(buf, 0, &bs1); in ctcm_buffer_write()
Dlcs.c2009 rc = kstrtouint(buf, 0, &value); in lcs_timeout_store()
/linux-4.1.27/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()
Dati_remote2.c51 ret = kstrtouint(val, 0, &mask); in ati_remote2_set_mask()
726 r = kstrtouint(buf, 0, &mask); in ati_remote2_store_channel_mask()
776 err = kstrtouint(buf, 0, &mask); in ati_remote2_store_mode_mask()
Daxp20x-pek.c118 ret = kstrtouint(val_str, 10, &val); in axp20x_store_ext_attr()
Dkxtj9.c373 error = kstrtouint(buf, 10, &interval); in kxtj9_set_poll()
/linux-4.1.27/drivers/crypto/qat/qat_common/
Dadf_transport.c263 if (kstrtouint(val, 10, &ring_num)) { in adf_create_ring()
376 if (kstrtouint(val_buf, 10, value)) in adf_get_cfg_int()
/linux-4.1.27/drivers/input/
Dinput-polldev.c90 err = kstrtouint(buf, 0, &interval); in input_polldev_set_poll()
/linux-4.1.27/include/linux/
Dkernel.h331 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
346 return kstrtouint(s, base, res); in kstrtou32()
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c167 ret = kstrtouint(workarea, 16, value); in xgbe_common_write()
/linux-4.1.27/drivers/staging/iio/resolver/
Dad2s1210.c213 ret = kstrtouint(buf, 10, &fclkin); in ad2s1210_store_fclkin()
251 ret = kstrtouint(buf, 10, &fexcit); in ad2s1210_store_fexcit()
/linux-4.1.27/drivers/input/mouse/
Dlogips2pp.c161 err = kstrtouint(buf, 10, &value); in ps2pp_attr_set_smartscroll()
Dsentelic.c546 err = kstrtouint(buf, 10, &val); in fsp_attr_set_vscroll()
575 err = kstrtouint(buf, 10, &val); in fsp_attr_set_hscroll()
Dhgpk.c787 err = kstrtouint(buf, 10, &value); in hgpk_set_powered()
882 err = kstrtouint(buf, 10, &value); in hgpk_trigger_recal()
Dpsmouse-base.c1755 err = kstrtouint(buf, 10, &value); in psmouse_set_int_attr()
1867 err = kstrtouint(buf, 10, &value); in psmouse_attr_set_rate()
1880 err = kstrtouint(buf, 10, &value); in psmouse_attr_set_resolution()
Dtrackpoint.c164 err = kstrtouint(buf, 10, &value); in trackpoint_set_bit_attr()
Dsynaptics.c1273 err = kstrtouint(buf, 10, &value); in synaptics_set_disable_gesture()
/linux-4.1.27/sound/soc/intel/atom/sst/
Dsst_acpi.c271 ret = kstrtouint(id->id, 16, &dev_id); in sst_acpi_probe()
/linux-4.1.27/drivers/video/backlight/
Dlm3639_bl.c192 ret = kstrtouint(buf, 10, &state); in lm3639_bled_mode_store()
Ds6e63m0.c665 rc = kstrtouint(buf, 0, &lcd->gamma_mode); in s6e63m0_sysfs_store_gamma_mode()
/linux-4.1.27/drivers/video/fbdev/
Dhyperv_fb.c658 if (!*p || kstrtouint(p, 0, &x) || in hvfb_get_option()
659 !opt || !*opt || kstrtouint(opt, 0, &y)) { in hvfb_get_option()
/linux-4.1.27/drivers/iio/gyro/
Dadis16136.c208 ret = kstrtouint(buf, 10, &val); in adis16136_write_frequency()
/linux-4.1.27/drivers/iio/
Dindustrialio-buffer.c463 ret = kstrtouint(buf, 10, &val); in iio_buffer_write_length()
838 ret = kstrtouint(buf, 10, &val); in iio_buffer_store_watermark()
/linux-4.1.27/drivers/staging/comedi/
Dcomedi_fops.c402 err = kstrtouint(buf, 10, &size); in max_read_buffer_kb_store()
458 err = kstrtouint(buf, 10, &size); in read_buffer_kb_store()
515 err = kstrtouint(buf, 10, &size); in max_write_buffer_kb_store()
571 err = kstrtouint(buf, 10, &size); in write_buffer_kb_store()
/linux-4.1.27/arch/xtensa/platforms/iss/
Dnetwork.c625 rc = kstrtouint(str, 0, &n); in iss_net_setup()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c547 r = kstrtouint(buf, 0, &mode); in store_upd_mode()
/linux-4.1.27/drivers/scsi/
Dscsi_sysfs.c657 err = kstrtouint(buf, 10, &eh_timeout); in sdev_store_eh_timeout()
897 if (kstrtouint(buf, 10, &period)) in sdev_store_queue_ramp_up_period()
Dsd.c310 err = kstrtouint(buf, 10, &val); in protection_type_store()
432 err = kstrtouint(buf, 10, &sdkp->max_medium_access_timeouts); in max_medium_access_timeouts_store()
/linux-4.1.27/kernel/power/
Dhibernate.c1140 int rc = kstrtouint(str, 0, &resume_delay); in resumedelay_setup()
/linux-4.1.27/fs/cifs/
Dcifs_debug.c650 rc = kstrtouint(flags_string, 0, &flags); in cifs_security_flags_proc_write()
Dnetmisc.c200 rc = kstrtouint(scope_id, 0, &s6->sin6_scope_id); in cifs_convert_address()
/linux-4.1.27/drivers/staging/iio/light/
Disl29018.c294 if (kstrtouint(buf, 10, &val)) in store_resolution()
/linux-4.1.27/net/core/
Dnet-sysfs.c1060 err = kstrtouint(buf, 10, &value); in bql_set()
1089 err = kstrtouint(buf, 10, &value); in bql_set_hold_time()
/linux-4.1.27/fs/nfsd/
Dnfs4idmap.c603 ret = kstrtouint(buf, 10, id); in numeric_name_to_id()
/linux-4.1.27/drivers/usb/musb/
Dmusb_cppi41.c645 ret = kstrtouint(str + 2, 0, &port); in cppi41_dma_controller_start()
/linux-4.1.27/drivers/acpi/
Dsysfs.c741 if (kstrtouint(buf, 10, &val) || val > 1) in hotplug_enabled_store()
/linux-4.1.27/drivers/hid/
Dwacom_sys.c678 err = kstrtouint(buf, 10, &id); in wacom_led_select_store()
719 err = kstrtouint(buf, 10, &value); in wacom_luminance_store()
/linux-4.1.27/drivers/pci/pcie/
Daspm.c846 if (kstrtouint(buf, 10, &val)) in link_state_store()
/linux-4.1.27/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c1188 ret = kstrtouint(buf, 0, &bytes); in max_recycle_threshold_store()
/linux-4.1.27/fs/dlm/
Dlockspace.c79 int rc = kstrtouint(buf, 0, &ls->ls_global_id); in dlm_id_store()
Dconfig.c164 rc = kstrtouint(buf, 0, &x); in cluster_set()
/linux-4.1.27/arch/mips/txx9/generic/
Dsetup.c313 if (kstrtouint(str + 10, 10, &val) == 0) in preprocess_cmdline()
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
Dmain.c78 ret = kstrtouint(val, 0, &x); in ring_order_set()
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dvisorchipset_main.c2122 if (kstrtouint(buf, 10, &id) != 0) in devicedisabled_store()
2139 if (kstrtouint(buf, 10, &id) != 0) in deviceenabled_store()
/linux-4.1.27/fs/nilfs2/
Dsysfs.c790 err = kstrtouint(skip_spaces(buf), 0, &val); in nilfs_superblock_sb_update_frequency_store()
/linux-4.1.27/drivers/video/fbdev/via/
Dviafbdev.c1984 if (kstrtouint(this_opt + 11, 0, &viafb_bpp1) < 0) in viafb_setup()
1987 if (kstrtouint(this_opt + 10, 0, &viafb_bpp) < 0) in viafb_setup()
/linux-4.1.27/drivers/mtd/
Dmtdcore.c255 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store()
/linux-4.1.27/drivers/mfd/
Dab8500-debugfs.c2718 ret = kstrtouint(b, 0, &loc.bank); in hwreg_common_write()
2734 ret = kstrtouint(b, 0, &val); in hwreg_common_write()
/linux-4.1.27/fs/fuse/
Dinode.c463 err = kstrtouint(buf, 10, res); in fuse_match_uint()
/linux-4.1.27/net/ipv4/
Dtcp_metrics.c1139 ret = kstrtouint(str, 0, &tcpmhash_entries); in set_tcpmhash_entries()
/linux-4.1.27/net/netfilter/
Dnf_conntrack_core.c1553 rc = kstrtouint(val, 0, &hashsize); in nf_conntrack_set_hashsize()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c880 if (kstrtouint(lunp, 10, &lun) || lun >= TRANSPORT_MAX_LUNS_PER_TPG) { in scsiback_add_translation_entry()
/linux-4.1.27/drivers/ata/
Dlibahci.c1053 if (kstrtouint(buf, 0, &state) < 0) in ahci_led_store()
/linux-4.1.27/net/sunrpc/
Dxprtsock.c2978 ret = kstrtouint(val, 0, &num); in param_set_uint_minmax()