Lines Matching refs:hcon
247 if (conn->hcon->hdev == entry->hdev) { in lookup_dev()
732 static bool is_bt_6lowpan(struct hci_conn *hcon) in is_bt_6lowpan() argument
734 if (hcon->type != LE_LINK) in is_bt_6lowpan()
820 SET_NETDEV_DEV(netdev, &chan->conn->hcon->hdev->dev); in setup_netdev()
825 (*dev)->hdev = chan->conn->hcon->hdev; in setup_netdev()
913 if (chan->conn && chan->conn->hcon) { in chan_close_cb()
914 if (!is_bt_6lowpan(chan->conn->hcon)) in chan_close_cb()
1103 struct hci_conn *hcon; in get_l2cap_conn() local
1121 hcon = hci_conn_hash_lookup_le(hdev, addr, *addr_type); in get_l2cap_conn()
1124 if (!hcon) in get_l2cap_conn()
1127 *conn = (struct l2cap_conn *)hcon->l2cap_data; in get_l2cap_conn()
1129 BT_DBG("conn %p dst %pMR type %d", *conn, &hcon->dst, hcon->dst_type); in get_l2cap_conn()
1258 if (!is_bt_6lowpan(conn->hcon)) in lowpan_control_write()
1268 &conn->hcon->dst, conn->hcon->dst_type, in lowpan_control_write()