Lines Matching refs:f

78 static int __name ## _show(struct seq_file *f, void *ptr)		      \
80 struct hci_dev *hdev = f->private; \
83 seq_printf(f, "%s\n", hdev->__field ? : ""); \
91 static int features_show(struct seq_file *f, void *ptr) in features_show() argument
93 struct hci_dev *hdev = f->private; in features_show()
98 seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); in features_show()
100 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
108 static int device_id_show(struct seq_file *f, void *ptr) in device_id_show() argument
110 struct hci_dev *hdev = f->private; in device_id_show()
113 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
122 static int device_list_show(struct seq_file *f, void *ptr) in device_list_show() argument
124 struct hci_dev *hdev = f->private; in device_list_show()
130 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
132 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type, in device_list_show()
142 static int blacklist_show(struct seq_file *f, void *p) in blacklist_show() argument
144 struct hci_dev *hdev = f->private; in blacklist_show()
149 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
157 static int blocked_keys_show(struct seq_file *f, void *p) in blocked_keys_show() argument
159 struct hci_dev *hdev = f->private; in blocked_keys_show()
164 seq_printf(f, "%u %*phN\n", key->type, 16, key->val); in blocked_keys_show()
172 static int uuids_show(struct seq_file *f, void *p) in uuids_show() argument
174 struct hci_dev *hdev = f->private; in uuids_show()
188 seq_printf(f, "%pUb\n", val); in uuids_show()
197 static int remote_oob_show(struct seq_file *f, void *ptr) in remote_oob_show() argument
199 struct hci_dev *hdev = f->private; in remote_oob_show()
204 seq_printf(f, "%pMR (type %u) %u %*phN %*phN %*phN %*phN\n", in remote_oob_show()
360 static int inquiry_cache_show(struct seq_file *f, void *p) in inquiry_cache_show() argument
362 struct hci_dev *hdev = f->private; in inquiry_cache_show()
370 seq_printf(f, "%pMR %d %d %d 0x%.2x%.2x%.2x 0x%.4x %d %d %u\n", in inquiry_cache_show()
386 static int link_keys_show(struct seq_file *f, void *ptr) in link_keys_show() argument
388 struct hci_dev *hdev = f->private; in link_keys_show()
393 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
402 static int dev_class_show(struct seq_file *f, void *ptr) in dev_class_show() argument
404 struct hci_dev *hdev = f->private; in dev_class_show()
407 seq_printf(f, "0x%.2x%.2x%.2x\n", hdev->dev_class[2], in dev_class_show()
670 static int identity_show(struct seq_file *f, void *p) in identity_show() argument
672 struct hci_dev *hdev = f->private; in identity_show()
680 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type, in identity_show()
721 static int random_address_show(struct seq_file *f, void *p) in random_address_show() argument
723 struct hci_dev *hdev = f->private; in random_address_show()
726 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
734 static int static_address_show(struct seq_file *f, void *p) in static_address_show() argument
736 struct hci_dev *hdev = f->private; in static_address_show()
739 seq_printf(f, "%pMR\n", &hdev->static_addr); in static_address_show()
790 static int white_list_show(struct seq_file *f, void *ptr) in white_list_show() argument
792 struct hci_dev *hdev = f->private; in white_list_show()
797 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
805 static int resolv_list_show(struct seq_file *f, void *ptr) in resolv_list_show() argument
807 struct hci_dev *hdev = f->private; in resolv_list_show()
812 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
820 static int identity_resolving_keys_show(struct seq_file *f, void *ptr) in identity_resolving_keys_show() argument
822 struct hci_dev *hdev = f->private; in identity_resolving_keys_show()
827 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", in identity_resolving_keys_show()
838 static int long_term_keys_show(struct seq_file *f, void *ptr) in long_term_keys_show() argument
840 struct hci_dev *hdev = f->private; in long_term_keys_show()
845 seq_printf(f, "%pMR (type %u) %u 0x%02x %u %.4x %.16llx %*phN\n", in long_term_keys_show()