Home
last modified time | relevance | path

Searched refs:kstrtobool (Results 1 – 25 of 197) sorted by relevance

12345678

/openbmc/linux/drivers/peci/
H A Dsysfs.c23 ret = kstrtobool(buf, &res); in rescan_store()
59 ret = kstrtobool(buf, &res); in remove_store()
/openbmc/linux/lib/
H A Dkstrtox.c348 int kstrtobool(const char *s, bool *res) in kstrtobool() function
389 EXPORT_SYMBOL(kstrtobool);
404 return kstrtobool(buf, res); in kstrtobool_from_user()
/openbmc/linux/drivers/usb/gadget/function/
H A Dstorage_common.c400 rc = kstrtobool(buf, &ro); in fsg_store_ro()
423 ret = kstrtobool(buf, &nofua); in fsg_store_nofua()
474 ret = kstrtobool(buf, &cdrom); in fsg_store_cdrom()
497 ret = kstrtobool(buf, &removable); in fsg_store_removable()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddisplay-sysfs.c40 r = kstrtobool(buf, &enable); in display_enabled_store()
77 r = kstrtobool(buf, &te); in display_tear_store()
187 r = kstrtobool(buf, &mirror); in display_mirror_store()
H A Dmanager-sysfs.c250 r = kstrtobool(buf, &enable); in manager_trans_key_enabled_store()
294 r = kstrtobool(buf, &enable); in manager_alpha_blending_enabled_store()
333 r = kstrtobool(buf, &enable); in manager_cpr_enable_store()
/openbmc/linux/include/linux/
H A Dkstrtox.h98 int __must_check kstrtobool(const char *s, bool *res);
152 return kstrtobool(s, res); in strtobool()
/openbmc/linux/drivers/cdx/
H A Dcdx.c309 if (kstrtobool(buf, &val) < 0) in remove_store()
333 if (kstrtobool(buf, &val) < 0) in reset_store()
390 if (kstrtobool(buf, &val) < 0) in rescan_store()
/openbmc/linux/mm/
H A Ddebug_page_alloc.c17 return kstrtobool(buf, &_debug_pagealloc_enabled_early); in early_debug_pagealloc()
H A Dpage_poison.c18 return kstrtobool(buf, &_page_poisoning_enabled_early); in early_page_poison_param()
/openbmc/linux/arch/arm64/kvm/vgic/
H A Dvgic-v3.c581 return kstrtobool(buf, &group0_trap); in early_group0_trap_cfg()
587 return kstrtobool(buf, &group1_trap); in early_group1_trap_cfg()
593 return kstrtobool(buf, &common_trap); in early_common_trap_cfg()
599 return kstrtobool(buf, &gicv4_enable); in early_gicv4_enable()
/openbmc/linux/drivers/platform/x86/
H A Dlg-laptop.c270 ret = kstrtobool(buffer, &value); in fan_mode_store()
322 ret = kstrtobool(buffer, &value); in usb_charge_store()
364 ret = kstrtobool(buffer, &value); in reader_mode_store()
406 ret = kstrtobool(buffer, &value); in fn_lock_store()
/openbmc/linux/drivers/platform/x86/intel/pmt/
H A Dcrashlog.c154 result = kstrtobool(buf, &enabled); in enable_store()
188 result = kstrtobool(buf, &trigger); in trigger_store()
/openbmc/linux/drivers/thunderbolt/
H A Dusb4_port.c125 ret = kstrtobool(buf, &val); in offline_store()
176 ret = kstrtobool(buf, &val); in rescan_store()
/openbmc/linux/arch/s390/boot/
H A Dstring.c105 int kstrtobool(const char *s, bool *res) in kstrtobool() function
/openbmc/linux/drivers/target/
H A Dtarget_core_configfs.c610 ret = kstrtobool(page, &flag); \
670 ret = kstrtobool(page, &flag); in emulate_model_alias_store()
692 ret = kstrtobool(page, &flag); in emulate_write_cache_store()
744 ret = kstrtobool(page, &flag); in emulate_tas_store()
769 ret = kstrtobool(page, &flag); in emulate_tpu_store()
799 ret = kstrtobool(page, &flag); in emulate_tpws_store()
898 ret = kstrtobool(page, &flag); in pi_prot_format_store()
935 ret = kstrtobool(page, &flag); in pi_prot_verify_store()
964 ret = kstrtobool(page, &flag); in force_pr_aptpl_store()
986 ret = kstrtobool(page, &flag); in emulate_rest_reord_store()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dnospec-branch.c12 rc = kstrtobool(str, &enabled); in nobp_setup_early()
/openbmc/linux/drivers/nvme/target/
H A Dconfigfs.c272 if (kstrtobool(page, &val)) in nvmet_param_pi_enable_store()
538 if (kstrtobool(page, &enable)) in nvmet_ns_enable_store()
570 if (kstrtobool(page, &val)) in nvmet_ns_buffered_io_store()
593 if (kstrtobool(page, &val)) in nvmet_ns_revalidate_size_store()
754 if (kstrtobool(page, &enable)) in nvmet_passthru_enable_store()
1021 if (kstrtobool(page, &allow_any_host)) in nvmet_subsys_attr_allow_any_host_store()
1411 if (kstrtobool(page, &pi_enable)) in nvmet_subsys_attr_pi_enable_store()
1540 if (kstrtobool(page, &enable)) in nvmet_referral_enable_store()
/openbmc/linux/drivers/s390/net/
H A Dqeth_l2_sys.c149 rc = kstrtobool(buf, &enable); in qeth_bridgeport_hostnotification_store()
337 if (kstrtobool(buf, &state)) in qeth_vnicc_char_store()
/openbmc/linux/drivers/misc/
H A Ddw-xdata-pcie.c226 ret = kstrtobool(buf, &enabled); in write_store()
263 ret = kstrtobool(buf, &enabled); in read_store()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_gen4_pm.c38 ret = kstrtobool(pm_idle_support_cfg, &pm_idle_support); in send_host_msg()
/openbmc/linux/drivers/iio/chemical/
H A Dsunrise_co2.c247 ret = kstrtobool(buf, &enable); in sunrise_cal_factory_write()
272 ret = kstrtobool(buf, &enable); in sunrise_cal_background_write()
/openbmc/linux/arch/x86/kernel/cpu/
H A Dumwait.c142 ret = kstrtobool(buf, &c02_enable); in enable_c02_store()
/openbmc/linux/drivers/most/
H A Dconfigfs.c120 ret = kstrtobool(page, &tmp); in mdev_link_create_link_store()
142 ret = kstrtobool(page, &tmp); in mdev_link_destroy_link_store()
547 ret = kstrtobool(page, &tmp); in most_snd_grp_create_card_store()
/openbmc/linux/drivers/iio/dac/
H A Dmcp4725.c96 ret = kstrtobool(buf, &state); in mcp4725_store_eeprom()
194 ret = kstrtobool(buf, &state); in mcp4725_write_powerdown()
/openbmc/linux/mm/damon/
H A Dreclaim.c228 err = kstrtobool(val, &enable); in damon_reclaim_enabled_store()

12345678