Lines Matching refs:enable
51 bool enable; \
57 err = kstrtobool_from_user(user_buf, count, &enable); \
61 if (enable == test_bit(__quirk, &hdev->quirks)) \
515 bool enable; in force_bredr_smp_write() local
518 err = kstrtobool_from_user(user_buf, count, &enable); in force_bredr_smp_write()
522 err = smp_force_bredr(hdev, enable); in force_bredr_smp_write()
756 bool enable; in force_static_address_write() local
762 err = kstrtobool_from_user(user_buf, count, &enable); in force_static_address_write()
766 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR)) in force_static_address_write()
1152 bool enable; in force_no_mitm_write() local
1158 if (strtobool(buf, &enable)) in force_no_mitm_write()
1161 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM)) in force_no_mitm_write()