Lines Matching refs:file
32 static ssize_t __name ## _read(struct file *file, \
36 struct hci_dev *hdev = file->private_data; \
45 static ssize_t __name ## _write(struct file *file, \
49 struct hci_dev *hdev = file->private_data; \
105 static int features_open(struct inode *inode, struct file *file) in features_open() argument
107 return single_open(file, features_show, inode->i_private); in features_open()
129 static int device_id_open(struct inode *inode, struct file *file) in device_id_open() argument
131 return single_open(file, device_id_show, inode->i_private); in device_id_open()
159 static int device_list_open(struct inode *inode, struct file *file) in device_list_open() argument
161 return single_open(file, device_list_show, inode->i_private); in device_list_open()
184 static int blacklist_open(struct inode *inode, struct file *file) in blacklist_open() argument
186 return single_open(file, blacklist_show, inode->i_private); in blacklist_open()
219 static int uuids_open(struct inode *inode, struct file *file) in uuids_open() argument
221 return single_open(file, uuids_show, inode->i_private); in uuids_open()
248 static int remote_oob_open(struct inode *inode, struct file *file) in remote_oob_open() argument
250 return single_open(file, remote_oob_show, inode->i_private); in remote_oob_open()
316 static ssize_t use_debug_keys_read(struct file *file, char __user *user_buf, in use_debug_keys_read() argument
319 struct hci_dev *hdev = file->private_data; in use_debug_keys_read()
334 static ssize_t sc_only_mode_read(struct file *file, char __user *user_buf, in sc_only_mode_read() argument
337 struct hci_dev *hdev = file->private_data; in sc_only_mode_read()
411 static int inquiry_cache_open(struct inode *inode, struct file *file) in inquiry_cache_open() argument
413 return single_open(file, inquiry_cache_show, inode->i_private); in inquiry_cache_open()
437 static int link_keys_open(struct inode *inode, struct file *file) in link_keys_open() argument
439 return single_open(file, link_keys_show, inode->i_private); in link_keys_open()
461 static int dev_class_open(struct inode *inode, struct file *file) in dev_class_open() argument
463 return single_open(file, dev_class_show, inode->i_private); in dev_class_open()
487 static ssize_t ssp_debug_mode_read(struct file *file, char __user *user_buf, in ssp_debug_mode_read() argument
490 struct hci_dev *hdev = file->private_data; in ssp_debug_mode_read()
660 static int identity_open(struct inode *inode, struct file *file) in identity_open() argument
662 return single_open(file, identity_show, inode->i_private); in identity_open()
714 static int random_address_open(struct inode *inode, struct file *file) in random_address_open() argument
716 return single_open(file, random_address_show, inode->i_private); in random_address_open()
737 static int static_address_open(struct inode *inode, struct file *file) in static_address_open() argument
739 return single_open(file, static_address_show, inode->i_private); in static_address_open()
749 static ssize_t force_static_address_read(struct file *file, in force_static_address_read() argument
753 struct hci_dev *hdev = file->private_data; in force_static_address_read()
762 static ssize_t force_static_address_write(struct file *file, in force_static_address_write() argument
766 struct hci_dev *hdev = file->private_data; in force_static_address_write()
809 static int white_list_open(struct inode *inode, struct file *file) in white_list_open() argument
811 return single_open(file, white_list_show, inode->i_private); in white_list_open()
837 static int identity_resolving_keys_open(struct inode *inode, struct file *file) in identity_resolving_keys_open() argument
839 return single_open(file, identity_resolving_keys_show, in identity_resolving_keys_open()
866 static int long_term_keys_open(struct inode *inode, struct file *file) in long_term_keys_open() argument
868 return single_open(file, long_term_keys_show, inode->i_private); in long_term_keys_open()