/Linux-v4.19/lib/ |
D | kstrtox.c | 263 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);
|
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-v4.19/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-v4.19/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 1487 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write() 1494 if (kstrtou16(token, 0, &val16)) in ath6kl_create_qos_write() 1634 if (kstrtou16(buf, 0, &bgscan_int)) in ath6kl_bgscan_int_write() 1674 if (kstrtou16(buf, 0, &listen_interval)) in ath6kl_listen_int_write() 1733 if (kstrtou16(token, 0, &idle_period)) in ath6kl_power_params_write() 1739 if (kstrtou16(token, 0, &ps_poll_num)) in ath6kl_power_params_write() 1745 if (kstrtou16(token, 0, &dtim)) in ath6kl_power_params_write() 1751 if (kstrtou16(token, 0, &tx_wakeup)) in ath6kl_power_params_write() 1757 if (kstrtou16(token, 0, &num_tx)) in ath6kl_power_params_write()
|
/Linux-v4.19/drivers/usb/core/ |
D | quirks.c | 72 if (kstrtou16(field, 16, &vid)) in quirks_param_set() 79 if (kstrtou16(field, 16, &pid)) in quirks_param_set()
|
/Linux-v4.19/drivers/pci/endpoint/ |
D | pci-ep-cfs.c | 244 ret = kstrtou16(page, 0, &val); \ 295 ret = kstrtou16(page, 0, &val); in pci_epf_msix_interrupts_store()
|
/Linux-v4.19/drivers/staging/most/ |
D | core.c | 281 int ret = kstrtou16(buf, 0, &c->cfg.num_buffers); in set_number_of_buffers_store() 303 int ret = kstrtou16(buf, 0, &c->cfg.buffer_size); in set_buffer_size_store() 396 int ret = kstrtou16(buf, 0, &c->cfg.subbuffer_size); in set_subbuffer_size_store() 418 int ret = kstrtou16(buf, 0, &c->cfg.packets_per_xact); in set_packets_per_xact_store() 438 int ret = kstrtou16(buf, 0, &c->cfg.dbr_size); in set_dbr_size_store()
|
/Linux-v4.19/drivers/usb/gadget/ |
D | configfs.c | 21 ret = kstrtou16(name, 0, &num); in check_user_usb_string() 165 ret = kstrtou16(page, 0, &val); \ 204 ret = kstrtou16(page, 0, &bcdDevice); in gadget_dev_desc_bcdDevice_store() 221 ret = kstrtou16(page, 0, &bcdUSB); in gadget_dev_desc_bcdUSB_store() 467 ret = kstrtou16(page, 0, &val); in gadget_config_desc_MaxPower_store()
|
/Linux-v4.19/drivers/net/ |
D | netconsole.c | 452 rv = kstrtou16(buf, 10, &nt->np.local_port); in local_port_store() 475 rv = kstrtou16(buf, 10, &nt->np.remote_port); in remote_port_store()
|
/Linux-v4.19/net/core/ |
D | netpoll.c | 512 if (kstrtou16(cur, 10, &np->local_port)) in netpoll_parse_options() 549 if (kstrtou16(cur, 10, &np->remote_port)) in netpoll_parse_options()
|
D | utils.c | 380 if (kstrtou16(port, 0, &port_num)) in inet_pton_with_scope()
|
/Linux-v4.19/drivers/infiniband/hw/qib/ |
D | qib_sysfs.c | 60 ret = kstrtou16(buf, 0, &val); in store_hrtbt_enb() 97 ret = kstrtou16(buf, 0, &val); in store_led_override()
|
/Linux-v4.19/drivers/platform/chrome/ |
D | cros_ec_sysfs.c | 302 ret = kstrtou16(buf, 0, &angle); in kb_wake_angle_store()
|
/Linux-v4.19/drivers/staging/most/sound/ |
D | sound.c | 476 ret = kstrtou16(num, 0, ch_num); in split_arg_list()
|
/Linux-v4.19/drivers/staging/iio/meter/ |
D | ade7854.c | 126 ret = kstrtou16(buf, 10, &val); in ade7854_write_16bit()
|
/Linux-v4.19/arch/mips/pci/ |
D | ops-tx4927.c | 216 if (kstrtou16(str + 5, 0, &val) == 0) in tx4927_pcibios_setup()
|
/Linux-v4.19/drivers/nvme/target/ |
D | configfs.c | 100 if (kstrtou16(page, 0, &portid)) { in nvmet_addr_portid_store() 1124 if (kstrtou16(name, 0, &portid)) in nvmet_ports_make()
|
/Linux-v4.19/drivers/input/mouse/ |
D | cyapa.c | 793 } 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-v4.19/drivers/staging/olpc_dcon/ |
D | olpc_dcon.c | 490 rc = kstrtou16(buf, 10, &rl); in dcon_resumeline_store()
|
/Linux-v4.19/drivers/staging/iio/impedance-analyzer/ |
D | ad5933.c | 399 ret = kstrtou16(buf, 10, &val); in ad5933_store()
|
/Linux-v4.19/drivers/power/supply/ |
D | ds2780_battery.c | 565 ret = kstrtou16(buf, 0, &new_setting); in ds2780_set_rsgain_setting()
|
D | ds2781_battery.c | 567 ret = kstrtou16(buf, 0, &new_setting); in ds2781_set_rsgain_setting()
|
/Linux-v4.19/drivers/hwmon/ |
D | sht3x.c | 579 ret = kstrtou16(buf, 0, &update_interval); in update_interval_store()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | goodix.c | 614 if (kstrtou16(id_str, 10, &ts->id)) in goodix_read_version()
|
/Linux-v4.19/include/linux/ |
D | kernel.h | 431 int __must_check kstrtou16(const char *s, unsigned int base, u16 *res);
|