Home
last modified time | relevance | path

Searched refs:hci_conn (Results 1 – 15 of 15) sorted by relevance

/linux-2.6.39/include/net/bluetooth/
Dhci_core.h199 struct hci_conn { struct
250 struct hci_conn *link; argument
252 void (*connect_cfm_cb) (struct hci_conn *conn, u8 status); argument
253 void (*security_cfm_cb) (struct hci_conn *conn, u8 status); argument
254 void (*disconn_cfm_cb) (struct hci_conn *conn, u8 reason); argument
317 static inline void hci_conn_hash_add(struct hci_dev *hdev, struct hci_conn *c) in hci_conn_hash_add()
335 static inline void hci_conn_hash_del(struct hci_dev *hdev, struct hci_conn *c) in hci_conn_hash_del()
353 static inline struct hci_conn *hci_conn_hash_lookup_handle(struct hci_dev *hdev, in hci_conn_hash_lookup_handle()
358 struct hci_conn *c; in hci_conn_hash_lookup_handle()
361 c = list_entry(p, struct hci_conn, list); in hci_conn_hash_lookup_handle()
[all …]
Dsco.h56 struct hci_conn *hcon;
Dl2cap.h287 struct hci_conn *hcon;
/linux-2.6.39/net/bluetooth/
Dhci_conn.c48 static void hci_le_connect(struct hci_conn *conn) in hci_le_connect()
70 static void hci_le_connect_cancel(struct hci_conn *conn) in hci_le_connect_cancel()
75 void hci_acl_connect(struct hci_conn *conn) in hci_acl_connect()
118 static void hci_acl_connect_cancel(struct hci_conn *conn) in hci_acl_connect_cancel()
131 void hci_acl_disconn(struct hci_conn *conn, __u8 reason) in hci_acl_disconn()
144 void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
162 void hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
186 void hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, in hci_le_conn_update()
207 void hci_sco_setup(struct hci_conn *conn, __u8 status) in hci_sco_setup()
209 struct hci_conn *sco = conn->link; in hci_sco_setup()
[all …]
Dhci_event.c88 struct hci_conn *conn; in hci_cc_role_discovery()
111 struct hci_conn *conn; in hci_cc_read_link_policy()
130 struct hci_conn *conn; in hci_cc_write_link_policy()
752 struct hci_conn *conn; in hci_cc_pin_code_reply()
839 struct hci_conn *conn; in hci_cs_create_conn()
879 struct hci_conn *acl, *sco; in hci_cs_add_sco()
914 struct hci_conn *conn; in hci_cs_auth_requested()
941 struct hci_conn *conn; in hci_cs_set_conn_encrypt()
966 struct hci_conn *conn) in hci_outgoing_auth_needed()
986 struct hci_conn *conn; in hci_cs_remote_name_req()
[all …]
Dhci_sysfs.c33 struct hci_conn *conn = dev_get_drvdata(dev); in show_link_type()
39 struct hci_conn *conn = dev_get_drvdata(dev); in show_link_address()
45 struct hci_conn *conn = dev_get_drvdata(dev); in show_link_features()
91 struct hci_conn *conn = container_of(work, struct hci_conn, work_add); in add_conn()
118 struct hci_conn *conn = container_of(work, struct hci_conn, work_del); in del_conn()
140 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs()
156 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs()
163 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Dhci_core.c1604 void hci_send_acl(struct hci_conn *conn, struct sk_buff *skb, __u16 flags) in hci_send_acl()
1654 void hci_send_sco(struct hci_conn *conn, struct sk_buff *skb) in hci_send_sco()
1679 static inline struct hci_conn *hci_low_sent(struct hci_dev *hdev, __u8 type, int *quote) in hci_low_sent()
1682 struct hci_conn *conn = NULL; in hci_low_sent()
1689 struct hci_conn *c; in hci_low_sent()
1690 c = list_entry(p, struct hci_conn, list); in hci_low_sent()
1738 struct hci_conn *c; in hci_link_tx_to()
1744 c = list_entry(p, struct hci_conn, list); in hci_link_tx_to()
1755 struct hci_conn *conn; in hci_sched_acl()
1786 struct hci_conn *conn; in hci_sched_sco()
[all …]
DMakefile11 bluetooth-y := af_bluetooth.o hci_core.o hci_conn.o hci_event.o mgmt.o hci_sock.o hci_sysfs.o lib.o
Dsco.c64 static int sco_conn_del(struct hci_conn *conn, int err);
98 static struct sco_conn *sco_conn_add(struct hci_conn *hcon, __u8 status) in sco_conn_add()
137 static int sco_conn_del(struct hci_conn *hcon, int err) in sco_conn_del()
181 struct hci_conn *hcon; in sco_connect()
910 static int sco_connect_cfm(struct hci_conn *hcon, __u8 status) in sco_connect_cfm()
929 static int sco_disconn_cfm(struct hci_conn *hcon, __u8 reason) in sco_disconn_cfm()
941 static int sco_recv_scodata(struct hci_conn *hcon, struct sk_buff *skb) in sco_recv_scodata()
Dmgmt.c803 struct hci_conn *conn; in remove_key()
850 struct hci_conn *conn; in disconnect()
937 struct hci_conn *c = list_entry(p, struct hci_conn, list); in get_connections()
1079 static inline struct pending_cmd *find_pairing(struct hci_conn *conn) in find_pairing()
1107 struct hci_conn *conn = cmd->user_data; in pairing_complete()
1124 static void pairing_complete_cb(struct hci_conn *conn, u8 status) in pairing_complete_cb()
1145 struct hci_conn *conn; in pair_device()
Dl2cap_core.c731 static struct l2cap_conn *l2cap_conn_add(struct hci_conn *hcon, u8 status) in l2cap_conn_add()
769 static void l2cap_conn_del(struct hci_conn *hcon, int err) in l2cap_conn_del()
841 struct hci_conn *hcon; in l2cap_do_connect()
991 struct hci_conn *hcon = pi->conn->hcon; in l2cap_do_send()
2528 struct hci_conn *hcon = conn->hcon; in l2cap_conn_param_update_req()
3721 static int l2cap_connect_cfm(struct hci_conn *hcon, u8 status) in l2cap_connect_cfm()
3740 static int l2cap_disconn_ind(struct hci_conn *hcon) in l2cap_disconn_ind()
3752 static int l2cap_disconn_cfm(struct hci_conn *hcon, u8 reason) in l2cap_disconn_cfm()
3781 static int l2cap_security_cfm(struct hci_conn *hcon, u8 status, u8 encrypt) in l2cap_security_cfm()
3855 static int l2cap_recv_acldata(struct hci_conn *hcon, struct sk_buff *skb, u16 flags) in l2cap_recv_acldata()
/linux-2.6.39/net/bluetooth/hidp/
Dhidp.h131 struct hci_conn *conn;
/linux-2.6.39/net/bluetooth/bnep/
Dcore.c527 struct hci_conn *conn; in bnep_get_device()
/linux-2.6.39/net/bluetooth/rfcomm/
Dtty.c170 struct hci_conn *conn; in rfcomm_get_device()
Dcore.c2057 static void rfcomm_security_cfm(struct hci_conn *conn, u8 status, u8 encrypt) in rfcomm_security_cfm()