Home
last modified time | relevance | path

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

123

/Linux-v5.10/lib/
Dkstrtox.c328 int kstrtobool(const char *s, bool *res) in kstrtobool() function
364 EXPORT_SYMBOL(kstrtobool);
379 return kstrtobool(buf, res); in kstrtobool_from_user()
/Linux-v5.10/arch/s390/boot/
Dipl_parm.c262 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
275 rc = kstrtobool(val, &enabled); in parse_boot_command_line()
Dstring.c104 int kstrtobool(const char *s, bool *res) in kstrtobool() function
/Linux-v5.10/drivers/platform/x86/
Dlg-laptop.c281 ret = kstrtobool(buffer, &value); in fan_mode_store()
333 ret = kstrtobool(buffer, &value); in usb_charge_store()
375 ret = kstrtobool(buffer, &value); in reader_mode_store()
417 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.10/arch/s390/kernel/
Dnospec-branch.c12 rc = kstrtobool(str, &enabled); in nobp_setup_early()
Dvdso.c88 if (!kstrtobool(str, &enabled)) in vdso_setup()
/Linux-v5.10/drivers/s390/net/
Dqeth_l2_sys.c149 rc = kstrtobool(buf, &enable); in qeth_bridgeport_hostnotification_store()
337 if (kstrtobool(buf, &state)) in qeth_vnicc_char_store()
Dqeth_l3_sys.c307 } else if (kstrtobool(buf, &enable)) { in qeth_l3_dev_ipato_enable_store()
347 } else if (kstrtobool(buf, &invert)) { in qeth_l3_dev_ipato_invert4_store()
517 } else if (kstrtobool(buf, &invert)) { in qeth_l3_dev_ipato_invert6_store()
Dqeth_core_sys.c283 rc = kstrtobool(buf, &reset); in qeth_dev_recover_store()
313 rc = kstrtobool(buf, &reset); in qeth_dev_performance_stats_store()
/Linux-v5.10/arch/x86/kernel/cpu/
Dumwait.c142 ret = kstrtobool(buf, &c02_enable); in enable_c02_store()
/Linux-v5.10/drivers/most/
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()
/Linux-v5.10/drivers/fpga/
Ddfl-afu-main.c174 if (kstrtobool(buf, &ltr)) in ltr_store()
214 if (kstrtobool(buf, &clear) || !clear) in ap1_event_store()
252 if (kstrtobool(buf, &clear) || !clear) in ap2_event_store()
/Linux-v5.10/include/linux/
Dstring.h186 extern int kstrtobool(const char *s, bool *res);
189 return kstrtobool(s, res); in strtobool()
/Linux-v5.10/arch/s390/mm/
Dpage-states.c26 if (!kstrtobool(str, &enabled)) in cmma()
/Linux-v5.10/arch/powerpc/mm/
Dinit_64.c381 else if (kstrtobool(p, &val)) in parse_disable_radix()
/Linux-v5.10/drivers/counter/
D104-quad-8.c315 ret = kstrtobool(buf, &preset_enable); in quad8_write_set_to_preset_on_index()
1101 err = kstrtobool(buf, &ab_enable); in quad8_count_enable_write()
1252 ret = kstrtobool(buf, &preset_enable); in quad8_count_preset_enable_write()
1324 ret = kstrtobool(buf, &enable); in quad8_signal_cable_fault_enable_write()
Dstm32-timer-cnt.c218 err = kstrtobool(buf, &enable); in stm32_count_enable_write()
Dti-eqep.c289 err = kstrtobool(buf, &res); in ti_eqep_position_enable_write()
/Linux-v5.10/drivers/hwmon/pmbus/
Disl68137.c94 rc = kstrtobool(buf, &result); in isl68137_avs_enable_store_page()
/Linux-v5.10/drivers/regulator/
Dbd9571mwv-regulator.c186 ret = kstrtobool(buf, &bdreg->bkup_mode_enabled); in backup_mode_store()
/Linux-v5.10/drivers/usb/roles/
Dclass.c235 ret = kstrtobool(buf, &res); in role_store()
/Linux-v5.10/drivers/staging/fieldbus/
Ddev_core.c54 ret = kstrtobool(buf, &value); in enabled_store()
/Linux-v5.10/drivers/hwtracing/stm/
Dp_sys-t.c160 ret = kstrtobool(page, &pn->do_len); in sys_t_policy_do_len_store()
/Linux-v5.10/arch/powerpc/kernel/
Drtasd.c580 return (kstrtobool(str, &full_rtas_msgs) == 0); in rtasmsgs_setup()

123