Home
last modified time | relevance | path

Searched refs:hdev (Results 1 – 14 of 14) sorted by relevance

/include/net/bluetooth/
A Dhci_sync.h15 #define hci_req_sync_lock(hdev) mutex_lock(&hdev->req_lock) argument
16 #define hci_req_sync_unlock(hdev) mutex_unlock(&hdev->req_lock) argument
19 struct hci_dev *hdev; member
65 void hci_cmd_sync_init(struct hci_dev *hdev);
66 void hci_cmd_sync_clear(struct hci_dev *hdev);
91 int hci_update_eir_sync(struct hci_dev *hdev);
138 int hci_update_scan(struct hci_dev *hdev);
146 int hci_reset_sync(struct hci_dev *hdev);
147 int hci_dev_open_sync(struct hci_dev *hdev);
163 int hci_suspend_sync(struct hci_dev *hdev);
[all …]
A Dcoredump.h11 typedef void (*coredump_t)(struct hci_dev *hdev);
12 typedef void (*dmp_hdr_t)(struct hci_dev *hdev, struct sk_buff *skb);
13 typedef void (*notify_change_t)(struct hci_dev *hdev, int state);
63 void hci_devcd_reset(struct hci_dev *hdev);
69 int hci_devcd_init(struct hci_dev *hdev, u32 dump_size);
70 int hci_devcd_append(struct hci_dev *hdev, struct sk_buff *skb);
72 int hci_devcd_complete(struct hci_dev *hdev);
73 int hci_devcd_abort(struct hci_dev *hdev);
77 static inline void hci_devcd_reset(struct hci_dev *hdev) {} in hci_devcd_reset() argument
104 static inline int hci_devcd_complete(struct hci_dev *hdev) in hci_devcd_complete() argument
[all …]
A Dhci_core.h661 #define hci_set_quirk(hdev, nr) set_bit((nr), (hdev)->quirk_flags) argument
662 #define hci_clear_quirk(hdev, nr) clear_bit((nr), (hdev)->quirk_flags) argument
663 #define hci_test_quirk(hdev, nr) test_bit((nr), (hdev)->quirk_flags) argument
765 struct hci_dev *hdev; member
830 #define hci_dev_set_flag(hdev, nr) set_bit((nr), (hdev)->dev_flags) argument
833 #define hci_dev_test_flag(hdev, nr) test_bit((nr), (hdev)->dev_flags) argument
987 struct hci_dev *hdev = conn->hdev; in hci_conn_ssp_enabled() local
994 struct hci_dev *hdev = conn->hdev; in hci_conn_sc_enabled() local
1696 return (char *)hdev + sizeof(*hdev); in hci_get_priv()
1866 #define SET_HCIDEV_DEV(hdev, pdev) ((hdev)->dev.parent = (pdev)) argument
[all …]
A Dhci_drv.h58 int hci_drv_cmd_status(struct hci_dev *hdev, u16 cmd, u8 status);
59 int hci_drv_cmd_complete(struct hci_dev *hdev, u16 cmd, u8 status, void *rp,
61 int hci_drv_process_cmd(struct hci_dev *hdev, struct sk_buff *cmd_skb);
64 int (*func)(struct hci_dev *hdev, void *data, u16 data_len);
A Dbluetooth.h280 #define bt_dev_name(hdev) ((hdev) ? (hdev)->name : "null") argument
282 #define bt_dev_info(hdev, fmt, ...) \ argument
283 BT_INFO("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
284 #define bt_dev_warn(hdev, fmt, ...) \ argument
286 #define bt_dev_err(hdev, fmt, ...) \ argument
287 BT_ERR("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
288 #define bt_dev_dbg(hdev, fmt, ...) \ argument
289 BT_DBG("%s: " fmt, bt_dev_name(hdev), ##__VA_ARGS__)
291 #define bt_dev_warn_ratelimited(hdev, fmt, ...) \ argument
293 #define bt_dev_err_ratelimited(hdev, fmt, ...) \ argument
[all …]
/include/net/nfc/
A Dhci.h16 int (*open) (struct nfc_hci_dev *hdev);
17 void (*close) (struct nfc_hci_dev *hdev);
18 int (*load_session) (struct nfc_hci_dev *hdev);
19 int (*hci_ready) (struct nfc_hci_dev *hdev);
26 int (*start_poll) (struct nfc_hci_dev *hdev,
28 void (*stop_poll) (struct nfc_hci_dev *hdev);
31 int (*dep_link_down)(struct nfc_hci_dev *hdev);
36 int (*im_transceive) (struct nfc_hci_dev *hdev,
40 int (*check_presence)(struct nfc_hci_dev *hdev,
162 void nfc_hci_free_device(struct nfc_hci_dev *hdev);
[all …]
A Dllc.h17 typedef void (*rcv_to_hci_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
18 typedef int (*xmit_to_drv_t) (struct nfc_hci_dev *hdev, struct sk_buff *skb);
19 typedef void (*llc_failure_t) (struct nfc_hci_dev *hdev, int err);
23 struct nfc_llc *nfc_llc_allocate(const char *name, struct nfc_hci_dev *hdev,
/include/linux/
A Dhid.h707 return dev_get_drvdata(&hdev->dev); in hid_get_drvdata()
712 dev_set_drvdata(&hdev->dev, data); in hid_set_drvdata()
1133 return hid_open_report(hdev); in hid_parse()
1168 return hdev->ll_driver->power ? hdev->ll_driver->power(hdev, level) : 0; in hid_hw_power()
1183 if (hdev->ll_driver->idle) in hid_hw_idle()
1184 return hdev->ll_driver->idle(hdev, report, idle, reqtype); in hid_hw_idle()
1196 if (hdev->ll_driver->may_wakeup) in hid_hw_may_wakeup()
1197 return hdev->ll_driver->may_wakeup(hdev); in hid_hw_may_wakeup()
1199 if (hdev->dev.parent) in hid_hw_may_wakeup()
1212 if (hdev->ll_driver->wait) in hid_hw_wait()
[all …]
A Dhid_bpf.h67 int (*hid_hw_raw_request)(struct hid_device *hdev,
72 int (*hid_hw_output_report)(struct hid_device *hdev, __u8 *buf, size_t len,
183 struct hid_device *hdev; member
204 int dispatch_hid_bpf_raw_requests(struct hid_device *hdev,
209 int dispatch_hid_bpf_output_report(struct hid_device *hdev, __u8 *buf, u32 size,
211 int hid_bpf_connect_device(struct hid_device *hdev);
212 void hid_bpf_disconnect_device(struct hid_device *hdev);
220 static inline int dispatch_hid_bpf_raw_requests(struct hid_device *hdev, in dispatch_hid_bpf_raw_requests() argument
227 static inline int hid_bpf_connect_device(struct hid_device *hdev) { return 0; } in hid_bpf_connect_device() argument
228 static inline void hid_bpf_disconnect_device(struct hid_device *hdev) {} in hid_bpf_disconnect_device() argument
[all …]
A Dusb.h758 extern struct usb_device *usb_hub_find_child(struct usb_device *hdev,
767 #define usb_hub_for_each_child(hdev, port1, child) \ argument
768 for (port1 = 1, child = usb_hub_find_child(hdev, port1); \
769 port1 <= hdev->maxchild; \
770 child = usb_hub_find_child(hdev, ++port1)) \
788 extern int usb_acpi_set_power_state(struct usb_device *hdev, int index,
790 extern bool usb_acpi_power_manageable(struct usb_device *hdev, int index);
791 extern int usb_acpi_port_lpm_incapable(struct usb_device *hdev, int index);
793 static inline int usb_acpi_set_power_state(struct usb_device *hdev, int index, in usb_acpi_set_power_state() argument
927 int usb_hub_claim_port(struct usb_device *hdev, unsigned port1,
[all …]
A Dhid-debug.h33 struct hid_device *hdev; member
A Dhid-sensor-hub.h68 struct hid_device *hdev; member
/include/sound/
A Dhdaudio.h238 hdac_get_device_id(struct hdac_device *hdev, const struct hdac_driver *drv);
250 void (*link_power)(struct hdac_device *hdev, bool enable);
257 int (*hdev_attach)(struct hdac_device *hdev);
258 int (*hdev_detach)(struct hdac_device *hdev);
406 void snd_hdac_bus_link_power(struct hdac_device *hdev, bool enable);
/include/linux/usb/
A Dhcd.h383 int (*update_hub_device)(struct usb_hcd *, struct usb_device *hdev,
530 extern void usb_wakeup_notification(struct usb_device *hdev,

Completed in 744 milliseconds