kstrtou16 212 arch/mips/pci/ops-tx4927.c if (kstrtou16(str + 5, 0, &val) == 0) kstrtou16 1762 drivers/block/zram/zram_drv.c ret = kstrtou16(buf, 10, &do_reset); kstrtou16 919 drivers/gpu/drm/i915/i915_pci.c if (kstrtou16(tok, 16, &val) == 0 && val == device_id) { kstrtou16 55 drivers/greybus/svc.c ret = kstrtou16(buf, 10, &intf_id); kstrtou16 569 drivers/hwmon/sht3x.c ret = kstrtou16(buf, 0, &update_interval); kstrtou16 947 drivers/iio/light/tsl2772.c if (kstrtou16(buf, 0, &value)) kstrtou16 60 drivers/infiniband/hw/qib/qib_sysfs.c ret = kstrtou16(buf, 0, &val); kstrtou16 97 drivers/infiniband/hw/qib/qib_sysfs.c ret = kstrtou16(buf, 0, &val); kstrtou16 3660 drivers/infiniband/ulp/srpt/ib_srpt.c ret = kstrtou16(page, 0, &val); kstrtou16 793 drivers/input/mouse/cyapa.c } else if (!kstrtou16(buf, 10, &sleep_time)) { kstrtou16 895 drivers/input/mouse/cyapa.c if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { kstrtou16 676 drivers/input/touchscreen/goodix.c if (kstrtou16(id_str, 10, &ts->id)) kstrtou16 1530 drivers/md/raid5-ppl.c if (kstrtou16(page, 10, &new)) kstrtou16 69 drivers/media/v4l2-core/v4l2-dev.c res = kstrtou16(buf, 0, &value); kstrtou16 699 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c return kstrtou16(strim(tok), base, val); kstrtou16 440 drivers/net/netconsole.c rv = kstrtou16(buf, 10, &nt->np.local_port); kstrtou16 463 drivers/net/netconsole.c rv = kstrtou16(buf, 10, &nt->np.remote_port); kstrtou16 1486 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &val16)) kstrtou16 1493 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &val16)) kstrtou16 1633 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(buf, 0, &bgscan_int)) kstrtou16 1673 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(buf, 0, &listen_interval)) kstrtou16 1732 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &idle_period)) kstrtou16 1738 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &ps_poll_num)) kstrtou16 1744 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &dtim)) kstrtou16 1750 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &tx_wakeup)) kstrtou16 1756 drivers/net/wireless/ath/ath6kl/debug.c if (kstrtou16(token, 0, &num_tx)) kstrtou16 645 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ret = kstrtou16(buf, 0, &value); kstrtou16 706 drivers/net/wireless/intel/iwlwifi/mvm/debugfs-vif.c ret = kstrtou16(buf, 0, &value); kstrtou16 478 drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c if (kstrtou16(buf, 0, &amsdu_len)) kstrtou16 98 drivers/nvme/target/configfs.c if (kstrtou16(page, 0, &portid)) { kstrtou16 1184 drivers/nvme/target/configfs.c if (kstrtou16(name, 0, &portid)) kstrtou16 244 drivers/pci/endpoint/pci-ep-cfs.c ret = kstrtou16(page, 0, &val); \ kstrtou16 295 drivers/pci/endpoint/pci-ep-cfs.c ret = kstrtou16(page, 0, &val); kstrtou16 275 drivers/pci/iov.c ret = kstrtou16(buf, 0, &num_vfs); kstrtou16 289 drivers/platform/chrome/cros_ec_sysfs.c ret = kstrtou16(buf, 0, &angle); kstrtou16 561 drivers/power/supply/ds2780_battery.c ret = kstrtou16(buf, 0, &new_setting); kstrtou16 563 drivers/power/supply/ds2781_battery.c ret = kstrtou16(buf, 0, &new_setting); kstrtou16 3921 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c rc = kstrtou16(name + 5, 0, &tpgt); kstrtou16 187 drivers/ssb/host_soc.c err = kstrtou16(strim(buf), 0, &iv->boardinfo.vendor); kstrtou16 197 drivers/ssb/host_soc.c err = kstrtou16(strim(buf), 0, &iv->boardinfo.type); kstrtou16 1446 drivers/staging/iio/addac/adt7316.c ret = kstrtou16(buf, 10, &data); kstrtou16 1865 drivers/staging/iio/addac/adt7316.c ret = kstrtou16(buf, 16, &data); kstrtou16 383 drivers/staging/iio/impedance-analyzer/ad5933.c ret = kstrtou16(buf, 10, &val); kstrtou16 125 drivers/staging/iio/meter/ade7854.c ret = kstrtou16(buf, 10, &val); kstrtou16 257 drivers/staging/most/configfs.c ret = kstrtou16(page, 0, &mdev_link->num_buffers); kstrtou16 275 drivers/staging/most/configfs.c ret = kstrtou16(page, 0, &mdev_link->buffer_size); kstrtou16 294 drivers/staging/most/configfs.c ret = kstrtou16(page, 0, &mdev_link->subbuffer_size); kstrtou16 313 drivers/staging/most/configfs.c ret = kstrtou16(page, 0, &mdev_link->packets_per_xact); kstrtou16 330 drivers/staging/most/configfs.c ret = kstrtou16(page, 0, &mdev_link->dbr_size); kstrtou16 483 drivers/staging/most/sound/sound.c ret = kstrtou16(num, 0, ch_num); kstrtou16 949 drivers/staging/most/usb/usb.c int err = kstrtou16(buf, 16, &val); kstrtou16 483 drivers/staging/olpc_dcon/olpc_dcon.c rc = kstrtou16(buf, 10, &rl); kstrtou16 1106 drivers/target/iscsi/iscsi_target_configfs.c ret = kstrtou16(tpgt_str, 0, &tpgt); kstrtou16 72 drivers/usb/core/quirks.c if (kstrtou16(field, 16, &vid)) kstrtou16 79 drivers/usb/core/quirks.c if (kstrtou16(field, 16, &pid)) kstrtou16 562 drivers/usb/core/sysfs.c if (kstrtou16(buf, 0, &timeout)) kstrtou16 21 drivers/usb/gadget/configfs.c ret = kstrtou16(name, 0, &num); kstrtou16 167 drivers/usb/gadget/configfs.c ret = kstrtou16(page, 0, &val); \ kstrtou16 206 drivers/usb/gadget/configfs.c ret = kstrtou16(page, 0, &bcdDevice); kstrtou16 223 drivers/usb/gadget/configfs.c ret = kstrtou16(page, 0, &bcdUSB); kstrtou16 472 drivers/usb/gadget/configfs.c ret = kstrtou16(page, 0, &val); kstrtou16 1241 drivers/usb/gadget/function/f_printer.c ret = kstrtou16(page, 0, &num); kstrtou16 999 drivers/usb/gadget/function/f_sourcesink.c ret = kstrtou16(page, 0, &num); kstrtou16 2158 drivers/vhost/scsi.c if (kstrtou16(name + 5, 10, &tpgt) || tpgt >= VHOST_SCSI_MAX_TARGET) kstrtou16 270 drivers/visorbus/visorchipset.c if (kstrtou16(buf, 10, &remaining_steps)) kstrtou16 1746 drivers/xen/xen-scsiback.c ret = kstrtou16(name + 5, 10, &tpgt); kstrtou16 426 include/linux/kernel.h int __must_check kstrtou16(const char *s, unsigned int base, u16 *res); kstrtou16 238 kernel/params.c STANDARD_PARAM_DEF(ushort, unsigned short, "%hu", kstrtou16); kstrtou16 276 lib/kstrtox.c EXPORT_SYMBOL(kstrtou16); kstrtou16 407 lib/kstrtox.c kstrto_from_user(kstrtou16_from_user, kstrtou16, u16); kstrtou16 517 lib/test-kstrtox.c TEST_OK(kstrtou16, u16, "%hu", test_u16_ok); kstrtou16 544 lib/test-kstrtox.c TEST_FAIL(kstrtou16, u16, "%hu", test_u16_fail); kstrtou16 512 net/core/netpoll.c if (kstrtou16(cur, 10, &np->local_port)) kstrtou16 549 net/core/netpoll.c if (kstrtou16(cur, 10, &np->remote_port)) kstrtou16 376 net/core/utils.c if (kstrtou16(port, 0, &port_num))