Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/pwm/
Dsysfs.c60 ret = kstrtouint(buf, 0, &val); in period_store()
86 ret = kstrtouint(buf, 0, &val); in duty_cycle_store()
256 ret = kstrtouint(buf, 0, &hwpwm); in export_store()
283 ret = kstrtouint(buf, 0, &hwpwm); in unexport_store()
/linux-4.4.14/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.4.14/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()
Dlogips2pp.c161 err = kstrtouint(buf, 10, &value); in ps2pp_attr_set_smartscroll()
Dhgpk.c787 err = kstrtouint(buf, 10, &value); in hgpk_set_powered()
882 err = kstrtouint(buf, 10, &value); in hgpk_trigger_recal()
Dpsmouse-base.c1759 err = kstrtouint(buf, 10, &value); in psmouse_set_int_attr()
1871 err = kstrtouint(buf, 10, &value); in psmouse_attr_set_rate()
1884 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.4.14/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-sysctl.c81 rc = kstrtouint(buffer, 10, &val); in static_uintvalue_store()
/linux-4.4.14/mm/
Dmemtest.c90 ret = kstrtouint(arg, 0, &memtest_pattern); in parse_memtest()
Dbacking-dev.c181 ret = kstrtouint(buf, 10, &ratio); in min_ratio_store()
200 ret = kstrtouint(buf, 10, &ratio); in max_ratio_store()
/linux-4.4.14/drivers/platform/chrome/
Dcros_ec_lightbar.c194 if (kstrtouint(buf, 0, &val)) in brightness_store()
362 ret = kstrtouint(buf, 0, &num); in sequence_store()
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Ddebug.c66 rc = kstrtouint(val, 0, &num); in libcfs_param_debug_mb_set()
187 ret = kstrtouint(val, 0, &num); in param_set_uint_minmax()
/linux-4.4.14/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()
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()
Dad7879.c358 error = kstrtouint(buf, 10, &val); in ad7879_disable_store()
Dedt-ft5x06.c429 error = kstrtouint(buf, 0, &val); in edt_ft5x06_setting_store()
Dads7846.c582 err = kstrtouint(buf, 10, &i); in ads7846_disable_store()
/linux-4.4.14/kernel/
Dhung_task.c55 int rc = kstrtouint(str, 0, &sysctl_hung_task_panic); in hung_task_panic_setup()
Dparams.c295 STANDARD_PARAM_DEF(uint, unsigned int, "%u", kstrtouint);
Daudit.c1215 if (kstrtouint(str, 0, &audit_backlog_limit_arg)) { in audit_backlog_limit_set()
/linux-4.4.14/drivers/clocksource/
Dacpi_pm.c239 ret = kstrtouint(arg, 16, &base); in parse_pmtmr()
/linux-4.4.14/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.4.14/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.4.14/arch/powerpc/sysdev/
Dfsl_85xx_l2ctlr.c39 if (!sram_size || (kstrtouint(sram_size, 0, &size) < 0)) in get_cache_sram_params()
/linux-4.4.14/drivers/usb/host/
Dehci-sysfs.c105 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in store_uframe_periodic_max()
Dfotg210-hcd.c4741 if (kstrtouint(buf, 0, &uframe_periodic_max) < 0) in store_uframe_periodic_max()
/linux-4.4.14/drivers/md/
Ddm-stripe.c111 if (kstrtouint(argv[0], 10, &stripes) || !stripes) { in stripe_ctr()
116 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()
Dmd.c2725 rv = kstrtouint(buf, 10, &n); in errors_store()
2756 err = kstrtouint(buf, 10, (unsigned int *)&slot); in slot_store()
3647 err = kstrtouint(buf, 10, &n); in layout_store()
3696 err = kstrtouint(buf, 10, &n); in raid_disks_store()
4048 rv = kstrtouint(buf, 10, &n); in max_corrected_read_errors_store()
4418 rv = kstrtouint(buf, 10, &min); in sync_min_store()
4447 rv = kstrtouint(buf, 10, &max); in sync_max_store()
9312 return kstrtouint(val, 10, (unsigned int *)&start_readonly); in set_ro()
Ddm.c2050 if (kstrtouint(buf, 10, &deadline)) in dm_attr_rq_based_seq_io_merge_deadline_store()
/linux-4.4.14/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.4.14/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.4.14/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.4.14/drivers/staging/iio/trigger/
Diio-trig-periodic-rtc.c68 ret = kstrtouint(buf, 10, &val); in iio_trig_periodic_write_freq()
Diio-trig-bfin-timer.c91 ret = kstrtouint(buf, 10, &val); in iio_bfin_tmr_frequency_store()
/linux-4.4.14/drivers/staging/comedi/kcomedilib/
Dkcomedilib_main.c44 if (kstrtouint(filename + 11, 0, &minor)) in comedi_open()
/linux-4.4.14/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.4.14/include/linux/sunrpc/
Dcache.h272 if (kstrtouint(buf, 0, anint)) in get_uint()
/linux-4.4.14/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.4.14/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.4.14/drivers/crypto/qat/qat_common/
Dadf_transport.c263 if (kstrtouint(val, 10, &ring_num)) { in adf_create_ring()
379 if (kstrtouint(val_buf, 10, value)) in adf_get_cfg_int()
/linux-4.4.14/drivers/input/
Dinput-polldev.c90 err = kstrtouint(buf, 0, &interval); in input_polldev_set_poll()
/linux-4.4.14/include/linux/
Dkernel.h332 int __must_check kstrtouint(const char *s, unsigned int base, unsigned int *res);
347 return kstrtouint(s, base, res); in kstrtou32()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c167 ret = kstrtouint(workarea, 16, value); in xgbe_common_write()
/linux-4.4.14/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.4.14/net/sunrpc/
Ddebugfs.c312 if (kstrtouint(buffer, 10, &rpc_inject_disconnect)) in fault_disconnect_write()
Dxprtsock.c3153 ret = kstrtouint(val, 0, &num); in param_set_uint_minmax()
/linux-4.4.14/sound/soc/intel/atom/sst/
Dsst_acpi.c271 ret = kstrtouint(id->id, 16, &dev_id); in sst_acpi_probe()
/linux-4.4.14/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.4.14/drivers/mfd/
Dintel_soc_pmic_bxtwc.c300 ret = kstrtouint(buf, 0, &val); in bxtwc_val_store()
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.4.14/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.4.14/drivers/iio/gyro/
Dadis16136.c208 ret = kstrtouint(buf, 10, &val); in adis16136_write_frequency()
/linux-4.4.14/drivers/iio/
Dindustrialio-buffer.c482 ret = kstrtouint(buf, 10, &val); in iio_buffer_write_length()
958 ret = kstrtouint(buf, 10, &val); in iio_buffer_store_watermark()
/linux-4.4.14/drivers/staging/comedi/
Dcomedi_fops.c416 err = kstrtouint(buf, 10, &size); in max_read_buffer_kb_store()
472 err = kstrtouint(buf, 10, &size); in read_buffer_kb_store()
529 err = kstrtouint(buf, 10, &size); in max_write_buffer_kb_store()
585 err = kstrtouint(buf, 10, &size); in write_buffer_kb_store()
/linux-4.4.14/arch/xtensa/platforms/iss/
Dnetwork.c629 rc = kstrtouint(str, 0, &n); in iss_net_setup()
/linux-4.4.14/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c547 r = kstrtouint(buf, 0, &mode); in store_upd_mode()
/linux-4.4.14/drivers/scsi/
Dscsi_sysfs.c659 err = kstrtouint(buf, 10, &eh_timeout); in sdev_store_eh_timeout()
922 if (kstrtouint(buf, 10, &period)) in sdev_store_queue_ramp_up_period()
Dsd.c312 err = kstrtouint(buf, 10, &val); in protection_type_store()
434 err = kstrtouint(buf, 10, &sdkp->max_medium_access_timeouts); in max_medium_access_timeouts_store()
/linux-4.4.14/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.4.14/kernel/power/
Dhibernate.c1143 int rc = kstrtouint(str, 0, &resume_delay); in resumedelay_setup()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dgth.c360 if (kstrtouint(buf, 16, &config) < 0) in output_attr_store()
/linux-4.4.14/net/core/
Dnet-sysfs.c1077 err = kstrtouint(buf, 10, &value); in bql_set()
1106 err = kstrtouint(buf, 10, &value); in bql_set_hold_time()
/linux-4.4.14/fs/nfsd/
Dnfs4idmap.c600 ret = kstrtouint(buf, 10, id); in numeric_name_to_id()
/linux-4.4.14/drivers/usb/musb/
Dmusb_cppi41.c648 ret = kstrtouint(str + 2, 0, &port); in cppi41_dma_controller_start()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_debugfs.c1353 ret = kstrtouint(end, 10, &j); in mps_trc_write()
1382 ret = kstrtouint(end, 10, &j); in mps_trc_write()
1392 ret = kstrtouint(end, 10, &j); in mps_trc_write()
1466 ret = kstrtouint(end, 10, &j); in mps_trc_write()
/linux-4.4.14/fs/dlm/
Dlockspace.c79 int rc = kstrtouint(buf, 0, &ls->ls_global_id); in dlm_id_store()
Dconfig.c134 rc = kstrtouint(buf, 0, &x); in cluster_set()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_cqm.c1194 ret = kstrtouint(buf, 0, &bytes); in max_recycle_threshold_store()
/linux-4.4.14/arch/mips/txx9/generic/
Dsetup.c297 if (kstrtouint(str + 10, 10, &val) == 0) in preprocess_cmdline()
/linux-4.4.14/fs/gfs2/
Dsys.c588 error = kstrtouint(buf, 0, &x); in tune_set()
/linux-4.4.14/drivers/acpi/
Dsysfs.c804 if (kstrtouint(buf, 10, &val) || val > 1) in hotplug_enabled_store()
/linux-4.4.14/drivers/pci/pcie/
Daspm.c839 if (kstrtouint(buf, 10, &val)) in link_state_store()
/linux-4.4.14/drivers/platform/x86/
Dasus-wmi.c1240 ret = kstrtouint(buf, 10, &value); in pwm1_store()
1287 ret = kstrtouint(buf, 10, &state); in pwm1_enable_store()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchipset.c2116 if (kstrtouint(buf, 10, &id)) in devicedisabled_store()
2133 if (kstrtouint(buf, 10, &id)) in deviceenabled_store()
/linux-4.4.14/drivers/hid/
Dwacom_sys.c694 err = kstrtouint(buf, 10, &id); in wacom_led_select_store()
735 err = kstrtouint(buf, 10, &value); in wacom_luminance_store()
/linux-4.4.14/fs/nilfs2/
Dsysfs.c790 err = kstrtouint(skip_spaces(buf), 0, &val); in nilfs_superblock_sb_update_frequency_store()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dmain.c83 ret = kstrtouint(val, 0, &x); in ring_order_set()
/linux-4.4.14/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.4.14/drivers/mtd/
Dmtdcore.c259 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store()
/linux-4.4.14/net/ipv4/
Dtcp_metrics.c1124 ret = kstrtouint(str, 0, &tcpmhash_entries); in set_tcpmhash_entries()
/linux-4.4.14/fs/fuse/
Dinode.c463 err = kstrtouint(buf, 10, res); in fuse_match_uint()
/linux-4.4.14/drivers/hwmon/
Dnct7802.c96 err = kstrtouint(buf, 0, &type); in store_temp_type()
/linux-4.4.14/drivers/spi/
Dspi-pxa2xx.c1327 !kstrtouint(adev->pnp.unique_id, 0, &devid)) in pxa2xx_spi_get_port_id()
/linux-4.4.14/Documentation/DocBook/
Dkernel-api.xml.db62 API-kstrtouint
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs.c955 ret = kstrtouint(buf, 0, &conf_id); in iwl_dbgfs_fw_dbg_conf_write()
/linux-4.4.14/net/netfilter/
Dnf_conntrack_core.c1576 rc = kstrtouint(val, 0, &hashsize); in nf_conntrack_set_hashsize()
/linux-4.4.14/drivers/scsi/cxlflash/
Dmain.c2114 rc = kstrtouint(buf, 10, &lun_mode); in lun_mode_store()
/linux-4.4.14/drivers/ata/
Dlibahci.c1053 if (kstrtouint(buf, 0, &state) < 0) in ahci_led_store()