Lines Matching refs:hci_conn
63 static void hci_connect_le_scan_cleanup(struct hci_conn *conn)
114 static void hci_conn_cleanup(struct hci_conn *conn)
147 struct hci_conn *conn = container_of(work, struct hci_conn,
150 struct hci_conn *c = NULL;
156 /* Check that the hci_conn is still around */
174 static void hci_connect_le_scan_remove(struct hci_conn *conn)
182 * hci_conn and perform the necessary cleanup in a separate work
196 static void hci_acl_create_connection(struct hci_conn *conn)
237 int hci_disconnect(struct hci_conn *conn, __u8 reason)
259 static void hci_add_sco(struct hci_conn *conn, __u16 handle)
277 bool hci_setup_sync(struct hci_conn *conn, __u16 handle)
327 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency,
363 void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __le64 rand,
382 void hci_sco_setup(struct hci_conn *conn, __u8 status)
384 struct hci_conn *sco = conn->link;
404 struct hci_conn *conn = container_of(work, struct hci_conn,
435 struct hci_conn *conn = container_of(work, struct hci_conn,
469 struct hci_conn *conn = container_of(work, struct hci_conn,
495 struct hci_conn *conn = container_of(work, struct hci_conn,
518 struct hci_conn *hci_conn_add(struct hci_dev *hdev, int type, bdaddr_t *dst,
521 struct hci_conn *conn;
603 int hci_conn_del(struct hci_conn *conn)
614 struct hci_conn *sco = conn->link;
628 struct hci_conn *acl = conn->link;
712 void hci_le_conn_failed(struct hci_conn *conn, u8 status)
755 struct hci_conn *conn;
778 static bool conn_use_rpa(struct hci_conn *conn)
785 static void set_ext_conn_params(struct hci_conn *conn,
803 struct hci_conn *conn,
896 struct hci_conn *conn)
996 struct hci_conn *hci_connect_le(struct hci_dev *hdev, bdaddr_t *dst,
1001 struct hci_conn *conn;
1129 struct hci_conn *conn;
1180 struct hci_conn *hci_connect_le_scan(struct hci_dev *hdev, bdaddr_t *dst,
1185 struct hci_conn *conn;
1200 * So if a hci_conn object already exists for the following connection
1237 struct hci_conn *hci_connect_acl(struct hci_dev *hdev, bdaddr_t *dst,
1241 struct hci_conn *acl;
1279 struct hci_conn *hci_connect_sco(struct hci_dev *hdev, int type, bdaddr_t *dst,
1282 struct hci_conn *acl;
1283 struct hci_conn *sco;
1324 int hci_conn_check_link_mode(struct hci_conn *conn)
1364 static int hci_conn_auth(struct hci_conn *conn, __u8 sec_level, __u8 auth_type)
1399 static void hci_conn_encrypt(struct hci_conn *conn)
1413 int hci_conn_security(struct hci_conn *conn, __u8 sec_level, __u8 auth_type,
1498 int hci_conn_check_secure(struct hci_conn *conn, __u8 sec_level)
1517 int hci_conn_switch_role(struct hci_conn *conn, __u8 role)
1536 void hci_conn_enter_active_mode(struct hci_conn *conn, __u8 force_active)
1564 struct hci_conn *c, *n;
1579 struct hci_conn *conn;
1592 static u32 get_link_mode(struct hci_conn *conn)
1616 struct hci_conn *c;
1671 struct hci_conn *conn;
1698 struct hci_conn *conn;
1715 struct hci_chan *hci_chan_create(struct hci_conn *conn)
1742 struct hci_conn *conn = chan->conn;
1751 /* Prevent new hci_chan's to be created for this hci_conn */
1760 void hci_chan_list_flush(struct hci_conn *conn)
1770 static struct hci_chan *__hci_chan_lookup_handle(struct hci_conn *hcon,
1786 struct hci_conn *hcon;
1802 u32 hci_conn_get_phy(struct hci_conn *conn)