Home
last modified time | relevance | path

Searched refs:hci_dev (Results 1 – 20 of 20) sorted by relevance

/linux-2.4.37.9/include/net/bluetooth/
Dhci_core.h60 struct hci_dev { struct
116 int (*open)(struct hci_dev *hdev); argument
117 int (*close)(struct hci_dev *hdev); argument
118 int (*flush)(struct hci_dev *hdev); argument
120 void (*destruct)(struct hci_dev *hdev); argument
121 int (*ioctl)(struct hci_dev *hdev, unsigned int cmd, unsigned long arg); argument
144 struct hci_dev *hdev;
165 static inline void inquiry_cache_init(struct hci_dev *hdev) in inquiry_cache_init()
172 static inline int inquiry_cache_empty(struct hci_dev *hdev) in inquiry_cache_empty()
178 static inline long inquiry_cache_age(struct hci_dev *hdev) in inquiry_cache_age()
[all …]
Dhci.h684 unsigned short hci_dev; member
/linux-2.4.37.9/net/bluetooth/
Dhci_core.c64 static void hci_notify(struct hci_dev *hdev, int event);
92 void hci_notify(struct hci_dev *hdev, int event) in hci_notify()
126 void hci_req_complete(struct hci_dev *hdev, int result) in hci_req_complete()
137 void hci_req_cancel(struct hci_dev *hdev, int err) in hci_req_cancel()
149 static int __hci_request(struct hci_dev *hdev, void (*req)(struct hci_dev *hdev, unsigned long opt)… in __hci_request()
191 static inline int hci_request(struct hci_dev *hdev, void (*req)(struct hci_dev *hdev, unsigned long… in hci_request()
204 static void hci_reset_req(struct hci_dev *hdev, unsigned long opt) in hci_reset_req()
212 static void hci_init_req(struct hci_dev *hdev, unsigned long opt) in hci_init_req()
262 static void hci_scan_req(struct hci_dev *hdev, unsigned long opt) in hci_scan_req()
272 static void hci_auth_req(struct hci_dev *hdev, unsigned long opt) in hci_auth_req()
[all …]
Dhci_conn.c62 struct hci_dev *hdev = conn->hdev; in hci_acl_connect()
109 struct hci_dev *hdev = conn->hdev; in hci_add_sco()
126 struct hci_dev *hdev = conn->hdev; in hci_conn_timeout()
149 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst) in hci_conn_add()
180 struct hci_dev *hdev = conn->hdev; in hci_conn_del()
213 struct hci_dev *hci_get_route(bdaddr_t *dst, bdaddr_t *src) in hci_get_route()
216 struct hci_dev *hdev = NULL; in hci_get_route()
224 struct hci_dev *d; in hci_get_route()
225 d = list_entry(p, struct hci_dev, list); in hci_get_route()
255 struct hci_conn * hci_connect(struct hci_dev *hdev, int type, bdaddr_t *dst) in hci_connect()
[all …]
Dhci_event.c63 static void hci_cc_link_ctl(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_link_ctl()
88 static void hci_cc_link_policy(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_link_policy()
123 static void hci_cc_host_ctl(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_host_ctl()
233 static void hci_cc_info_param(struct hci_dev *hdev, __u16 ocf, struct sk_buff *skb) in hci_cc_info_param()
307 static inline void hci_cs_create_conn(struct hci_dev *hdev, __u8 status) in hci_cs_create_conn()
342 static void hci_cs_link_ctl(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_link_ctl()
395 static void hci_cs_link_policy(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_link_policy()
407 static void hci_cs_host_ctl(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_host_ctl()
419 static void hci_cs_info_param(struct hci_dev *hdev, __u16 ocf, __u8 status) in hci_cs_info_param()
431 static inline void hci_inquiry_complete_evt(struct hci_dev *hdev, struct sk_buff *skb) in hci_inquiry_complete_evt()
[all …]
Dhci_sock.c91 void hci_send_to_sock(struct hci_dev *hdev, struct sk_buff *skb) in hci_send_to_sock()
143 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_sock_release()
171 struct hci_dev *hdev = hci_pi(sk)->hdev; in hci_sock_bound_ioctl()
262 struct hci_dev *hdev = NULL; in hci_sock_bind()
277 if (haddr->hci_dev != HCI_DEV_NONE) { in hci_sock_bind()
278 if (!(hdev = hci_dev_get(haddr->hci_dev))) { in hci_sock_bind()
305 haddr->hci_dev = hci_pi(sk)->hdev->id; in hci_sock_getname()
362 struct hci_dev *hdev; in hci_sock_sendmsg()
590 struct hci_dev *hdev = (struct hci_dev *) ptr; in hci_sock_dev_event()
Dsco.c120 struct hci_dev *hdev = hcon->hdev; in sco_conn_add()
207 struct hci_dev *hdev; in sco_connect()
841 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in sco_connect_ind()
Dl2cap.c437 struct hci_dev *hdev; in l2cap_do_connect()
1858 static int l2cap_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 type) in l2cap_connect_ind()
/linux-2.4.37.9/drivers/bluetooth/
Dhci_ldisc.c99 struct hci_dev *hdev = &hu->hdev; in hci_uart_tx_complete()
130 struct hci_dev *hdev = &hu->hdev; in hci_uart_tx_wakeup()
169 static int hci_uart_open(struct hci_dev *hdev) in hci_uart_open()
180 static int hci_uart_flush(struct hci_dev *hdev) in hci_uart_flush()
203 static int hci_uart_close(struct hci_dev *hdev) in hci_uart_close()
217 struct hci_dev* hdev = (struct hci_dev *) skb->dev; in hci_uart_send_frame()
240 static void hci_uart_destruct(struct hci_dev *hdev) in hci_uart_destruct()
311 struct hci_dev *hdev = &hu->hdev; in hci_uart_tty_close()
398 struct hci_dev *hdev; in hci_uart_register_dev()
Dhci_vhci.c57 static int hci_vhci_open(struct hci_dev *hdev) in hci_vhci_open()
63 static int hci_vhci_flush(struct hci_dev *hdev) in hci_vhci_flush()
70 static int hci_vhci_close(struct hci_dev *hdev) in hci_vhci_close()
79 static void hci_vhci_destruct(struct hci_dev *hdev) in hci_vhci_destruct()
93 struct hci_dev* hdev = (struct hci_dev *) skb->dev; in hci_vhci_send_frame()
265 struct hci_dev *hdev; in hci_vhci_chr_open()
Dbfusb.c69 struct hci_dev hdev;
422 static int bfusb_open(struct hci_dev *hdev) in bfusb_open()
451 static int bfusb_flush(struct hci_dev *hdev) in bfusb_flush()
462 static int bfusb_close(struct hci_dev *hdev) in bfusb_close()
485 struct hci_dev *hdev = (struct hci_dev *) skb->dev; in bfusb_send_frame()
561 static void bfusb_destruct(struct hci_dev *hdev) in bfusb_destruct()
570 static int bfusb_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) in bfusb_ioctl()
650 struct hci_dev *hdev; in bfusb_probe()
738 struct hci_dev *hdev = &bfusb->hdev; in bfusb_disconnect()
Dbtuart_cs.c81 struct hci_dev hdev;
413 static int btuart_hci_flush(struct hci_dev *hdev) in btuart_hci_flush()
424 static int btuart_hci_open(struct hci_dev *hdev) in btuart_hci_open()
432 static int btuart_hci_close(struct hci_dev *hdev) in btuart_hci_close()
446 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); in btuart_hci_send_frame()
477 static void btuart_hci_destruct(struct hci_dev *hdev) in btuart_hci_destruct()
482 static int btuart_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) in btuart_hci_ioctl()
496 struct hci_dev *hdev; in btuart_open()
557 struct hci_dev *hdev = &(info->hdev); in btuart_close()
Ddtl1_cs.c81 struct hci_dev hdev;
374 static int dtl1_hci_open(struct hci_dev *hdev) in dtl1_hci_open()
382 static int dtl1_hci_flush(struct hci_dev *hdev) in dtl1_hci_flush()
393 static int dtl1_hci_close(struct hci_dev *hdev) in dtl1_hci_close()
407 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); in dtl1_hci_send_frame()
454 static void dtl1_hci_destruct(struct hci_dev *hdev) in dtl1_hci_destruct()
459 static int dtl1_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) in dtl1_hci_ioctl()
473 struct hci_dev *hdev; in dtl1_open()
536 struct hci_dev *hdev = &(info->hdev); in dtl1_close()
Dbluecard_cs.c75 struct hci_dev hdev;
566 static int bluecard_hci_set_baud_rate(struct hci_dev *hdev, int baud) in bluecard_hci_set_baud_rate()
614 static int bluecard_hci_flush(struct hci_dev *hdev) in bluecard_hci_flush()
625 static int bluecard_hci_open(struct hci_dev *hdev) in bluecard_hci_open()
642 static int bluecard_hci_close(struct hci_dev *hdev) in bluecard_hci_close()
662 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); in bluecard_hci_send_frame()
693 static void bluecard_hci_destruct(struct hci_dev *hdev) in bluecard_hci_destruct()
698 static int bluecard_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) in bluecard_hci_ioctl()
711 struct hci_dev *hdev; in bluecard_open()
804 struct hci_dev *hdev = &(info->hdev); in bluecard_close()
Dbt3c_cs.c87 struct hci_dev hdev;
412 static int bt3c_hci_flush(struct hci_dev *hdev) in bt3c_hci_flush()
423 static int bt3c_hci_open(struct hci_dev *hdev) in bt3c_hci_open()
431 static int bt3c_hci_close(struct hci_dev *hdev) in bt3c_hci_close()
445 struct hci_dev *hdev = (struct hci_dev *)(skb->dev); in bt3c_hci_send_frame()
476 static void bt3c_hci_destruct(struct hci_dev *hdev) in bt3c_hci_destruct()
481 static int bt3c_hci_ioctl(struct hci_dev *hdev, unsigned int cmd, unsigned long arg) in bt3c_hci_ioctl()
583 struct hci_dev *hdev; in bt3c_open()
644 struct hci_dev *hdev = &(info->hdev); in bt3c_close()
Dhci_usb.c304 static int hci_usb_open(struct hci_dev *hdev) in hci_usb_open()
339 static int hci_usb_flush(struct hci_dev *hdev) in hci_usb_flush()
391 static int hci_usb_close(struct hci_dev *hdev) in hci_usb_close()
579 struct hci_dev *hdev = (struct hci_dev *) skb->dev; in hci_usb_send_frame()
703 struct hci_dev *hdev = &husb->hdev; in hci_usb_rx_complete()
759 struct hci_dev *hdev = &husb->hdev; in hci_usb_tx_complete()
787 static void hci_usb_destruct(struct hci_dev *hdev) in hci_usb_destruct()
807 struct hci_dev *hdev; in hci_usb_probe()
965 struct hci_dev *hdev = &husb->hdev; in hci_usb_disconnect()
Dhci_vhci.h35 struct hci_dev hdev;
Dhci_uart.h60 struct hci_dev hdev;
Dhci_usb.h117 struct hci_dev hdev;
/linux-2.4.37.9/drivers/usb/host/
Dhc_simple.c519 struct hci_device *hci_dev = usb_to_hci (urb->dev); in qu_queue_urb() local
520 epd_t *ed = &hci_dev->ed[qu_pipeindex (urb->pipe)]; in qu_queue_urb()
557 struct hci_device *hci_dev = usb_to_hci (urb->dev); in qu_next_urb() local
558 epd_t *ed = &hci_dev->ed[qu_pipeindex (urb->pipe)]; in qu_next_urb()