Lines Matching refs:HCI_HANDLE_OFFSET
56 #define HCI_HANDLE_OFFSET 0x20
620 return !(handle & HCI_HANDLE_OFFSET) ||
621 handle >= (HCI_HANDLE_OFFSET | HCI_HANDLES_MAX) ||
622 !hci->lm.handle[handle & ~HCI_HANDLE_OFFSET].link;
627 return !!(hci->lm.role_bmp & (1 << (handle & ~HCI_HANDLE_OFFSET)));
633 struct bt_link_s *link = hci->lm.handle[handle & ~HCI_HANDLE_OFFSET].link;
668 handle &= ~HCI_HANDLE_OFFSET;
736 handle = hci->lm.last_handle | HCI_HANDLE_OFFSET;
854 handle = hci->lm.last_handle | HCI_HANDLE_OFFSET;
881 hci->lm.handle[handle & ~HCI_HANDLE_OFFSET].link;
1082 link = &hci->lm.handle[handle & ~HCI_HANDLE_OFFSET];
1104 link = &hci->lm.handle[handle & ~HCI_HANDLE_OFFSET];
2037 handle &= ~HCI_HANDLE_OFFSET;
2074 bt_hci_event_num_comp_pkts(hci, handle | HCI_HANDLE_OFFSET, 1);
2102 handle &= ~HCI_HANDLE_OFFSET;
2209 for (handle = HCI_HANDLE_OFFSET;
2210 handle < (HCI_HANDLE_OFFSET | HCI_HANDLES_MAX); handle ++)