/linux-6.12.1/lib/ |
D | kstrtox.c | 307 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() function 320 EXPORT_SYMBOL(kstrtou8); 430 kstrto_from_user(kstrtou8_from_user, kstrtou8, u8);
|
D | test-kstrtox.c | 614 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()
|
/linux-6.12.1/drivers/platform/chrome/wilco_ec/ |
D | sysfs.c | 79 ret = kstrtou8(buf, 10, &val); in boot_on_ac_store() 208 ret = kstrtou8(buf, 10, &val); in usb_charge_store()
|
D | debugfs.c | 84 if (kstrtou8(tmp, 16, &byte)) in parse_hex_sentence()
|
/linux-6.12.1/drivers/video/fbdev/omap2/omapfb/dss/ |
D | overlay-sysfs.c | 249 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store() 291 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store() 331 r = kstrtou8(buf, 0, &zorder); in overlay_zorder_store()
|
/linux-6.12.1/net/sunrpc/ |
D | addr.c | 327 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) in rpc_uaddr2sockaddr() 334 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) in rpc_uaddr2sockaddr()
|
/linux-6.12.1/drivers/media/cec/core/ |
D | cec-pin-error-inj.c | 152 } 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()
|
/linux-6.12.1/drivers/net/wireless/ath/ath6kl/ |
D | debug.c | 1418 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()
|
/linux-6.12.1/drivers/edac/ |
D | zynqmp_edac.c | 316 ret = kstrtou8(token[0], 0, &priv->ue_bitpos[0]); in inject_ue_write() 320 ret = kstrtou8(token[1], 0, &priv->ue_bitpos[1]); in inject_ue_write()
|
/linux-6.12.1/drivers/leds/trigger/ |
D | ledtrig-gpio.c | 59 ret = kstrtou8(buf, 10, &desired_brightness); in desired_brightness_store()
|
/linux-6.12.1/drivers/power/supply/ |
D | ds2781_battery.c | 478 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()
|
D | ds2780_battery.c | 476 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()
|
/linux-6.12.1/drivers/thermal/intel/int340x_thermal/ |
D | processor_thermal_wt_hint.c | 95 if (kstrtou8(buf, 10, &mode) || mode > 1) in workload_hint_enable_store()
|
/linux-6.12.1/drivers/input/misc/ |
D | ideapad_slidebar.c | 185 error = kstrtou8(buf, 0, &mode); in store_slidebar_mode()
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-platform-wilco-ec | 9 Input should be parseable by kstrtou8() to 0 or 1.
|
/linux-6.12.1/include/linux/ |
D | kstrtox.h | 96 int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
|
/linux-6.12.1/drivers/usb/gadget/function/ |
D | f_sourcesink.c | 914 ret = kstrtou8(page, 0, &num); in f_ss_opts_pattern_store() 957 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_interval_store() 1043 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_mult_store() 1086 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_maxburst_store()
|
D | u_ether_configfs.h | 124 ret = kstrtou8(page, 0, &val); \
|
/linux-6.12.1/arch/mips/pci/ |
D | ops-tx4927.c | 204 if (kstrtou8(str + 7, 0, &val) == 0) in tx4927_pcibios_setup() 210 if (kstrtou8(str + 8, 0, &val) == 0) in tx4927_pcibios_setup()
|
/linux-6.12.1/drivers/staging/iio/addac/ |
D | adt7316.c | 413 ret = kstrtou8(buf, 10, &data); in adt7316_store_ad_channel() 812 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_2Vref_ch_mask() 872 ret = kstrtou8(buf, 10, &data); in adt7316_store_DAC_update_mode() 927 ret = kstrtou8(buf, 16, &data); in adt7316_store_update_DAC() 1056 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref() 1066 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref()
|
/linux-6.12.1/drivers/usb/gadget/ |
D | configfs.c | 162 ret = kstrtou8(page, 0, &val); \ 561 ret = kstrtou8(page, 0, &val); in gadget_config_desc_bmAttributes_store() 726 ret = kstrtou8(num_str, 0, &num); in config_desc_make() 1041 ret = kstrtou8(page, 0, &b_vendor_code); in webusb_bVendorCode_store() 1158 ret = kstrtou8(page, 0, &b_vendor_code); in os_desc_b_vendor_code_store() 1291 ret = kstrtou8(page, 0, &type); in ext_prop_type_store()
|
/linux-6.12.1/drivers/pci/endpoint/ |
D | pci-ep-cfs.c | 373 if (kstrtou8(page, 0, &val) < 0) \ 384 if (kstrtou8(page, 0, &val) < 0) in pci_epf_msi_interrupts_store()
|
/linux-6.12.1/drivers/leds/ |
D | leds-lm3533.c | 374 if (kstrtou8(buf, 0, &val) || val > LM3533_RISEFALLTIME_MAX) in store_risefalltime() 579 if (kstrtou8(buf, 0, &val)) in store_pwm()
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-taos-evm.c | 130 if (kstrtou8(p + 1, 16, &data->byte)) in taos_smbus_xfer()
|
/linux-6.12.1/drivers/hid/ |
D | hid-gt683r.c | 105 if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2) in mode_store()
|