| /linux-6.15/lib/ |
| H A D | kstrtox.c | 275 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() function 288 EXPORT_SYMBOL(kstrtou16); 428 kstrto_from_user(kstrtou16_from_user, kstrtou16, u16);
|
| H A D | test-kstrtox.c | 517 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-6.15/drivers/ssb/ |
| H A D | host_soc.c | 187 err = kstrtou16(strim(buf), 0, &iv->boardinfo.vendor); in ssb_host_soc_get_invariants() 197 err = kstrtou16(strim(buf), 0, &iv->boardinfo.type); in ssb_host_soc_get_invariants()
|
| /linux-6.15/drivers/most/ |
| H A D | configfs.c | 270 ret = kstrtou16(page, 0, &mdev_link->num_buffers); in mdev_link_num_buffers_store() 288 ret = kstrtou16(page, 0, &mdev_link->buffer_size); in mdev_link_buffer_size_store() 307 ret = kstrtou16(page, 0, &mdev_link->subbuffer_size); in mdev_link_subbuffer_size_store() 326 ret = kstrtou16(page, 0, &mdev_link->packets_per_xact); in mdev_link_packets_per_xact_store() 343 ret = kstrtou16(page, 0, &mdev_link->dbr_size); in mdev_link_dbr_size_store()
|
| /linux-6.15/drivers/net/wireless/ath/ath6kl/ |
| H A D | debug.c | 1489 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write() 1496 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write() 1636 if (kstrtou16(buf, 0, &bgscan_int)) in ath6kl_bgscan_int_write() 1676 if (kstrtou16(buf, 0, &listen_interval)) in ath6kl_listen_int_write() 1735 if (kstrtou16(token, 0, &idle_period)) in ath6kl_power_params_write() 1741 if (kstrtou16(token, 0, &ps_poll_num)) in ath6kl_power_params_write() 1747 if (kstrtou16(token, 0, &dtim)) in ath6kl_power_params_write() 1753 if (kstrtou16(token, 0, &tx_wakeup)) in ath6kl_power_params_write() 1759 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
|
| /linux-6.15/drivers/thermal/intel/int340x_thermal/ |
| H A D | processor_thermal_wt_hint.c | 148 ret = kstrtou16(buf, 10, &new_tw); in notification_delay_ms_store()
|
| /linux-6.15/include/linux/ |
| H A D | kstrtox.h | 94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
|
| /linux-6.15/drivers/usb/core/ |
| H A D | quirks.c | 79 if (kstrtou16(field, 16, &vid)) in quirks_param_set() 86 if (kstrtou16(field, 16, &pid)) in quirks_param_set()
|
| /linux-6.15/arch/powerpc/platforms/pseries/ |
| H A D | vas-sysfs.c | 38 err = kstrtou16(buf, 0, &creds); in update_total_credits_store()
|
| /linux-6.15/drivers/pci/endpoint/ |
| H A D | pci-ep-cfs.c | 359 if (kstrtou16(page, 0, &val) < 0) \ 404 if (kstrtou16(page, 0, &val) < 0) in pci_epf_msix_interrupts_store()
|
| /linux-6.15/drivers/usb/gadget/ |
| H A D | configfs.c | 21 ret = kstrtou16(name, 0, &num); in check_user_usb_string() 175 ret = kstrtou16(page, 0, &val); \ 214 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store() 231 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store() 538 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store() 1017 ret = kstrtou16(page, 0, &bcdVersion); in webusb_bcdVersion_store()
|
| /linux-6.15/drivers/infiniband/hw/qib/ |
| H A D | qib_sysfs.c | 70 ret = kstrtou16(buf, 0, &val); in hrtbt_enable_store() 113 ret = kstrtou16(buf, 0, &val); in led_override_store()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
| H A D | debugfs-vif.c | 619 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write() 694 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_quota_min_write() 737 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_max_tx_op_write()
|
| /linux-6.15/drivers/platform/x86/amd/hsmp/ |
| H A D | acpi.c | 75 return kstrtou16(uid + 2, 10, sock_ind); in hsmp_get_uid()
|
| /linux-6.15/security/ipe/ |
| H A D | policy_parser.c | 105 rc = kstrtou16(token, 10, cv[sep_count]); in parse_version()
|
| /linux-6.15/net/core/ |
| H A D | netpoll.c | 559 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options() 603 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
|
| H A D | utils.c | 376 if (kstrtou16(port, 0, &port_num)) in inet_pton_with_scope()
|
| /linux-6.15/drivers/usb/host/ |
| H A D | xhci-dbgcap.c | 1052 ret = kstrtou16(buf, 0, &value); in dbc_idVendor_store() 1094 ret = kstrtou16(buf, 0, &value); in dbc_idProduct_store() 1135 ret = kstrtou16(buf, 0, &value); in dbc_bcdDevice_store()
|
| /linux-6.15/drivers/net/wireless/mediatek/mt76/mt7996/ |
| H A D | debugfs.c | 75 if (kstrtou16(buf, 0, &band) || kstrtou16(sep + 1, 0, &val)) in mt7996_sys_recovery_set()
|
| /linux-6.15/drivers/nvme/target/ |
| H A D | configfs.c | 118 if (kstrtou16(page, 0, &portid)) { in nvmet_addr_portid_store() 1416 if (kstrtou16(page, 0, &vid)) in nvmet_subsys_attr_vendor_id_store() 1438 if (kstrtou16(page, 0, &ssvid)) in nvmet_subsys_attr_subsys_vendor_id_store() 2021 if (kstrtou16(name, 0, &portid)) in nvmet_ports_make()
|
| /linux-6.15/drivers/platform/chrome/ |
| H A D | cros_ec_sysfs.c | 276 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
|
| /linux-6.15/fs/afs/ |
| H A D | addr_prefs.c | 272 ret = kstrtou16(argv[2], 10, &pref.prio); in afs_add_address_pref()
|
| /linux-6.15/drivers/char/hw_random/ |
| H A D | core.c | 442 ret = kstrtou16(buf, 0, &quality); in rng_quality_store()
|
| /linux-6.15/arch/mips/pci/ |
| H A D | ops-tx4927.c | 216 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
|
| /linux-6.15/drivers/input/mouse/ |
| H A D | cyapa.c | 793 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate() 894 if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { in cyapa_update_rt_suspend_scanrate()
|