• Home
  • Raw
  • Download

Lines Matching refs:f

76 static int __name ## _show(struct seq_file *f, void *ptr)		      \
78 struct hci_dev *hdev = f->private; \
81 seq_printf(f, "%s\n", hdev->__field ? : ""); \
89 static int features_show(struct seq_file *f, void *ptr) in features_show() argument
91 struct hci_dev *hdev = f->private; in features_show()
96 seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); in features_show()
98 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
106 static int device_id_show(struct seq_file *f, void *ptr) in device_id_show() argument
108 struct hci_dev *hdev = f->private; in device_id_show()
111 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
120 static int device_list_show(struct seq_file *f, void *ptr) in device_list_show() argument
122 struct hci_dev *hdev = f->private; in device_list_show()
128 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
130 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type, in device_list_show()
140 static int blacklist_show(struct seq_file *f, void *p) in blacklist_show() argument
142 struct hci_dev *hdev = f->private; in blacklist_show()
147 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
155 static int uuids_show(struct seq_file *f, void *p) in uuids_show() argument
157 struct hci_dev *hdev = f->private; in uuids_show()
171 seq_printf(f, "%pUb\n", val); in uuids_show()
180 static int remote_oob_show(struct seq_file *f, void *ptr) in remote_oob_show() argument
182 struct hci_dev *hdev = f->private; in remote_oob_show()
187 seq_printf(f, "%pMR (type %u) %u %*phN %*phN %*phN %*phN\n", in remote_oob_show()
337 static int inquiry_cache_show(struct seq_file *f, void *p) in inquiry_cache_show() argument
339 struct hci_dev *hdev = f->private; in inquiry_cache_show()
347 seq_printf(f, "%pMR %d %d %d 0x%.2x%.2x%.2x 0x%.4x %d %d %u\n", in inquiry_cache_show()
363 static int link_keys_show(struct seq_file *f, void *ptr) in link_keys_show() argument
365 struct hci_dev *hdev = f->private; in link_keys_show()
370 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
379 static int dev_class_show(struct seq_file *f, void *ptr) in dev_class_show() argument
381 struct hci_dev *hdev = f->private; in dev_class_show()
384 seq_printf(f, "0x%.2x%.2x%.2x\n", hdev->dev_class[2], in dev_class_show()
593 static int identity_show(struct seq_file *f, void *p) in identity_show() argument
595 struct hci_dev *hdev = f->private; in identity_show()
603 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type, in identity_show()
644 static int random_address_show(struct seq_file *f, void *p) in random_address_show() argument
646 struct hci_dev *hdev = f->private; in random_address_show()
649 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
657 static int static_address_show(struct seq_file *f, void *p) in static_address_show() argument
659 struct hci_dev *hdev = f->private; in static_address_show()
662 seq_printf(f, "%pMR\n", &hdev->static_addr); in static_address_show()
713 static int white_list_show(struct seq_file *f, void *ptr) in white_list_show() argument
715 struct hci_dev *hdev = f->private; in white_list_show()
720 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
728 static int resolv_list_show(struct seq_file *f, void *ptr) in resolv_list_show() argument
730 struct hci_dev *hdev = f->private; in resolv_list_show()
735 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
743 static int identity_resolving_keys_show(struct seq_file *f, void *ptr) in identity_resolving_keys_show() argument
745 struct hci_dev *hdev = f->private; in identity_resolving_keys_show()
750 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", in identity_resolving_keys_show()
761 static int long_term_keys_show(struct seq_file *f, void *ptr) in long_term_keys_show() argument
763 struct hci_dev *hdev = f->private; in long_term_keys_show()
768 seq_printf(f, "%pMR (type %u) %u 0x%02x %u %.4x %.16llx %*phN\n", in long_term_keys_show()