Lines Matching defs:role
179 conn->role = rp->role;
749 /* As slave role, the conn->state has been set to
2732 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) {
3308 cp.role = 0x00; /* Become central */
3310 cp.role = 0x01; /* Remain peripheral */
3428 if (conn->type == LE_LINK && conn->role == HCI_ROLE_SLAVE) {
4377 conn->role = ev->role;
4381 hci_role_switch_cfm(conn, ev->status, ev->role);
5611 bdaddr_t *local_rpa, u8 role, u16 handle,
5635 conn = hci_conn_add_unset(hdev, LE_LINK, bdaddr, role);
5644 * but we're in central role this must be something
5741 * role only. So only in case of an initiated connection
5746 * role is possible. Otherwise just transition into the
5788 NULL, ev->role, le16_to_cpu(ev->handle),
5802 &ev->local_rpa, ev->role, le16_to_cpu(ev->handle),
5920 * while we have an existing one in peripheral role.
6479 ltk = hci_find_ltk(hdev, &conn->dst, conn->dst_type, conn->role);
6568 if (hcon->role == HCI_ROLE_MASTER) {
6691 switch (conn->role) {