Lines Matching refs:req_status
52 return hdev->req_status == HCI_REQ_PEND; in hci_req_status_pend()
108 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_complete()
110 hdev->req_status = HCI_REQ_DONE; in hci_req_sync_complete()
121 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_cancel()
123 hdev->req_status = HCI_REQ_CANCELED; in hci_req_sync_cancel()
141 hdev->req_status = HCI_REQ_PEND; in __hci_cmd_sync_ev()
148 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_cmd_sync_ev()
153 switch (hdev->req_status) { in __hci_cmd_sync_ev()
167 hdev->req_status = hdev->req_result = 0; in __hci_cmd_sync_ev()
204 hdev->req_status = HCI_REQ_PEND; in __hci_req_sync()
215 hdev->req_status = 0; in __hci_req_sync()
235 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_req_sync()
240 switch (hdev->req_status) { in __hci_req_sync()
262 hdev->req_status = hdev->req_result = 0; in __hci_req_sync()