Lines Matching refs:f

77 static int __name ## _show(struct seq_file *f, void *ptr)		      \
79 struct hci_dev *hdev = f->private; \
82 seq_printf(f, "%s\n", hdev->__field ? : ""); \
90 static int features_show(struct seq_file *f, void *ptr) in features_show() argument
92 struct hci_dev *hdev = f->private; in features_show()
97 seq_printf(f, "%2u: %8ph\n", p, hdev->features[p]); in features_show()
99 seq_printf(f, "LE: %8ph\n", hdev->le_features); in features_show()
107 static int device_id_show(struct seq_file *f, void *ptr) in device_id_show() argument
109 struct hci_dev *hdev = f->private; in device_id_show()
112 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
121 static int device_list_show(struct seq_file *f, void *ptr) in device_list_show() argument
123 struct hci_dev *hdev = f->private; in device_list_show()
129 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
131 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type, in device_list_show()
141 static int blacklist_show(struct seq_file *f, void *p) in blacklist_show() argument
143 struct hci_dev *hdev = f->private; in blacklist_show()
148 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
156 static int blocked_keys_show(struct seq_file *f, void *p) in blocked_keys_show() argument
158 struct hci_dev *hdev = f->private; in blocked_keys_show()
163 seq_printf(f, "%u %*phN\n", key->type, 16, key->val); in blocked_keys_show()
171 static int uuids_show(struct seq_file *f, void *p) in uuids_show() argument
173 struct hci_dev *hdev = f->private; in uuids_show()
187 seq_printf(f, "%pUb\n", val); in uuids_show()
196 static int remote_oob_show(struct seq_file *f, void *ptr) in remote_oob_show() argument
198 struct hci_dev *hdev = f->private; in remote_oob_show()
203 seq_printf(f, "%pMR (type %u) %u %*phN %*phN %*phN %*phN\n", in remote_oob_show()
355 static int inquiry_cache_show(struct seq_file *f, void *p) in inquiry_cache_show() argument
357 struct hci_dev *hdev = f->private; in inquiry_cache_show()
365 seq_printf(f, "%pMR %d %d %d 0x%.2x%.2x%.2x 0x%.4x %d %d %u\n", in inquiry_cache_show()
381 static int link_keys_show(struct seq_file *f, void *ptr) in link_keys_show() argument
383 struct hci_dev *hdev = f->private; in link_keys_show()
388 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
397 static int dev_class_show(struct seq_file *f, void *ptr) in dev_class_show() argument
399 struct hci_dev *hdev = f->private; in dev_class_show()
402 seq_printf(f, "0x%.2x%.2x%.2x\n", hdev->dev_class[2], in dev_class_show()
611 static int identity_show(struct seq_file *f, void *p) in identity_show() argument
613 struct hci_dev *hdev = f->private; in identity_show()
621 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type, in identity_show()
662 static int random_address_show(struct seq_file *f, void *p) in random_address_show() argument
664 struct hci_dev *hdev = f->private; in random_address_show()
667 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
675 static int static_address_show(struct seq_file *f, void *p) in static_address_show() argument
677 struct hci_dev *hdev = f->private; in static_address_show()
680 seq_printf(f, "%pMR\n", &hdev->static_addr); in static_address_show()
731 static int white_list_show(struct seq_file *f, void *ptr) in white_list_show() argument
733 struct hci_dev *hdev = f->private; in white_list_show()
738 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
746 static int resolv_list_show(struct seq_file *f, void *ptr) in resolv_list_show() argument
748 struct hci_dev *hdev = f->private; in resolv_list_show()
753 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in resolv_list_show()
761 static int identity_resolving_keys_show(struct seq_file *f, void *ptr) in identity_resolving_keys_show() argument
763 struct hci_dev *hdev = f->private; in identity_resolving_keys_show()
768 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", in identity_resolving_keys_show()
779 static int long_term_keys_show(struct seq_file *f, void *ptr) in long_term_keys_show() argument
781 struct hci_dev *hdev = f->private; in long_term_keys_show()
786 seq_printf(f, "%pMR (type %u) %u 0x%02x %u %.4x %.16llx %*phN\n", in long_term_keys_show()