Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/lib/
H A Dkstrtox.c267 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() function
280 EXPORT_SYMBOL(kstrtou16); variable
411 kstrto_from_user(kstrtou16_from_user, kstrtou16, u16);
H A 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()
/kernel/linux/linux-6.6/lib/
H A Dkstrtox.c275 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() function
288 EXPORT_SYMBOL(kstrtou16); variable
428 kstrto_from_user(kstrtou16_from_user, kstrtou16, u16);
H A 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()
/kernel/linux/linux-5.10/drivers/most/
H A Dconfigfs.c270 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()
/kernel/linux/linux-6.6/drivers/most/
H A Dconfigfs.c270 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()
/kernel/linux/linux-5.10/drivers/ssb/
H A Dhost_soc.c187 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()
/kernel/linux/linux-6.6/drivers/ssb/
H A Dhost_soc.c187 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()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1489 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()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1489 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()
/kernel/linux/linux-5.10/include/linux/
H A Dkstrtox.h94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
/kernel/linux/linux-6.6/include/linux/
H A Dkstrtox.h94 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
/kernel/linux/linux-5.10/drivers/pci/endpoint/
H A Dpci-ep-cfs.c228 ret = kstrtou16(page, 0, &val); \
279 ret = kstrtou16(page, 0, &val); in pci_epf_msix_interrupts_store()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dvas-sysfs.c38 err = kstrtou16(buf, 0, &creds); in update_total_credits_store()
/kernel/linux/linux-6.6/drivers/usb/gadget/
H A Dconfigfs.c21 ret = kstrtou16(name, 0, &num); in check_user_usb_string()
172 ret = kstrtou16(page, 0, &val); \
211 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store()
228 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store()
535 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
1007 ret = kstrtou16(page, 0, &bcdVersion); in webusb_bcdVersion_store()
/kernel/linux/linux-5.10/drivers/net/
H A Dnetconsole.c440 rv = kstrtou16(buf, 10, &nt->np.local_port); in local_port_store()
463 rv = kstrtou16(buf, 10, &nt->np.remote_port); in remote_port_store()
/kernel/linux/linux-5.10/drivers/usb/core/
H A Dquirks.c79 if (kstrtou16(field, 16, &vid)) in quirks_param_set()
86 if (kstrtou16(field, 16, &pid)) in quirks_param_set()
/kernel/linux/linux-6.6/drivers/usb/core/
H A Dquirks.c79 if (kstrtou16(field, 16, &vid)) in quirks_param_set()
86 if (kstrtou16(field, 16, &pid)) in quirks_param_set()
/kernel/linux/linux-6.6/drivers/pci/endpoint/
H A Dpci-ep-cfs.c351 if (kstrtou16(page, 0, &val) < 0) \
396 if (kstrtou16(page, 0, &val) < 0) in pci_epf_msix_interrupts_store()
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c70 ret = kstrtou16(buf, 0, &val); in hrtbt_enable_store()
113 ret = kstrtou16(buf, 0, &val); in led_override_store()
/kernel/linux/linux-5.10/drivers/usb/gadget/
H A Dconfigfs.c19 ret = kstrtou16(name, 0, &num); in check_user_usb_string()
164 ret = kstrtou16(page, 0, &val); \
203 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store()
220 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store()
519 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci-dbgcap.c997 if (kstrtou16(buf, 0, &value)) in dbc_idVendor_store()
1037 if (kstrtou16(buf, 0, &value)) in dbc_idProduct_store()
1076 if (kstrtou16(buf, 0, &value)) in dbc_bcdDevice_store()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c60 ret = kstrtou16(buf, 0, &val); in store_hrtbt_enb()
97 ret = kstrtou16(buf, 0, &val); in store_led_override()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Ddebugfs-vif.c648 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write()
709 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_quota_min_write()
/kernel/linux/linux-5.10/net/core/
H A Dnetpoll.c550 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options()
587 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()

Completed in 27 milliseconds

12345