Home
last modified time | relevance | path

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

12

/Linux-v5.4/lib/
Dkstrtox.c263 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() function
276 EXPORT_SYMBOL(kstrtou16);
407 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-v5.4/drivers/staging/most/
Dconfigfs.c257 ret = kstrtou16(page, 0, &mdev_link->num_buffers); in mdev_link_num_buffers_store()
275 ret = kstrtou16(page, 0, &mdev_link->buffer_size); in mdev_link_buffer_size_store()
294 ret = kstrtou16(page, 0, &mdev_link->subbuffer_size); in mdev_link_subbuffer_size_store()
313 ret = kstrtou16(page, 0, &mdev_link->packets_per_xact); in mdev_link_packets_per_xact_store()
330 ret = kstrtou16(page, 0, &mdev_link->dbr_size); in mdev_link_dbr_size_store()
/Linux-v5.4/drivers/ssb/
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()
/Linux-v5.4/drivers/net/wireless/ath/ath6kl/
Ddebug.c1486 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1493 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write()
1633 if (kstrtou16(buf, 0, &bgscan_int)) in ath6kl_bgscan_int_write()
1673 if (kstrtou16(buf, 0, &listen_interval)) in ath6kl_listen_int_write()
1732 if (kstrtou16(token, 0, &idle_period)) in ath6kl_power_params_write()
1738 if (kstrtou16(token, 0, &ps_poll_num)) in ath6kl_power_params_write()
1744 if (kstrtou16(token, 0, &dtim)) in ath6kl_power_params_write()
1750 if (kstrtou16(token, 0, &tx_wakeup)) in ath6kl_power_params_write()
1756 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
/Linux-v5.4/drivers/usb/core/
Dquirks.c72 if (kstrtou16(field, 16, &vid)) in quirks_param_set()
79 if (kstrtou16(field, 16, &pid)) in quirks_param_set()
/Linux-v5.4/drivers/pci/endpoint/
Dpci-ep-cfs.c244 ret = kstrtou16(page, 0, &val); \
295 ret = kstrtou16(page, 0, &val); in pci_epf_msix_interrupts_store()
/Linux-v5.4/drivers/usb/gadget/
Dconfigfs.c21 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()
469 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
/Linux-v5.4/net/core/
Dnetpoll.c512 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options()
549 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
Dutils.c376 if (kstrtou16(port, 0, &port_num)) in inet_pton_with_scope()
/Linux-v5.4/drivers/net/
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()
/Linux-v5.4/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-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/
Ddebugfs-vif.c645 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_rx_phyinfo_write()
706 ret = kstrtou16(buf, 0, &value); in iwl_dbgfs_quota_min_write()
/Linux-v5.4/drivers/platform/chrome/
Dcros_ec_sysfs.c289 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
/Linux-v5.4/drivers/staging/iio/meter/
Dade7854.c125 ret = kstrtou16(buf, 10, &val); in ade7854_write_16bit()
/Linux-v5.4/arch/mips/pci/
Dops-tx4927.c212 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
/Linux-v5.4/drivers/nvme/target/
Dconfigfs.c98 if (kstrtou16(page, 0, &portid)) { in nvmet_addr_portid_store()
1184 if (kstrtou16(name, 0, &portid)) in nvmet_ports_make()
/Linux-v5.4/drivers/input/mouse/
Dcyapa.c793 } else if (!kstrtou16(buf, 10, &sleep_time)) { in cyapa_update_suspend_scanrate()
895 if (buf == NULL || count == 0 || kstrtou16(buf, 10, &time)) { in cyapa_update_rt_suspend_scanrate()
/Linux-v5.4/drivers/staging/olpc_dcon/
Dolpc_dcon.c483 rc = kstrtou16(buf, 10, &rl); in dcon_resumeline_store()
/Linux-v5.4/drivers/staging/most/sound/
Dsound.c483 ret = kstrtou16(num, 0, ch_num); in split_arg_list()
/Linux-v5.4/drivers/power/supply/
Dds2780_battery.c561 ret = kstrtou16(buf, 0, &new_setting); in ds2780_set_rsgain_setting()
Dds2781_battery.c563 ret = kstrtou16(buf, 0, &new_setting); in ds2781_set_rsgain_setting()
/Linux-v5.4/drivers/staging/iio/impedance-analyzer/
Dad5933.c383 ret = kstrtou16(buf, 10, &val); in ad5933_store()
/Linux-v5.4/drivers/hwmon/
Dsht3x.c569 ret = kstrtou16(buf, 0, &update_interval); in update_interval_store()
/Linux-v5.4/drivers/gpu/drm/i915/
Di915_pci.c919 if (kstrtou16(tok, 16, &val) == 0 && val == device_id) { in force_probe()

12