Lines Matching refs:hdev

37 	struct hci_dev *hdev = file->private_data;			      \
40 buf[0] = test_bit(__quirk, &hdev->quirks) ? 'Y' : 'N'; \
50 struct hci_dev *hdev = file->private_data; \
54 if (test_bit(HCI_UP, &hdev->flags)) \
61 if (enable == test_bit(__quirk, &hdev->quirks)) \
64 change_bit(__quirk, &hdev->quirks); \
79 struct hci_dev *hdev = f->private; \
81 hci_dev_lock(hdev); \
82 seq_printf(f, "%s\n", hdev->__field ? : ""); \
83 hci_dev_unlock(hdev); \
92 struct hci_dev *hdev = f->private; in features_show() local
95 hci_dev_lock(hdev); in features_show()
96 for (p = 0; p < HCI_MAX_PAGES && p <= hdev->max_page; p++) in features_show()
97 seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); in features_show()
98 if (lmp_le_capable(hdev)) in features_show()
99 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
100 hci_dev_unlock(hdev); in features_show()
109 struct hci_dev *hdev = f->private; in device_id_show() local
111 hci_dev_lock(hdev); in device_id_show()
112 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
113 hdev->devid_vendor, hdev->devid_product, hdev->devid_version); in device_id_show()
114 hci_dev_unlock(hdev); in device_id_show()
123 struct hci_dev *hdev = f->private; in device_list_show() local
127 hci_dev_lock(hdev); in device_list_show()
128 list_for_each_entry(b, &hdev->whitelist, list) in device_list_show()
130 list_for_each_entry(p, &hdev->le_conn_params, list) { in device_list_show()
134 hci_dev_unlock(hdev); in device_list_show()
143 struct hci_dev *hdev = f->private; in blacklist_show() local
146 hci_dev_lock(hdev); in blacklist_show()
147 list_for_each_entry(b, &hdev->blacklist, list) in blacklist_show()
149 hci_dev_unlock(hdev); in blacklist_show()
158 struct hci_dev *hdev = f->private; in blocked_keys_show() local
162 list_for_each_entry_rcu(key, &hdev->blocked_keys, list) in blocked_keys_show()
173 struct hci_dev *hdev = f->private; in uuids_show() local
176 hci_dev_lock(hdev); in uuids_show()
177 list_for_each_entry(uuid, &hdev->uuids, list) { in uuids_show()
189 hci_dev_unlock(hdev); in uuids_show()
198 struct hci_dev *hdev = f->private; in remote_oob_show() local
201 hci_dev_lock(hdev); in remote_oob_show()
202 list_for_each_entry(data, &hdev->remote_oob_data, list) { in remote_oob_show()
208 hci_dev_unlock(hdev); in remote_oob_show()
217 struct hci_dev *hdev = data; in conn_info_min_age_set() local
219 if (val == 0 || val > hdev->conn_info_max_age) in conn_info_min_age_set()
222 hci_dev_lock(hdev); in conn_info_min_age_set()
223 hdev->conn_info_min_age = val; in conn_info_min_age_set()
224 hci_dev_unlock(hdev); in conn_info_min_age_set()
231 struct hci_dev *hdev = data; in conn_info_min_age_get() local
233 hci_dev_lock(hdev); in conn_info_min_age_get()
234 *val = hdev->conn_info_min_age; in conn_info_min_age_get()
235 hci_dev_unlock(hdev); in conn_info_min_age_get()
245 struct hci_dev *hdev = data; in conn_info_max_age_set() local
247 if (val == 0 || val < hdev->conn_info_min_age) in conn_info_max_age_set()
250 hci_dev_lock(hdev); in conn_info_max_age_set()
251 hdev->conn_info_max_age = val; in conn_info_max_age_set()
252 hci_dev_unlock(hdev); in conn_info_max_age_set()
259 struct hci_dev *hdev = data; in conn_info_max_age_get() local
261 hci_dev_lock(hdev); in conn_info_max_age_get()
262 *val = hdev->conn_info_max_age; in conn_info_max_age_get()
263 hci_dev_unlock(hdev); in conn_info_max_age_get()
274 struct hci_dev *hdev = file->private_data; in use_debug_keys_read() local
277 buf[0] = hci_dev_test_flag(hdev, HCI_USE_DEBUG_KEYS) ? 'Y': 'N'; in use_debug_keys_read()
292 struct hci_dev *hdev = file->private_data; in sc_only_mode_read() local
295 buf[0] = hci_dev_test_flag(hdev, HCI_SC_ONLY) ? 'Y': 'N'; in sc_only_mode_read()
310 void hci_debugfs_create_common(struct hci_dev *hdev) in hci_debugfs_create_common() argument
312 debugfs_create_file("features", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
314 debugfs_create_u16("manufacturer", 0444, hdev->debugfs, in hci_debugfs_create_common()
315 &hdev->manufacturer); in hci_debugfs_create_common()
316 debugfs_create_u8("hci_version", 0444, hdev->debugfs, &hdev->hci_ver); in hci_debugfs_create_common()
317 debugfs_create_u16("hci_revision", 0444, hdev->debugfs, &hdev->hci_rev); in hci_debugfs_create_common()
318 debugfs_create_u8("hardware_error", 0444, hdev->debugfs, in hci_debugfs_create_common()
319 &hdev->hw_error_code); in hci_debugfs_create_common()
320 debugfs_create_file("device_id", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
323 debugfs_create_file("device_list", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
325 debugfs_create_file("blacklist", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
327 debugfs_create_file("blocked_keys", 0444, hdev->debugfs, hdev, in hci_debugfs_create_common()
329 debugfs_create_file("uuids", 0444, hdev->debugfs, hdev, &uuids_fops); in hci_debugfs_create_common()
330 debugfs_create_file("remote_oob", 0400, hdev->debugfs, hdev, in hci_debugfs_create_common()
333 debugfs_create_file("conn_info_min_age", 0644, hdev->debugfs, hdev, in hci_debugfs_create_common()
335 debugfs_create_file("conn_info_max_age", 0644, hdev->debugfs, hdev, in hci_debugfs_create_common()
338 if (lmp_ssp_capable(hdev) || lmp_le_capable(hdev)) in hci_debugfs_create_common()
339 debugfs_create_file("use_debug_keys", 0444, hdev->debugfs, in hci_debugfs_create_common()
340 hdev, &use_debug_keys_fops); in hci_debugfs_create_common()
342 if (lmp_sc_capable(hdev) || lmp_le_capable(hdev)) in hci_debugfs_create_common()
343 debugfs_create_file("sc_only_mode", 0444, hdev->debugfs, in hci_debugfs_create_common()
344 hdev, &sc_only_mode_fops); in hci_debugfs_create_common()
346 if (hdev->hw_info) in hci_debugfs_create_common()
347 debugfs_create_file("hardware_info", 0444, hdev->debugfs, in hci_debugfs_create_common()
348 hdev, &hardware_info_fops); in hci_debugfs_create_common()
350 if (hdev->fw_info) in hci_debugfs_create_common()
351 debugfs_create_file("firmware_info", 0444, hdev->debugfs, in hci_debugfs_create_common()
352 hdev, &firmware_info_fops); in hci_debugfs_create_common()
357 struct hci_dev *hdev = f->private; in inquiry_cache_show() local
358 struct discovery_state *cache = &hdev->discovery; in inquiry_cache_show()
361 hci_dev_lock(hdev); in inquiry_cache_show()
374 hci_dev_unlock(hdev); in inquiry_cache_show()
383 struct hci_dev *hdev = f->private; in link_keys_show() local
387 list_for_each_entry_rcu(key, &hdev->link_keys, list) in link_keys_show()
399 struct hci_dev *hdev = f->private; in dev_class_show() local
401 hci_dev_lock(hdev); in dev_class_show()
402 seq_printf(f, "0x%.2x%.2x%.2x\n", hdev->dev_class[2], in dev_class_show()
403 hdev->dev_class[1], hdev->dev_class[0]); in dev_class_show()
404 hci_dev_unlock(hdev); in dev_class_show()
413 struct hci_dev *hdev = data; in voice_setting_get() local
415 hci_dev_lock(hdev); in voice_setting_get()
416 *val = hdev->voice_setting; in voice_setting_get()
417 hci_dev_unlock(hdev); in voice_setting_get()
428 struct hci_dev *hdev = file->private_data; in ssp_debug_mode_read() local
431 buf[0] = hdev->ssp_debug_mode ? 'Y': 'N'; in ssp_debug_mode_read()
445 struct hci_dev *hdev = data; in auto_accept_delay_set() local
447 hci_dev_lock(hdev); in auto_accept_delay_set()
448 hdev->auto_accept_delay = val; in auto_accept_delay_set()
449 hci_dev_unlock(hdev); in auto_accept_delay_set()
456 struct hci_dev *hdev = data; in min_encrypt_key_size_set() local
461 hci_dev_lock(hdev); in min_encrypt_key_size_set()
462 hdev->min_enc_key_size = val; in min_encrypt_key_size_set()
463 hci_dev_unlock(hdev); in min_encrypt_key_size_set()
470 struct hci_dev *hdev = data; in min_encrypt_key_size_get() local
472 hci_dev_lock(hdev); in min_encrypt_key_size_get()
473 *val = hdev->min_enc_key_size; in min_encrypt_key_size_get()
474 hci_dev_unlock(hdev); in min_encrypt_key_size_get()
485 struct hci_dev *hdev = data; in auto_accept_delay_get() local
487 hci_dev_lock(hdev); in auto_accept_delay_get()
488 *val = hdev->auto_accept_delay; in auto_accept_delay_get()
489 hci_dev_unlock(hdev); in auto_accept_delay_get()
499 struct hci_dev *hdev = data; in idle_timeout_set() local
504 hci_dev_lock(hdev); in idle_timeout_set()
505 hdev->idle_timeout = val; in idle_timeout_set()
506 hci_dev_unlock(hdev); in idle_timeout_set()
513 struct hci_dev *hdev = data; in idle_timeout_get() local
515 hci_dev_lock(hdev); in idle_timeout_get()
516 *val = hdev->idle_timeout; in idle_timeout_get()
517 hci_dev_unlock(hdev); in idle_timeout_get()
527 struct hci_dev *hdev = data; in sniff_min_interval_set() local
529 if (val == 0 || val % 2 || val > hdev->sniff_max_interval) in sniff_min_interval_set()
532 hci_dev_lock(hdev); in sniff_min_interval_set()
533 hdev->sniff_min_interval = val; in sniff_min_interval_set()
534 hci_dev_unlock(hdev); in sniff_min_interval_set()
541 struct hci_dev *hdev = data; in sniff_min_interval_get() local
543 hci_dev_lock(hdev); in sniff_min_interval_get()
544 *val = hdev->sniff_min_interval; in sniff_min_interval_get()
545 hci_dev_unlock(hdev); in sniff_min_interval_get()
555 struct hci_dev *hdev = data; in sniff_max_interval_set() local
557 if (val == 0 || val % 2 || val < hdev->sniff_min_interval) in sniff_max_interval_set()
560 hci_dev_lock(hdev); in sniff_max_interval_set()
561 hdev->sniff_max_interval = val; in sniff_max_interval_set()
562 hci_dev_unlock(hdev); in sniff_max_interval_set()
569 struct hci_dev *hdev = data; in sniff_max_interval_get() local
571 hci_dev_lock(hdev); in sniff_max_interval_get()
572 *val = hdev->sniff_max_interval; in sniff_max_interval_get()
573 hci_dev_unlock(hdev); in sniff_max_interval_get()
581 void hci_debugfs_create_bredr(struct hci_dev *hdev) in hci_debugfs_create_bredr() argument
583 debugfs_create_file("inquiry_cache", 0444, hdev->debugfs, hdev, in hci_debugfs_create_bredr()
585 debugfs_create_file("link_keys", 0400, hdev->debugfs, hdev, in hci_debugfs_create_bredr()
587 debugfs_create_file("dev_class", 0444, hdev->debugfs, hdev, in hci_debugfs_create_bredr()
589 debugfs_create_file("voice_setting", 0444, hdev->debugfs, hdev, in hci_debugfs_create_bredr()
592 if (lmp_ssp_capable(hdev)) { in hci_debugfs_create_bredr()
593 debugfs_create_file("ssp_debug_mode", 0444, hdev->debugfs, in hci_debugfs_create_bredr()
594 hdev, &ssp_debug_mode_fops); in hci_debugfs_create_bredr()
595 debugfs_create_file("min_encrypt_key_size", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
596 hdev, &min_encrypt_key_size_fops); in hci_debugfs_create_bredr()
597 debugfs_create_file("auto_accept_delay", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
598 hdev, &auto_accept_delay_fops); in hci_debugfs_create_bredr()
601 if (lmp_sniff_capable(hdev)) { in hci_debugfs_create_bredr()
602 debugfs_create_file("idle_timeout", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
603 hdev, &idle_timeout_fops); in hci_debugfs_create_bredr()
604 debugfs_create_file("sniff_min_interval", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
605 hdev, &sniff_min_interval_fops); in hci_debugfs_create_bredr()
606 debugfs_create_file("sniff_max_interval", 0644, hdev->debugfs, in hci_debugfs_create_bredr()
607 hdev, &sniff_max_interval_fops); in hci_debugfs_create_bredr()
613 struct hci_dev *hdev = f->private; in identity_show() local
617 hci_dev_lock(hdev); in identity_show()
619 hci_copy_identity_address(hdev, &addr, &addr_type); in identity_show()
622 16, hdev->irk, &hdev->rpa); in identity_show()
624 hci_dev_unlock(hdev); in identity_show()
633 struct hci_dev *hdev = data; in rpa_timeout_set() local
641 hci_dev_lock(hdev); in rpa_timeout_set()
642 hdev->rpa_timeout = val; in rpa_timeout_set()
643 hci_dev_unlock(hdev); in rpa_timeout_set()
650 struct hci_dev *hdev = data; in rpa_timeout_get() local
652 hci_dev_lock(hdev); in rpa_timeout_get()
653 *val = hdev->rpa_timeout; in rpa_timeout_get()
654 hci_dev_unlock(hdev); in rpa_timeout_get()
664 struct hci_dev *hdev = f->private; in random_address_show() local
666 hci_dev_lock(hdev); in random_address_show()
667 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
668 hci_dev_unlock(hdev); in random_address_show()
677 struct hci_dev *hdev = f->private; in static_address_show() local
679 hci_dev_lock(hdev); in static_address_show()
680 seq_printf(f, "%pMR\n", &hdev->static_addr); in static_address_show()
681 hci_dev_unlock(hdev); in static_address_show()
692 struct hci_dev *hdev = file->private_data; in force_static_address_read() local
695 buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR) ? 'Y': 'N'; in force_static_address_read()
705 struct hci_dev *hdev = file->private_data; in force_static_address_write() local
709 if (test_bit(HCI_UP, &hdev->flags)) in force_static_address_write()
716 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_STATIC_ADDR)) in force_static_address_write()
719 hci_dev_change_flag(hdev, HCI_FORCE_STATIC_ADDR); in force_static_address_write()
733 struct hci_dev *hdev = f->private; in white_list_show() local
736 hci_dev_lock(hdev); in white_list_show()
737 list_for_each_entry(b, &hdev->le_white_list, list) in white_list_show()
739 hci_dev_unlock(hdev); in white_list_show()
748 struct hci_dev *hdev = f->private; in resolv_list_show() local
751 hci_dev_lock(hdev); in resolv_list_show()
752 list_for_each_entry(b, &hdev->le_resolv_list, list) in resolv_list_show()
754 hci_dev_unlock(hdev); in resolv_list_show()
763 struct hci_dev *hdev = f->private; in identity_resolving_keys_show() local
767 list_for_each_entry_rcu(irk, &hdev->identity_resolving_keys, list) { in identity_resolving_keys_show()
781 struct hci_dev *hdev = f->private; in long_term_keys_show() local
785 list_for_each_entry_rcu(ltk, &hdev->long_term_keys, list) in long_term_keys_show()
799 struct hci_dev *hdev = data; in conn_min_interval_set() local
801 if (val < 0x0006 || val > 0x0c80 || val > hdev->le_conn_max_interval) in conn_min_interval_set()
804 hci_dev_lock(hdev); in conn_min_interval_set()
805 hdev->le_conn_min_interval = val; in conn_min_interval_set()
806 hci_dev_unlock(hdev); in conn_min_interval_set()
813 struct hci_dev *hdev = data; in conn_min_interval_get() local
815 hci_dev_lock(hdev); in conn_min_interval_get()
816 *val = hdev->le_conn_min_interval; in conn_min_interval_get()
817 hci_dev_unlock(hdev); in conn_min_interval_get()
827 struct hci_dev *hdev = data; in conn_max_interval_set() local
829 if (val < 0x0006 || val > 0x0c80 || val < hdev->le_conn_min_interval) in conn_max_interval_set()
832 hci_dev_lock(hdev); in conn_max_interval_set()
833 hdev->le_conn_max_interval = val; in conn_max_interval_set()
834 hci_dev_unlock(hdev); in conn_max_interval_set()
841 struct hci_dev *hdev = data; in conn_max_interval_get() local
843 hci_dev_lock(hdev); in conn_max_interval_get()
844 *val = hdev->le_conn_max_interval; in conn_max_interval_get()
845 hci_dev_unlock(hdev); in conn_max_interval_get()
855 struct hci_dev *hdev = data; in conn_latency_set() local
860 hci_dev_lock(hdev); in conn_latency_set()
861 hdev->le_conn_latency = val; in conn_latency_set()
862 hci_dev_unlock(hdev); in conn_latency_set()
869 struct hci_dev *hdev = data; in conn_latency_get() local
871 hci_dev_lock(hdev); in conn_latency_get()
872 *val = hdev->le_conn_latency; in conn_latency_get()
873 hci_dev_unlock(hdev); in conn_latency_get()
883 struct hci_dev *hdev = data; in supervision_timeout_set() local
888 hci_dev_lock(hdev); in supervision_timeout_set()
889 hdev->le_supv_timeout = val; in supervision_timeout_set()
890 hci_dev_unlock(hdev); in supervision_timeout_set()
897 struct hci_dev *hdev = data; in supervision_timeout_get() local
899 hci_dev_lock(hdev); in supervision_timeout_get()
900 *val = hdev->le_supv_timeout; in supervision_timeout_get()
901 hci_dev_unlock(hdev); in supervision_timeout_get()
911 struct hci_dev *hdev = data; in adv_channel_map_set() local
916 hci_dev_lock(hdev); in adv_channel_map_set()
917 hdev->le_adv_channel_map = val; in adv_channel_map_set()
918 hci_dev_unlock(hdev); in adv_channel_map_set()
925 struct hci_dev *hdev = data; in adv_channel_map_get() local
927 hci_dev_lock(hdev); in adv_channel_map_get()
928 *val = hdev->le_adv_channel_map; in adv_channel_map_get()
929 hci_dev_unlock(hdev); in adv_channel_map_get()
939 struct hci_dev *hdev = data; in adv_min_interval_set() local
941 if (val < 0x0020 || val > 0x4000 || val > hdev->le_adv_max_interval) in adv_min_interval_set()
944 hci_dev_lock(hdev); in adv_min_interval_set()
945 hdev->le_adv_min_interval = val; in adv_min_interval_set()
946 hci_dev_unlock(hdev); in adv_min_interval_set()
953 struct hci_dev *hdev = data; in adv_min_interval_get() local
955 hci_dev_lock(hdev); in adv_min_interval_get()
956 *val = hdev->le_adv_min_interval; in adv_min_interval_get()
957 hci_dev_unlock(hdev); in adv_min_interval_get()
967 struct hci_dev *hdev = data; in adv_max_interval_set() local
969 if (val < 0x0020 || val > 0x4000 || val < hdev->le_adv_min_interval) in adv_max_interval_set()
972 hci_dev_lock(hdev); in adv_max_interval_set()
973 hdev->le_adv_max_interval = val; in adv_max_interval_set()
974 hci_dev_unlock(hdev); in adv_max_interval_set()
981 struct hci_dev *hdev = data; in adv_max_interval_get() local
983 hci_dev_lock(hdev); in adv_max_interval_get()
984 *val = hdev->le_adv_max_interval; in adv_max_interval_get()
985 hci_dev_unlock(hdev); in adv_max_interval_get()
995 struct hci_dev *hdev = data; in min_key_size_set() local
997 if (val > hdev->le_max_key_size || val < SMP_MIN_ENC_KEY_SIZE) in min_key_size_set()
1000 hci_dev_lock(hdev); in min_key_size_set()
1001 hdev->le_min_key_size = val; in min_key_size_set()
1002 hci_dev_unlock(hdev); in min_key_size_set()
1009 struct hci_dev *hdev = data; in min_key_size_get() local
1011 hci_dev_lock(hdev); in min_key_size_get()
1012 *val = hdev->le_min_key_size; in min_key_size_get()
1013 hci_dev_unlock(hdev); in min_key_size_get()
1023 struct hci_dev *hdev = data; in max_key_size_set() local
1025 if (val > SMP_MAX_ENC_KEY_SIZE || val < hdev->le_min_key_size) in max_key_size_set()
1028 hci_dev_lock(hdev); in max_key_size_set()
1029 hdev->le_max_key_size = val; in max_key_size_set()
1030 hci_dev_unlock(hdev); in max_key_size_set()
1037 struct hci_dev *hdev = data; in max_key_size_get() local
1039 hci_dev_lock(hdev); in max_key_size_get()
1040 *val = hdev->le_max_key_size; in max_key_size_get()
1041 hci_dev_unlock(hdev); in max_key_size_get()
1051 struct hci_dev *hdev = data; in auth_payload_timeout_set() local
1056 hci_dev_lock(hdev); in auth_payload_timeout_set()
1057 hdev->auth_payload_timeout = val; in auth_payload_timeout_set()
1058 hci_dev_unlock(hdev); in auth_payload_timeout_set()
1065 struct hci_dev *hdev = data; in auth_payload_timeout_get() local
1067 hci_dev_lock(hdev); in auth_payload_timeout_get()
1068 *val = hdev->auth_payload_timeout; in auth_payload_timeout_get()
1069 hci_dev_unlock(hdev); in auth_payload_timeout_get()
1082 struct hci_dev *hdev = file->private_data; in force_no_mitm_read() local
1085 buf[0] = hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM) ? 'Y' : 'N'; in force_no_mitm_read()
1095 struct hci_dev *hdev = file->private_data; in force_no_mitm_write() local
1107 if (enable == hci_dev_test_flag(hdev, HCI_FORCE_NO_MITM)) in force_no_mitm_write()
1110 hci_dev_change_flag(hdev, HCI_FORCE_NO_MITM); in force_no_mitm_write()
1127 void hci_debugfs_create_le(struct hci_dev *hdev) in hci_debugfs_create_le() argument
1129 debugfs_create_file("identity", 0400, hdev->debugfs, hdev, in hci_debugfs_create_le()
1131 debugfs_create_file("rpa_timeout", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1133 debugfs_create_file("random_address", 0444, hdev->debugfs, hdev, in hci_debugfs_create_le()
1135 debugfs_create_file("static_address", 0444, hdev->debugfs, hdev, in hci_debugfs_create_le()
1142 if (bacmp(&hdev->bdaddr, BDADDR_ANY)) in hci_debugfs_create_le()
1144 hdev->debugfs, hdev, in hci_debugfs_create_le()
1147 debugfs_create_u8("white_list_size", 0444, hdev->debugfs, in hci_debugfs_create_le()
1148 &hdev->le_white_list_size); in hci_debugfs_create_le()
1149 debugfs_create_file("white_list", 0444, hdev->debugfs, hdev, in hci_debugfs_create_le()
1151 debugfs_create_u8("resolv_list_size", 0444, hdev->debugfs, in hci_debugfs_create_le()
1152 &hdev->le_resolv_list_size); in hci_debugfs_create_le()
1153 debugfs_create_file("resolv_list", 0444, hdev->debugfs, hdev, in hci_debugfs_create_le()
1155 debugfs_create_file("identity_resolving_keys", 0400, hdev->debugfs, in hci_debugfs_create_le()
1156 hdev, &identity_resolving_keys_fops); in hci_debugfs_create_le()
1157 debugfs_create_file("long_term_keys", 0400, hdev->debugfs, hdev, in hci_debugfs_create_le()
1159 debugfs_create_file("conn_min_interval", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1161 debugfs_create_file("conn_max_interval", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1163 debugfs_create_file("conn_latency", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1165 debugfs_create_file("supervision_timeout", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1167 debugfs_create_file("adv_channel_map", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1169 debugfs_create_file("adv_min_interval", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1171 debugfs_create_file("adv_max_interval", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1173 debugfs_create_u16("discov_interleaved_timeout", 0644, hdev->debugfs, in hci_debugfs_create_le()
1174 &hdev->discov_interleaved_timeout); in hci_debugfs_create_le()
1175 debugfs_create_file("min_key_size", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1177 debugfs_create_file("max_key_size", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1179 debugfs_create_file("auth_payload_timeout", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1181 debugfs_create_file("force_no_mitm", 0644, hdev->debugfs, hdev, in hci_debugfs_create_le()
1185 hdev->debugfs, hdev, in hci_debugfs_create_le()
1188 hdev->debugfs, hdev, in hci_debugfs_create_le()
1194 struct hci_dev *hdev = conn->hdev; in hci_debugfs_create_conn() local
1197 if (IS_ERR_OR_NULL(hdev->debugfs)) in hci_debugfs_create_conn()
1201 conn->debugfs = debugfs_create_dir(name, hdev->debugfs); in hci_debugfs_create_conn()