Home
last modified time | relevance | path

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

123

/Linux-v5.4/lib/
Dkstrtox.c332 int kstrtobool(const char *s, bool *res) in kstrtobool() function
368 EXPORT_SYMBOL(kstrtobool);
383 return kstrtobool(buf, res); in kstrtobool_from_user()
/Linux-v5.4/drivers/platform/x86/
Dlg-laptop.c283 ret = kstrtobool(buffer, &value); in fan_mode_store()
335 ret = kstrtobool(buffer, &value); in usb_charge_store()
377 ret = kstrtobool(buffer, &value); in reader_mode_store()
419 ret = kstrtobool(buffer, &value); in fn_lock_store()
Dideapad-laptop.c424 ret = kstrtobool(buf, &state); in touchpad_store()
456 ret = kstrtobool(buf, &state); in conservation_mode_store()
494 ret = kstrtobool(buf, &state); in fn_lock_store()
/Linux-v5.4/arch/s390/kernel/
Dearly.c276 rc = kstrtobool(str, &enabled); in noexec_setup()
291 rc = kstrtobool(str, &enabled); in cad_setup()
Dnospec-branch.c12 rc = kstrtobool(str, &enabled); in nobp_setup_early()
Dvdso.c104 if (!kstrtobool(str, &enabled)) in vdso_setup()
/Linux-v5.4/arch/s390/boot/
Dstring.c104 int kstrtobool(const char *s, bool *res) in kstrtobool() function
Dipl_parm.c233 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
/Linux-v5.4/drivers/staging/most/
Dconfigfs.c118 ret = kstrtobool(page, &tmp); in mdev_link_create_link_store()
138 ret = kstrtobool(page, &tmp); in mdev_link_destroy_link_store()
503 ret = kstrtobool(page, &tmp); in most_snd_grp_create_card_store()
/Linux-v5.4/arch/x86/kernel/cpu/
Dumwait.c147 ret = kstrtobool(buf, &c02_enable); in enable_c02_store()
/Linux-v5.4/drivers/s390/net/
Dqeth_l2_sys.c160 rc = kstrtobool(buf, &enable); in qeth_bridgeport_hostnotification_store()
398 if (kstrtobool(buf, &state)) in qeth_vnicc_char_store()
Dqeth_l3_sys.c363 } else if (kstrtobool(buf, &enable)) { in qeth_l3_dev_ipato_enable_store()
408 } else if (kstrtobool(buf, &invert)) { in qeth_l3_dev_ipato_invert4_store()
594 } else if (kstrtobool(buf, &invert)) { in qeth_l3_dev_ipato_invert6_store()
/Linux-v5.4/drivers/hwmon/pmbus/
Disl68137.c38 rc = kstrtobool(buf, &result); in isl68137_avs_enable_store_page()
/Linux-v5.4/drivers/fpga/
Ddfl-afu-main.c173 if (kstrtobool(buf, &ltr)) in ltr_store()
213 if (kstrtobool(buf, &clear) || !clear) in ap1_event_store()
251 if (kstrtobool(buf, &clear) || !clear) in ap2_event_store()
/Linux-v5.4/include/linux/
Dstring.h192 extern int kstrtobool(const char *s, bool *res);
195 return kstrtobool(s, res); in strtobool()
/Linux-v5.4/arch/s390/mm/
Dpage-states.c26 if (!kstrtobool(str, &enabled)) in cmma()
/Linux-v5.4/arch/powerpc/mm/
Dinit_64.c346 else if (kstrtobool(p, &val)) in parse_disable_radix()
/Linux-v5.4/drivers/usb/roles/
Dclass.c216 ret = kstrtobool(buf, &res); in role_store()
/Linux-v5.4/drivers/regulator/
Dbd9571mwv-regulator.c186 ret = kstrtobool(buf, &bdreg->bkup_mode_enabled); in backup_mode_store()
/Linux-v5.4/drivers/counter/
D104-quad-8.c282 ret = kstrtobool(buf, &preset_enable); in quad8_write_set_to_preset_on_index()
1022 err = kstrtobool(buf, &ab_enable); in quad8_count_enable_write()
1139 ret = kstrtobool(buf, &preset_enable); in quad8_count_preset_enable_write()
Dstm32-timer-cnt.c216 err = kstrtobool(buf, &enable); in stm32_count_enable_write()
/Linux-v5.4/arch/powerpc/kernel/
Drtasd.c602 return (kstrtobool(str, &full_rtas_msgs) == 0); in rtasmsgs_setup()
/Linux-v5.4/drivers/staging/fieldbus/
Ddev_core.c57 ret = kstrtobool(buf, &value); in enabled_store()
/Linux-v5.4/drivers/hwtracing/stm/
Dp_sys-t.c160 ret = kstrtobool(page, &pn->do_len); in sys_t_policy_do_len_store()
/Linux-v5.4/kernel/livepatch/
Dcore.c318 ret = kstrtobool(buf, &enabled); in enabled_store()
380 ret = kstrtobool(buf, &val); in force_store()

123