Lines Matching refs:f
80 static int __name ## _show(struct seq_file *f, void *ptr) \
82 struct hci_dev *hdev = f->private; \
85 seq_printf(f, "%s\n", hdev->__field ? : ""); \
103 static int features_show(struct seq_file *f, void *ptr) in features_show() argument
105 struct hci_dev *hdev = f->private; in features_show()
110 seq_printf(f, "%2u: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x " in features_show()
118 seq_printf(f, "LE: 0x%2.2x 0x%2.2x 0x%2.2x 0x%2.2x " in features_show()
141 static int device_id_show(struct seq_file *f, void *ptr) in device_id_show() argument
143 struct hci_dev *hdev = f->private; in device_id_show()
146 seq_printf(f, "%4.4x:%4.4x:%4.4x:%4.4x\n", hdev->devid_source, in device_id_show()
165 static int device_list_show(struct seq_file *f, void *ptr) in device_list_show() argument
167 struct hci_dev *hdev = f->private; in device_list_show()
173 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in device_list_show()
175 seq_printf(f, "%pMR (type %u) %u\n", &p->addr, p->addr_type, in device_list_show()
195 static int blacklist_show(struct seq_file *f, void *p) in blacklist_show() argument
197 struct hci_dev *hdev = f->private; in blacklist_show()
202 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in blacklist_show()
220 static int uuids_show(struct seq_file *f, void *p) in uuids_show() argument
222 struct hci_dev *hdev = f->private; in uuids_show()
236 seq_printf(f, "%pUb\n", val); in uuids_show()
255 static int remote_oob_show(struct seq_file *f, void *ptr) in remote_oob_show() argument
257 struct hci_dev *hdev = f->private; in remote_oob_show()
262 seq_printf(f, "%pMR (type %u) %u %*phN %*phN %*phN %*phN\n", in remote_oob_show()
422 static int inquiry_cache_show(struct seq_file *f, void *p) in inquiry_cache_show() argument
424 struct hci_dev *hdev = f->private; in inquiry_cache_show()
432 seq_printf(f, "%pMR %d %d %d 0x%.2x%.2x%.2x 0x%.4x %d %d %u\n", in inquiry_cache_show()
458 static int link_keys_show(struct seq_file *f, void *ptr) in link_keys_show() argument
460 struct hci_dev *hdev = f->private; in link_keys_show()
465 seq_printf(f, "%pMR %u %*phN %u\n", &key->bdaddr, key->type, in link_keys_show()
484 static int dev_class_show(struct seq_file *f, void *ptr) in dev_class_show() argument
486 struct hci_dev *hdev = f->private; in dev_class_show()
489 seq_printf(f, "0x%.2x%.2x%.2x\n", hdev->dev_class[2], in dev_class_show()
677 static int identity_show(struct seq_file *f, void *p) in identity_show() argument
679 struct hci_dev *hdev = f->private; in identity_show()
687 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", &addr, addr_type, in identity_show()
738 static int random_address_show(struct seq_file *f, void *p) in random_address_show() argument
740 struct hci_dev *hdev = f->private; in random_address_show()
743 seq_printf(f, "%pMR\n", &hdev->random_addr); in random_address_show()
761 static int static_address_show(struct seq_file *f, void *p) in static_address_show() argument
763 struct hci_dev *hdev = f->private; in static_address_show()
766 seq_printf(f, "%pMR\n", &hdev->static_addr); in static_address_show()
831 static int white_list_show(struct seq_file *f, void *ptr) in white_list_show() argument
833 struct hci_dev *hdev = f->private; in white_list_show()
838 seq_printf(f, "%pMR (type %u)\n", &b->bdaddr, b->bdaddr_type); in white_list_show()
856 static int identity_resolving_keys_show(struct seq_file *f, void *ptr) in identity_resolving_keys_show() argument
858 struct hci_dev *hdev = f->private; in identity_resolving_keys_show()
863 seq_printf(f, "%pMR (type %u) %*phN %pMR\n", in identity_resolving_keys_show()
885 static int long_term_keys_show(struct seq_file *f, void *ptr) in long_term_keys_show() argument
887 struct hci_dev *hdev = f->private; in long_term_keys_show()
892 seq_printf(f, "%pMR (type %u) %u 0x%02x %u %.4x %.16llx %*phN\n", in long_term_keys_show()