Home
last modified time | relevance | path

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

/linux-4.4.14/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.c517 TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); in test_kstrtou16_ok()
544 TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail); in test_kstrtou16_fail()
/linux-4.4.14/arch/mips/bcm47xx/
Dsetup.c115 err = kstrtou16(strim(buf), 0, &iv->boardinfo.vendor); in bcm47xx_get_invariants()
125 err = kstrtou16(strim(buf), 0, &iv->boardinfo.type); in bcm47xx_get_invariants()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Ddebug.c1487 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1494 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1634 if (kstrtou16(buf, 0, &bgscan_int)) in ath6kl_bgscan_int_write()
1674 if (kstrtou16(buf, 0, &listen_interval)) in ath6kl_listen_int_write()
1733 if (kstrtou16(token, 0, &idle_period)) in ath6kl_power_params_write()
1739 if (kstrtou16(token, 0, &ps_poll_num)) in ath6kl_power_params_write()
1745 if (kstrtou16(token, 0, &dtim)) in ath6kl_power_params_write()
1751 if (kstrtou16(token, 0, &tx_wakeup)) in ath6kl_power_params_write()
1757 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
/linux-4.4.14/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()
Dade7753.c208 ret = kstrtou16(buf, 10, &val); in ade7753_write_16bit()
406 ret = kstrtou16(buf, 10, &val); in ade7753_write_frequency()
Dade7754.c208 ret = kstrtou16(buf, 10, &val); in ade7754_write_16bit()
438 ret = kstrtou16(buf, 10, &val); in ade7754_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.4.14/drivers/usb/gadget/
Dconfigfs.c20 ret = kstrtou16(name, 0, &num); in check_user_usb_string()
167 ret = kstrtou16(page, 0, &val); \
206 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store()
223 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store()
465 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
/linux-4.4.14/net/core/
Dnetpoll.c528 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options()
565 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
/linux-4.4.14/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.4.14/drivers/net/
Dnetconsole.c452 rv = kstrtou16(buf, 10, &nt->np.local_port); in local_port_store()
475 rv = kstrtou16(buf, 10, &nt->np.remote_port); in remote_port_store()
/linux-4.4.14/drivers/staging/most/mostcore/
Dcore.c360 int ret = kstrtou16(buf, 0, &c->cfg.num_buffers); in store_set_number_of_buffers()
379 int ret = kstrtou16(buf, 0, &c->cfg.buffer_size); in store_set_buffer_size()
460 int ret = kstrtou16(buf, 0, &c->cfg.subbuffer_size); in store_set_subbuffer_size()
479 int ret = kstrtou16(buf, 0, &c->cfg.packets_per_xact); in store_set_packets_per_xact()
/linux-4.4.14/drivers/input/touchscreen/
Dgoodix.c285 if (kstrtou16(id_str, 10, id)) in goodix_read_version()
/linux-4.4.14/drivers/staging/iio/accel/
Dadis16220_core.c53 ret = kstrtou16(buf, 10, &val); in adis16220_write_16bit()
/linux-4.4.14/arch/mips/pci/
Dops-tx4927.c216 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
/linux-4.4.14/drivers/input/mouse/
Dcyapa.c791 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate()
893 if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { in cyapa_update_rt_suspend_scanrate()
/linux-4.4.14/drivers/staging/olpc_dcon/
Dolpc_dcon.c484 rc = kstrtou16(buf, 10, &rl); in dcon_resumeline_store()
/linux-4.4.14/include/linux/
Dkernel.h355 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
/linux-4.4.14/drivers/power/
Dds2781_battery.c572 ret = kstrtou16(buf, 0, &new_setting); in ds2781_set_rsgain_setting()
Dds2780_battery.c570 ret = kstrtou16(buf, 0, &new_setting); in ds2780_set_rsgain_setting()
/linux-4.4.14/drivers/staging/iio/impedance-analyzer/
Dad5933.c406 ret = kstrtou16(buf, 10, &val); in ad5933_store()
/linux-4.4.14/kernel/
Dparams.c293 STANDARD_PARAM_DEF(ushort, unsigned short, "%hu", kstrtou16);
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-dev.c65 res = kstrtou16(buf, 0, &value); in dev_debug_store()
/linux-4.4.14/arch/arm/mach-omap2/
Dmux.c917 res = kstrtou16(keyval, 0x10, &val); in omap_mux_set_cmdline_signals()
/linux-4.4.14/drivers/usb/core/
Dsysfs.c502 if (kstrtou16(buf, 0, &timeout)) in usb2_lpm_l1_timeout_store()
/linux-4.4.14/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.4.14/drivers/usb/gadget/function/
Df_sourcesink.c1014 ret = kstrtou16(page, 0, &num); in f_ss_opts_isoc_maxpacket_store()
Duvc_configfs.c116 UVCG_CTRL_HDR_ATTR(bcd_uvc, bcdUVC, le16_to_cpu, kstrtou16, u16, cpu_to_le16,
2254 UVCG_OPTS_ATTR(streaming_maxpacket, le16_to_cpu, kstrtou16, u16, le16_to_cpu,
Df_printer.c1217 ret = kstrtou16(page, 0, &num); in f_printer_opts_q_len_store()
/linux-4.4.14/drivers/staging/most/hdm-usb/
Dhdm_usb.c1118 err = kstrtou16(buf, 16, &val); in store_value()
/linux-4.4.14/drivers/pci/
Dpci-sysfs.c472 ret = kstrtou16(buf, 0, &num_vfs); in sriov_numvfs_store()
/linux-4.4.14/drivers/block/zram/
Dzram_drv.c1089 ret = kstrtou16(buf, 10, &do_reset); in reset_store()
/linux-4.4.14/drivers/target/iscsi/
Discsi_target_configfs.c1204 ret = kstrtou16(tpgt_str, 0, &tpgt); in lio_target_tiqn_addtpg()
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/
Ddebugfs-vif.c1325 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write()
/linux-4.4.14/drivers/xen/
Dxen-scsiback.c1750 ret = kstrtou16(name + 5, 10, &tpgt); in scsiback_make_tpg()
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvisorchipset.c679 if (kstrtou16(buf, 10, &remaining_steps)) in remaining_steps_store()
/linux-4.4.14/drivers/vhost/
Dscsi.c1988 if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) in vhost_scsi_make_tpg()