Home
last modified time | relevance | path

Searched refs:kstrtou16 (Results 1 – 35 of 35) sorted by relevance

/linux-4.1.27/lib/
Dkstrtox.c264 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() function
277 EXPORT_SYMBOL(kstrtou16);
344 kstrto_from_user(kstrtou16_from_user, kstrtou16, u16);
Dtest-kstrtox.c521 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok()
548 TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail); in test_kstrtou16_fail()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
Ddebug.c1478 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1485 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1625 if (kstrtou16(buf, 0, &bgscan_int)) in ath6kl_bgscan_int_write()
1665 if (kstrtou16(buf, 0, &listen_interval)) in ath6kl_listen_int_write()
1724 if (kstrtou16(token, 0, &idle_period)) in ath6kl_power_params_write()
1730 if (kstrtou16(token, 0, &ps_poll_num)) in ath6kl_power_params_write()
1736 if (kstrtou16(token, 0, &dtim)) in ath6kl_power_params_write()
1742 if (kstrtou16(token, 0, &tx_wakeup)) in ath6kl_power_params_write()
1748 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
/linux-4.1.27/drivers/staging/iio/meter/
Dade7759.c207 ret = kstrtou16(buf, 10, &val); in ade7759_write_16bit()
377 ret = kstrtou16(buf, 10, &val); in ade7759_write_frequency()
Dade7754.c208 ret = kstrtou16(buf, 10, &val); in ade7754_write_16bit()
438 ret = kstrtou16(buf, 10, &val); in ade7754_write_frequency()
Dade7753.c208 ret = kstrtou16(buf, 10, &val); in ade7753_write_16bit()
406 ret = kstrtou16(buf, 10, &val); in ade7753_write_frequency()
Dade7758_core.c292 ret = kstrtou16(buf, 10, &val); in ade7758_write_16bit()
514 ret = kstrtou16(buf, 10, &val); in ade7758_write_frequency()
Dade7854.c126 ret = kstrtou16(buf, 10, &val); in ade7854_write_16bit()
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c20 ret = kstrtou16(name, 0, &num); in check_user_usb_string()
164 ret = kstrtou16(page, 0, &val); \
203 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store()
220 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store()
480 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
/linux-4.1.27/drivers/net/
Dnetconsole.c393 rv = kstrtou16(buf, 10, &nt->np.local_port); in store_local_port()
411 rv = kstrtou16(buf, 10, &nt->np.remote_port); in store_remote_port()
/linux-4.1.27/net/core/
Dnetpoll.c521 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options()
558 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_sysfs.c60 ret = kstrtou16(buf, 0, &val); in store_hrtbt_enb()
97 ret = kstrtou16(buf, 0, &val); in store_led_override()
/linux-4.1.27/drivers/staging/iio/accel/
Dadis16220_core.c53 ret = kstrtou16(buf, 10, &val); in adis16220_write_16bit()
/linux-4.1.27/drivers/input/mouse/
Dcyapa.c725 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate()
827 if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { in cyapa_update_rt_suspend_scanrate()
/linux-4.1.27/arch/mips/pci/
Dops-tx4927.c216 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
/linux-4.1.27/drivers/staging/olpc_dcon/
Dolpc_dcon.c487 rc = kstrtou16(buf, 10, &rl); in dcon_resumeline_store()
/linux-4.1.27/drivers/power/
Dds2780_battery.c570 ret = kstrtou16(buf, 0, &new_setting); in ds2780_set_rsgain_setting()
Dds2781_battery.c572 ret = kstrtou16(buf, 0, &new_setting); in ds2781_set_rsgain_setting()
/linux-4.1.27/drivers/staging/iio/impedance-analyzer/
Dad5933.c406 ret = kstrtou16(buf, 10, &val); in ad5933_store()
/linux-4.1.27/include/linux/
Dkernel.h354 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c558 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write()
/linux-4.1.27/kernel/
Dparams.c265 STANDARD_PARAM_DEF(ushort, unsigned short, "%hu", kstrtou16);
/linux-4.1.27/arch/arm/mach-omap2/
Dmux.c917 res = kstrtou16(keyval, 0x10, &val); in omap_mux_set_cmdline_signals()
/linux-4.1.27/drivers/media/v4l2-core/
Dv4l2-dev.c65 res = kstrtou16(buf, 0, &value); in dev_debug_store()
/linux-4.1.27/drivers/usb/core/
Dsysfs.c502 if (kstrtou16(buf, 0, &timeout)) in usb2_lpm_l1_timeout_store()
/linux-4.1.27/drivers/usb/gadget/function/
Df_sourcesink.c1034 ret = kstrtou16(page, 0, &num); in f_ss_opts_isoc_maxpacket_store()
Duvc_configfs.c124 UVCG_CTRL_HDR_ATTR(bcd_uvc, bcdUVC, le16_to_cpu, kstrtou16, u16, cpu_to_le16,
2355 UVCG_OPTS_ATTR(streaming_maxpacket, le16_to_cpu, kstrtou16, u16, le16_to_cpu,
Df_printer.c1222 ret = kstrtou16(page, 0, &num); in f_printer_opts_q_len_store()
/linux-4.1.27/drivers/staging/iio/addac/
Dadt7316.c1463 ret = kstrtou16(buf, 10, &data); in adt7316_store_DAC()
1843 ret = kstrtou16(buf, 16, &data); in adt7316_set_int_mask()
/linux-4.1.27/drivers/block/zram/
Dzram_drv.c897 ret = kstrtou16(buf, 10, &do_reset); in reset_store()
/linux-4.1.27/drivers/pci/
Dpci-sysfs.c469 ret = kstrtou16(buf, 0, &num_vfs); in sriov_numvfs_store()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_configfs.c1458 ret = kstrtou16(tpgt_str, 0, &tpgt); in lio_target_tiqn_addtpg()
/linux-4.1.27/drivers/xen/
Dxen-scsiback.c1890 ret = kstrtou16(name + 5, 10, &tpgt); in scsiback_make_tpg()
/linux-4.1.27/drivers/staging/unisys/visorchipset/
Dvisorchipset_main.c497 if (kstrtou16(buf, 10, &remaining_steps) != 0) in remaining_steps_store()
/linux-4.1.27/drivers/vhost/
Dscsi.c2190 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()