Home
last modified time | relevance | path

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

123

/Linux-v4.19/lib/
Dkstrtox.c293 int kstrtou8(const char *s, unsigned int base, u8 *res) in kstrtou8() function
306 EXPORT_SYMBOL(kstrtou8);
409 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()
/Linux-v4.19/drivers/video/fbdev/omap2/omapfb/dss/
Doverlay-sysfs.c259 r = kstrtou8(buf, 0, &alpha); in overlay_global_alpha_store()
301 r = kstrtou8(buf, 0, &alpha); in overlay_pre_mult_alpha_store()
341 r = kstrtou8(buf, 0, &zorder); in overlay_zorder_store()
/Linux-v4.19/net/sunrpc/
Daddr.c330 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) in rpc_uaddr2sockaddr()
337 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) in rpc_uaddr2sockaddr()
/Linux-v4.19/drivers/media/cec/
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()
/Linux-v4.19/drivers/net/wireless/ath/ath6kl/
Ddebug.c1416 if (kstrtou8(token, 0, &pstream.user_pri)) in ath6kl_create_qos_write()
1422 if (kstrtou8(token, 0, &pstream.traffic_direc)) in ath6kl_create_qos_write()
1428 if (kstrtou8(token, 0, &pstream.traffic_class)) in ath6kl_create_qos_write()
1434 if (kstrtou8(token, 0, &pstream.traffic_type)) in ath6kl_create_qos_write()
1440 if (kstrtou8(token, 0, &pstream.voice_psc_cap)) in ath6kl_create_qos_write()
1481 if (kstrtou8(token, 0, &pstream.tsid)) in ath6kl_create_qos_write()
1593 if (kstrtou8(token, 0, &traffic_class)) in ath6kl_delete_qos_write()
1599 if (kstrtou8(token, 0, &tsid)) in ath6kl_delete_qos_write()
/Linux-v4.19/drivers/power/supply/
Dds2780_battery.c480 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pmod_enabled()
528 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_sense_resistor_value()
609 ret = kstrtou8(buf, 0, &new_setting); in ds2780_set_pio_pin()
Dds2781_battery.c482 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pmod_enabled()
530 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_sense_resistor_value()
611 ret = kstrtou8(buf, 0, &new_setting); in ds2781_set_pio_pin()
/Linux-v4.19/drivers/staging/iio/resolver/
Dad2s1210.c282 ret = kstrtou8(buf, 16, &udata); in ad2s1210_store_control()
339 ret = kstrtou8(buf, 10, &udata); in ad2s1210_store_resolution()
443 ret = kstrtou8(buf, 10, &data); in ad2s1210_store_reg()
/Linux-v4.19/drivers/input/misc/
Dideapad_slidebar.c189 error = kstrtou8(buf, 0, &mode); in store_slidebar_mode()
/Linux-v4.19/drivers/pci/endpoint/
Dpci-ep-cfs.c260 ret = kstrtou8(page, 0, &val); \
273 ret = kstrtou8(page, 0, &val); in pci_epf_msi_interrupts_store()
/Linux-v4.19/arch/mips/pci/
Dops-tx4927.c204 if (kstrtou8(str + 7, 0, &val) == 0) in tx4927_pcibios_setup()
210 if (kstrtou8(str + 8, 0, &val) == 0) in tx4927_pcibios_setup()
/Linux-v4.19/drivers/usb/gadget/function/
Df_sourcesink.c913 ret = kstrtou8(page, 0, &num); in f_ss_opts_pattern_store()
956 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_interval_store()
1042 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_mult_store()
1085 ret = kstrtou8(page, 0, &num); in f_ss_opts_isoc_maxburst_store()
Du_ether_configfs.h124 ret = kstrtou8(page, 0, &val); \
/Linux-v4.19/drivers/usb/gadget/
Dconfigfs.c152 ret = kstrtou8(page, 0, &val); \
488 ret = kstrtou8(page, 0, &val); in gadget_config_desc_bmAttributes_store()
650 ret = kstrtou8(num_str, 0, &num); in config_desc_make()
778 ret = kstrtou8(page, 0, &b_vendor_code); in os_desc_b_vendor_code_store()
921 ret = kstrtou8(page, 0, &type); in ext_prop_type_store()
/Linux-v4.19/drivers/staging/iio/addac/
Dadt7316.c420 ret = kstrtou8(buf, 10, &data); in adt7316_store_ad_channel()
826 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_2Vref_ch_mask()
886 ret = kstrtou8(buf, 10, &data); in adt7316_store_DAC_update_mode()
941 ret = kstrtou8(buf, 16, &data); in adt7316_store_update_DAC()
1082 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref()
1092 ret = kstrtou8(buf, 16, &data); in adt7316_store_DAC_internal_Vref()
/Linux-v4.19/drivers/edac/
Dhighbank_mc_edac.c116 if (kstrtou8(buf, 16, &synd)) in highbank_mc_inject_ctrl()
/Linux-v4.19/drivers/i2c/busses/
Di2c-taos-evm.c138 if (kstrtou8(p + 1, 16, &data->byte)) in taos_smbus_xfer()
/Linux-v4.19/drivers/hid/
Dhid-gt683r.c114 if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2) in mode_store()
/Linux-v4.19/drivers/leds/
Dleds-lm3533.c378 if (kstrtou8(buf, 0, &val) || val > LM3533_RISEFALLTIME_MAX) in store_risefalltime()
583 if (kstrtou8(buf, 0, &val)) in store_pwm()
/Linux-v4.19/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()
/Linux-v4.19/drivers/infiniband/core/
Dcma_configfs.c167 ret = kstrtou8(buf, 0, &tos); in default_roce_tos_store()
/Linux-v4.19/drivers/video/backlight/
Dlm3533_bl.c214 if (kstrtou8(buf, 0, &val)) in store_pwm()
/Linux-v4.19/drivers/target/
Dtarget_core_user.c272 ret = kstrtou8(str, 0, &val); in tcmu_set_block_netlink()
318 ret = kstrtou8(str, 0, &val); in tcmu_set_reset_netlink()
2463 ret = kstrtou8(page, 0, &val); in tcmu_emulate_write_cache_store()
2509 ret = kstrtou8(page, 0, &val); in tcmu_block_dev_store()
2541 ret = kstrtou8(page, 0, &val); in tcmu_reset_ring_store()
/Linux-v4.19/drivers/iio/common/ms_sensors/
Dms_sensors_i2c.c377 ret = kstrtou8(buf, 10, &val); in ms_sensors_write_heater()

123