/linux-6.1.9/lib/ |
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);
|
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.1.9/drivers/ssb/ |
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.1.9/drivers/most/ |
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()
|
D | most_snd.c | 422 ret = kstrtou16(num, 0, ch_num); in split_arg_list()
|
/linux-6.1.9/drivers/net/wireless/ath/ath6kl/ |
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.1.9/drivers/usb/core/ |
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.1.9/include/linux/ |
D | kstrtox.h | 94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | vas-sysfs.c | 38 err = kstrtou16(buf, 0, &creds); in update_total_credits_store()
|
/linux-6.1.9/drivers/usb/gadget/ |
D | configfs.c | 19 ret = kstrtou16(name, 0, &num); in check_user_usb_string() 162 ret = kstrtou16(page, 0, &val); \ 201 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store() 218 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store() 519 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
|
/linux-6.1.9/drivers/pci/endpoint/ |
D | pci-ep-cfs.c | 347 if (kstrtou16(page, 0, &val) < 0) \ 392 if (kstrtou16(page, 0, &val) < 0) in pci_epf_msix_interrupts_store()
|
/linux-6.1.9/drivers/net/ |
D | netconsole.c | 441 rv = kstrtou16(buf, 10, &nt->np.local_port); in local_port_store() 464 rv = kstrtou16(buf, 10, &nt->np.remote_port); in remote_port_store()
|
/linux-6.1.9/drivers/infiniband/hw/qib/ |
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.1.9/net/core/ |
D | netpoll.c | 534 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options() 571 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
|
D | utils.c | 376 if (kstrtou16(port, 0, &port_num)) in inet_pton_with_scope()
|
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | debugfs-vif.c | 593 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write() 654 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_quota_min_write()
|
/linux-6.1.9/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 283 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
|
/linux-6.1.9/drivers/char/hw_random/ |
D | core.c | 447 ret = kstrtou16(buf, 0, &quality); in rng_quality_store()
|
/linux-6.1.9/drivers/staging/iio/meter/ |
D | ade7854.c | 125 ret = kstrtou16(buf, 10, &val); in ade7854_write_16bit()
|
/linux-6.1.9/arch/mips/pci/ |
D | ops-tx4927.c | 212 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
|
/linux-6.1.9/drivers/input/mouse/ |
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()
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | goodix.c | 332 if (kstrtou16(ts->id, 10, &input->id.product)) in goodix_create_pen_input() 1138 if (kstrtou16(ts->id, 10, &ts->input_dev->id.product)) in goodix_configure_dev()
|
/linux-6.1.9/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 484 rc = kstrtou16(buf, 10, &rl); in dcon_resumeline_store()
|
/linux-6.1.9/drivers/iio/chemical/ |
D | scd4x.c | 463 ret = kstrtou16(buf, 0, &arg); in calibration_forced_value_store()
|
/linux-6.1.9/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 383 ret = kstrtou16(buf, 10, &val); in ad5933_store()
|