Searched refs:kstrtou8 (Results 1 - 55 of 55) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Doverlay-sysfs.c259 r = kstrtou8(buf, 0, &alpha); overlay_global_alpha_store()
301 r = kstrtou8(buf, 0, &alpha); overlay_pre_mult_alpha_store()
341 r = kstrtou8(buf, 0, &zorder); overlay_zorder_store()
/linux-4.1.27/net/sunrpc/
H A Daddr.c307 * @uaddr does not have to be '\0'-terminated, but kstrtou8() and
330 if (unlikely(kstrtou8(c + 1, 10, &portlo) != 0)) rpc_uaddr2sockaddr()
337 if (unlikely(kstrtou8(c + 1, 10, &porthi) != 0)) rpc_uaddr2sockaddr()
/linux-4.1.27/lib/
H A Dkstrtox.c294 int kstrtou8(const char *s, unsigned int base, u8 *res) kstrtou8() function
307 EXPORT_SYMBOL(kstrtou8); variable
346 kstrto_from_user(kstrtou8_from_user, kstrtou8, u8);
H A Dtest-kstrtox.c618 TEST_OK(kstrtou8, u8, "%hhu", test_u8_ok); test_kstrtou8_ok()
653 TEST_FAIL(kstrtou8, u8, "%hhu", test_u8_fail); test_kstrtou8_fail()
/linux-4.1.27/drivers/usb/gadget/function/
H A Du_ether_configfs.h132 ret = kstrtou8(page, 0, &val); \
H A Df_sourcesink.c946 ret = kstrtou8(page, 0, &num); f_ss_opts_pattern_store()
990 ret = kstrtou8(page, 0, &num); f_ss_opts_isoc_interval_store()
1078 ret = kstrtou8(page, 0, &num); f_ss_opts_isoc_mult_store()
1122 ret = kstrtou8(page, 0, &num); f_ss_opts_isoc_maxburst_store()
H A Duvc_configfs.c1474 ret = kstrtou8(page, 0, &num); \
1688 ret = kstrtou8(page, 0, &num); \
2353 UVCG_OPTS_ATTR(streaming_interval, identity_conv, kstrtou8, u8, identity_conv,
2357 UVCG_OPTS_ATTR(streaming_maxburst, identity_conv, kstrtou8, u8, identity_conv,
H A Df_mass_storage.c3276 ret = kstrtou8(num_str, 0, &num); fsg_lun_make()
3419 ret = kstrtou8(page, 0, &num); fsg_opts_num_buffers_store()
/linux-4.1.27/drivers/net/wireless/ath/ath6kl/
H A Ddebug.c1407 if (kstrtou8(token, 0, &pstream.user_pri)) ath6kl_create_qos_write()
1413 if (kstrtou8(token, 0, &pstream.traffic_direc)) ath6kl_create_qos_write()
1419 if (kstrtou8(token, 0, &pstream.traffic_class)) ath6kl_create_qos_write()
1425 if (kstrtou8(token, 0, &pstream.traffic_type)) ath6kl_create_qos_write()
1431 if (kstrtou8(token, 0, &pstream.voice_psc_cap)) ath6kl_create_qos_write()
1472 if (kstrtou8(token, 0, &pstream.tsid)) ath6kl_create_qos_write()
1584 if (kstrtou8(token, 0, &traffic_class)) ath6kl_delete_qos_write()
1590 if (kstrtou8(token, 0, &tsid)) ath6kl_delete_qos_write()
/linux-4.1.27/drivers/usb/gadget/
H A Dconfigfs.c151 ret = kstrtou8(page, 0, &val); \
500 ret = kstrtou8(page, 0, &val); gadget_config_desc_bmAttributes_store()
669 ret = kstrtou8(num_str, 0, &num); config_desc_make()
811 ret = kstrtou8(page, 0, &b_vendor_code); os_desc_b_vendor_code_store()
970 ret = kstrtou8(page, 0, &type); ext_prop_type_store()
/linux-4.1.27/drivers/mfd/
H A Dab3100-core.c517 * the kstrtou8() function. ab3100_get_set_reg()
523 err = kstrtou8(&buf[regp], 16, &user_reg); ab3100_get_set_reg()
555 err = kstrtou8(&buf[valp], 16, &user_value); ab3100_get_set_reg()
H A Dlm3533-core.c306 if (kstrtou8(buf, 0, &val)) store_output()
/linux-4.1.27/drivers/staging/iio/resolver/
H A Dad2s1210.c293 ret = kstrtou8(buf, 16, &udata); ad2s1210_store_control()
349 ret = kstrtou8(buf, 10, &udata); ad2s1210_store_resolution()
451 ret = kstrtou8(buf, 10, &data); ad2s1210_store_reg()
/linux-4.1.27/drivers/power/
H A Dds2780_battery.c485 ret = kstrtou8(buf, 0, &new_setting); ds2780_set_pmod_enabled()
533 ret = kstrtou8(buf, 0, &new_setting); ds2780_set_sense_resistor_value()
614 ret = kstrtou8(buf, 0, &new_setting); ds2780_set_pio_pin()
H A Dds2781_battery.c487 ret = kstrtou8(buf, 0, &new_setting); ds2781_set_pmod_enabled()
535 ret = kstrtou8(buf, 0, &new_setting); ds2781_set_sense_resistor_value()
616 ret = kstrtou8(buf, 0, &new_setting); ds2781_set_pio_pin()
H A Dbq24190_charger.c455 ret = kstrtou8(buf, 0, &v); bq24190_sysfs_store()
/linux-4.1.27/drivers/staging/iio/addac/
H A Dadt7316.c421 ret = kstrtou8(buf, 10, &data); adt7316_store_ad_channel()
829 ret = kstrtou8(buf, 16, &data); adt7316_store_DAC_2Vref_ch_mask()
889 ret = kstrtou8(buf, 10, &data); adt7316_store_DAC_update_mode()
946 ret = kstrtou8(buf, 16, &data); adt7316_store_update_DAC()
1088 ret = kstrtou8(buf, 16, &data); adt7316_store_DAC_internal_Vref()
1098 ret = kstrtou8(buf, 16, &data); adt7316_store_DAC_internal_Vref()
/linux-4.1.27/drivers/staging/iio/cdc/
H A Dad7746.c386 ret = kstrtou8(buf, 10, &data); ad7746_store_cap_filter_rate_setup()
426 ret = kstrtou8(buf, 10, &data); ad7746_store_vt_filter_rate_setup()
H A Dad7152.c189 ret = kstrtou8(buf, 10, &data); ad7152_store_filter_rate_setup()
H A Dad7150.c389 ret = kstrtou8(buf, 10, &data); ad7150_store_timeout()
/linux-4.1.27/arch/mips/pci/
H A Dops-tx4927.c204 if (kstrtou8(str + 7, 0, &val) == 0) tx4927_pcibios_setup()
210 if (kstrtou8(str + 8, 0, &val) == 0) tx4927_pcibios_setup()
/linux-4.1.27/drivers/staging/iio/accel/
H A Dsca3000_ring.c174 ret = kstrtou8(buf, 10, &val); sca3000_set_ring_int()
H A Dsca3000_core.c352 ret = kstrtou8(buf, 10, &val); sca3000_store_measurement_mode()
906 ret = kstrtou8(buf, 10, &val); sca3000_set_free_fall_mode()
/linux-4.1.27/drivers/input/misc/
H A Dideapad_slidebar.c189 error = kstrtou8(buf, 0, &mode); store_slidebar_mode()
H A Dadxl34x.c546 error = kstrtou8(buf, 10, &val); adxl34x_rate_store()
H A Dims-pcu.c1338 error = kstrtou8(buf, 0, &value); ims_pcu_ofn_reg_data_store()
1376 error = kstrtou8(buf, 0, &value); ims_pcu_ofn_reg_addr_store()
/linux-4.1.27/drivers/edac/
H A Dhighbank_mc_edac.c117 if (kstrtou8(buf, 16, &synd)) highbank_mc_inject_ctrl()
/linux-4.1.27/drivers/hid/
H A Dhid-gt683r.c116 if (kstrtou8(buf, 10, &sysfs_mode) || sysfs_mode > 2) mode_store()
H A Dwacom_sys.c1096 if (kstrtou8(buf, 0, &new_speed)) wacom_store_speed()
/linux-4.1.27/drivers/video/backlight/
H A Dlm3533_bl.c214 if (kstrtou8(buf, 0, &val)) store_pwm()
/linux-4.1.27/drivers/leds/
H A Dleds-lm3533.c392 if (kstrtou8(buf, 0, &val) || val > LM3533_RISEFALLTIME_MAX) store_risefalltime()
597 if (kstrtou8(buf, 0, &val)) store_pwm()
H A Dleds-blinkm.c183 ret = kstrtou8(buf, 10, &value); store_color_common()
/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7753.c190 ret = kstrtou8(buf, 10, &val); ade7753_write_8bit()
H A Dade7754.c190 ret = kstrtou8(buf, 10, &val); ade7754_write_8bit()
H A Dade7759.c189 ret = kstrtou8(buf, 10, &val); ade7759_write_8bit()
H A Dade7854.c105 ret = kstrtou8(buf, 10, &val); ade7854_write_8bit()
H A Dade7758_core.c274 ret = kstrtou8(buf, 10, &val); ade7758_write_8bit()
/linux-4.1.27/drivers/input/mouse/
H A Dtrackpoint.c135 err = kstrtou8(buf, 10, &value); trackpoint_set_int_attr()
H A Delantech.c1302 err = kstrtou8(buf, 16, &value); elantech_set_int_attr()
/linux-4.1.27/drivers/video/fbdev/via/
H A Dviafbdev.c1158 if (kstrtou8(value, 0, &reg_val) < 0) viafb_dvp0_proc_write()
1229 if (kstrtou8(value, 0, &reg_val) < 0) viafb_dvp1_proc_write()
1388 if (kstrtou8(value, 0, &reg_val.Data) < 0) viafb_vt1636_proc_write()
1425 if (kstrtou8(value, 0, &reg_val.Data) < 0) viafb_vt1636_proc_write()
/linux-4.1.27/drivers/iio/light/
H A Dlm3533-als.c549 if (kstrtou8(buf, 0, &val)) store_als_attr()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Ddebugfs-vif.c493 ret = kstrtou8(buf, 0, &value); iwl_dbgfs_low_latency_write()
/linux-4.1.27/drivers/usb/core/
H A Dsysfs.c525 if (kstrtou8(buf, 0, &besl) || besl > 15) usb2_lpm_besl_store()
/linux-4.1.27/net/mac80211/
H A Ddebugfs_netdev.c385 ret = kstrtou8(buf, 0, &val); ieee80211_if_parse_uapsd_queues()
/linux-4.1.27/kernel/
H A Dparams.c263 STANDARD_PARAM_DEF(byte, unsigned char, "%hhu", kstrtou8);
/linux-4.1.27/drivers/isdn/gigaset/
H A Dev-layer.c593 if (kstrtou8(eoc, 16, &type) || kstrtou8(psep, 16, &value)) { gigaset_handle_modem_response()
/linux-4.1.27/drivers/staging/ft1000/ft1000-usb/
H A Dft1000_hw.c689 ret_val = kstrtou8(card_nr, 10, &gCardIndex); init_ft1000_netdev()
/linux-4.1.27/include/linux/
H A Dkernel.h356 int __must_check kstrtou8(const char *s, unsigned int base, u8 *res);
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dbgmac.c1074 if (kstrtou8(buf, 0, &et_swtype)) bgmac_chip_reset()
/linux-4.1.27/drivers/platform/x86/
H A Ddell-laptop.c1705 ret = kstrtou8(buf, 10, &setting); kbd_led_als_setting_store()
/linux-4.1.27/drivers/md/
H A Ddm-crypt.c1404 if (kstrtou8(buffer, 16, &key[i])) crypt_decode_key()
/linux-4.1.27/drivers/net/can/
H A Dgrcan.c1501 ret = kstrtou8(buf, 0, &val); \
/linux-4.1.27/drivers/staging/unisys/visorchipset/
H A Dvisorchipset_main.c370 if (kstrtou8(buf, 10, &tool_action) != 0) toolaction_store()
/linux-4.1.27/drivers/tty/serial/8250/
H A D8250_core.c2999 ret = kstrtou8(buf, 10, &bytes); serial8250_set_attr_rx_trig_bytes()
/linux-4.1.27/drivers/scsi/
H A Dpmcraid.c4143 if (kstrtou8(buf, 10, &val)) pmcraid_store_log_level()

Completed in 3003 milliseconds