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

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

Completed in 3810 milliseconds