Home
last modified time | relevance | path

Searched refs:strtobool (Results 1 – 43 of 43) sorted by relevance

/linux-4.1.27/fs/cifs/
Dcifs_debug.c270 if (strtobool(&c, &bv) == 0) { in cifs_stats_proc_write()
443 if (strtobool(&c, &bv) == 0) in cifsFYI_proc_write()
482 rc = strtobool(&c, &bv); in cifs_linux_ext_proc_write()
522 rc = strtobool(&c, &bv); in cifs_lookup_cache_proc_write()
562 rc = strtobool(&c, &bv); in traceSMB_proc_write()
639 if (strtobool(&c, &bv) == 0) { in cifs_security_flags_proc_write()
/linux-4.1.27/drivers/usb/gadget/function/
Dstorage_common.c397 rc = strtobool(buf, &ro); in fsg_store_ro()
420 ret = strtobool(buf, &nofua); in fsg_store_nofua()
471 ret = strtobool(buf, &cdrom); in fsg_store_cdrom()
494 ret = strtobool(buf, &removable); in fsg_store_removable()
Df_mass_storage.c3381 ret = strtobool(page, &stall); in fsg_opts_stall_store()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Ddisplay-sysfs.c50 r = strtobool(buf, &enable); in display_enabled_store()
87 r = strtobool(buf, &te); in display_tear_store()
197 r = strtobool(buf, &mirror); in display_mirror_store()
Dmanager-sysfs.c266 r = strtobool(buf, &enable); in manager_trans_key_enabled_store()
310 r = strtobool(buf, &enable); in manager_alpha_blending_enabled_store()
349 r = strtobool(buf, &enable); in manager_cpr_enable_store()
Doverlay-sysfs.c224 r = strtobool(buf, &enable); in overlay_enabled_store()
/linux-4.1.27/drivers/iio/dac/
Dmcp4725.c81 ret = strtobool(buf, &state); in mcp4725_store_eeprom()
171 ret = strtobool(buf, &state); in mcp4725_write_powerdown()
Dad5624r_spi.c133 ret = strtobool(buf, &pwr_down); in ad5624r_write_dac_powerdown()
Dad7303.c79 ret = strtobool(buf, &pwr_down); in ad7303_write_dac_powerdown()
Dad5504.c187 ret = strtobool(buf, &pwr_down); in ad5504_write_dac_powerdown()
Dad5686.c182 ret = strtobool(buf, &readin); in ad5686_write_dac_powerdown()
Dmax5821.c122 ret = strtobool(buf, &powerdown); in max5821_write_dac_powerdown()
Dad5791.c194 ret = strtobool(buf, &pwr_down); in ad5791_write_dac_powerdown()
Dad5380.c98 ret = strtobool(buf, &pwr_down); in ad5380_write_dac_powerdown()
Dad5446.c110 ret = strtobool(buf, &powerdown); in ad5446_write_dac_powerdown()
Dad5360.c285 ret = strtobool(buf, &pwr_down); in ad5360_write_dac_powerdown()
Dad5064.c200 ret = strtobool(buf, &pwr_down); in ad5064_write_dac_powerdown()
Dad5755.c363 ret = strtobool(buf, &pwr_down); in ad5755_write_powerdown()
/linux-4.1.27/include/linux/
Dstring.h126 extern int strtobool(const char *s, bool *res);
/linux-4.1.27/lib/
Dstring.c553 int strtobool(const char *s, bool *res) in strtobool() function
571 EXPORT_SYMBOL(strtobool);
/linux-4.1.27/drivers/bluetooth/
Dbtmrvl_debugfs.c182 if (strtobool(buf, &result)) in btmrvl_fwdump_write()
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dtx99.c190 if (strtobool(buf, &start)) in write_file_tx99()
/linux-4.1.27/drivers/iio/
Dindustrialio-buffer.c330 ret = strtobool(buf, &state); in iio_scan_el_store()
375 ret = strtobool(buf, &state); in iio_scan_el_ts_store()
790 ret = strtobool(buf, &requested_state); in iio_buffer_store_enable()
Dindustrialio-event.c241 ret = strtobool(buf, &val); in iio_ev_state_store()
/linux-4.1.27/drivers/staging/iio/cdc/
Dad7152.c106 ret = strtobool(buf, &doit); in ad7152_start_calib()
Dad7746.c295 ret = strtobool(buf, &doit); in ad7746_start_calib()
/linux-4.1.27/drivers/staging/iio/accel/
Dadis16220_core.c85 ret = strtobool(buf, &val); in adis16220_write_capture()
/linux-4.1.27/net/bluetooth/
Dhci_debugfs.c61 if (strtobool(buf, &enable)) \
778 if (strtobool(buf, &enable)) in force_static_address_write()
Dsmp.c3215 if (strtobool(buf, &enable)) in force_bredr_smp_write()
Dhci_core.c106 if (strtobool(buf, &enable)) in dut_mode_write()
/linux-4.1.27/drivers/staging/iio/light/
Dtsl2x7x_core.c924 if (strtobool(buf, &value)) in tsl2x7x_power_state_store()
1125 if (strtobool(buf, &value)) in tsl2x7x_do_calibrate()
1206 if (strtobool(buf, &value)) in tsl2x7x_do_prox_calibrate()
/linux-4.1.27/fs/debugfs/
Dfile.c478 if (strtobool(buf, &bv) == 0) in write_file_bool()
/linux-4.1.27/drivers/video/fbdev/omap2/omapfb/
Domapfb-sysfs.c111 r = strtobool(buf, &mirror); in store_mirror()
/linux-4.1.27/drivers/staging/iio/adc/
Dad7192.c416 ret = strtobool(buf, &val); in ad7192_set()
Dad7280a.c406 ret = strtobool(buf, &readin); in ad7280_store_balance_sw()
/linux-4.1.27/drivers/powercap/
Dpowercap_sys.c462 if (strtobool(buf, &mode)) in enabled_store()
/linux-4.1.27/drivers/acpi/
Dsysfs.c795 ret = strtobool(buf, &val); in force_remove_store()
/linux-4.1.27/drivers/pci/pcie/
Daspm.c890 if (strtobool(buf, &state)) in clk_ctl_store()
/linux-4.1.27/drivers/base/
Dcore.c202 if (strtobool(buf, ea->var) < 0) in device_store_bool()
444 ret = strtobool(buf, &val); in online_store()
/linux-4.1.27/drivers/iio/frequency/
Dad9523.c505 ret = strtobool(buf, &state); in ad9523_store()
/linux-4.1.27/kernel/
Dparams.c320 return strtobool(val, kp->arg); in param_set_bool()
/linux-4.1.27/drivers/usb/core/
Dsysfs.c471 ret = strtobool(buf, &value); in usb2_hardware_lpm_store()
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c777 ret = strtobool(page, &use); in os_desc_use_store()