Home
last modified time | relevance | path

Searched refs:kstrtou8 (Results 1 – 25 of 69) sorted by relevance

123

/kernel/linux/linux-5.10/lib/
Dkstrtox.c296 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() function
309 EXPORT_SYMBOL(kstrtou8);
412 kstrto_from_user(kstrtou8_from_user, kstrtou8, u8);
Dtest-kstrtox.c614 TEST_OK(kstrtou8, u8, "%hhu", test_u8_ok); in test_kstrtou8_ok()
649 TEST_FAIL(kstrtou8, u8, "%hhu", test_u8_fail); in test_kstrtou8_fail()
/kernel/linux/linux-5.10/drivers/platform/chrome/wilco_ec/
Dsysfs.c79 ret = kstrtou8(buf, 10, &val); in boot_on_ac_store()
209 ret = kstrtou8(buf, 10, &val); in usb_charge_store()
Ddebugfs.c83 if (kstrtou8(tmp, 16, &byte)) in parse_hex_sentence()
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c248 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store()
290 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store()
330 r = kstrtou8(buf, 0, &zorder); in overlay_zorder_store()
/kernel/linux/linux-5.10/net/sunrpc/
Daddr.c327 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) in rpc_uaddr2sockaddr()
334 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) in rpc_uaddr2sockaddr()
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-pin-error-inj.c152 } else if (!kstrtou8(token, 0, &op)) { in cec_pin_error_inj_parse_line()
177 has_pos = !kstrtou8(p, 0, &pos); in cec_pin_error_inj_parse_line()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
Ddebug.c1418 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1424 if (kstrtou8(token, 0, &pstream.traffic_direc)) in ath6kl_create_qos_write()
1430 if (kstrtou8(token, 0, &pstream.traffic_class)) in ath6kl_create_qos_write()
1436 if (kstrtou8(token, 0, &pstream.traffic_type)) in ath6kl_create_qos_write()
1442 if (kstrtou8(token, 0, &pstream.voice_psc_cap)) in ath6kl_create_qos_write()
1483 if (kstrtou8(token, 0, &pstream.tsid)) in ath6kl_create_qos_write()
1595 if (kstrtou8(token, 0, &traffic_class)) in ath6kl_delete_qos_write()
1601 if (kstrtou8(token, 0, &tsid)) in ath6kl_delete_qos_write()
/kernel/linux/linux-5.10/drivers/power/supply/
Dds2780_battery.c476 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pmod_enabled()
524 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_sense_resistor_value()
605 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pio_pin()
Dds2781_battery.c478 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pmod_enabled()
526 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_sense_resistor_value()
607 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pio_pin()
/kernel/linux/linux-5.10/drivers/staging/iio/resolver/
Dad2s1210.c297 ret = kstrtou8(buf, 16, &udata); in ad2s1210_store_control()
348 ret = kstrtou8(buf, 10, &udata); in ad2s1210_store_resolution()
446 ret = kstrtou8(buf, 10, &data); in ad2s1210_store_reg()
/kernel/linux/linux-5.10/drivers/pci/endpoint/
Dpci-ep-cfs.c244 ret = kstrtou8(page, 0, &val); \
257 ret = kstrtou8(page, 0, &val); in pci_epf_msi_interrupts_store()
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-platform-wilco-ec9 Input should be parseable by kstrtou8() to 0 or 1.
/kernel/linux/linux-5.10/drivers/input/misc/
Dideapad_slidebar.c185 error = kstrtou8(buf, 0, &mode); in store_slidebar_mode()
/kernel/linux/linux-5.10/arch/mips/pci/
Dops-tx4927.c200 if (kstrtou8(str + 7, 0, &val) == 0) in tx4927_pcibios_setup()
206 if (kstrtou8(str + 8, 0, &val) == 0) in tx4927_pcibios_setup()
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_sourcesink.c915 ret = kstrtou8(page, 0, &num); in f_ss_opts_pattern_store()
958 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_interval_store()
1044 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_mult_store()
1087 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_maxburst_store()
Du_ether_configfs.h124 ret = kstrtou8(page, 0, &val); \
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c148 ret = kstrtou8(page, 0, &val); \
537 ret = kstrtou8(page, 0, &val); in gadget_config_desc_bmAttributes_store()
699 ret = kstrtou8(num_str, 0, &num); in config_desc_make()
827 ret = kstrtou8(page, 0, &b_vendor_code); in os_desc_b_vendor_code_store()
970 ret = kstrtou8(page, 0, &type); in ext_prop_type_store()
/kernel/linux/linux-5.10/drivers/edac/
Dhighbank_mc_edac.c105 if (kstrtou8(buf, 16, &synd)) in highbank_mc_inject_ctrl()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-taos-evm.c130 if (kstrtou8(p + 1, 16, &data->byte)) in taos_smbus_xfer()
/kernel/linux/linux-5.10/drivers/mfd/
Dab3100-core.c525 err = kstrtou8(&buf[regp], 16, &user_reg); in ab3100_get_set_reg()
557 err = kstrtou8(&buf[valp], 16, &user_value); in ab3100_get_set_reg()
/kernel/linux/linux-5.10/drivers/leds/
Dleds-lm3533.c374 if (kstrtou8(buf, 0, &val) || val > LM3533_RISEFALLTIME_MAX) in store_risefalltime()
579 if (kstrtou8(buf, 0, &val)) in store_pwm()
/kernel/linux/linux-5.10/drivers/staging/iio/addac/
Dadt7316.c422 ret = kstrtou8(buf, 10, &data); in adt7316_store_ad_channel()
821 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_2Vref_ch_mask()
881 ret = kstrtou8(buf, 10, &data); in adt7316_store_DAC_update_mode()
936 ret = kstrtou8(buf, 16, &data); in adt7316_store_update_DAC()
1065 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref()
1075 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref()
/kernel/linux/linux-5.10/drivers/hid/
Dhid-gt683r.c105 if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2) in mode_store()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcma_configfs.c173 ret = kstrtou8(buf, 0, &tos); in default_roce_tos_store()

123