Lines Matching refs:req_status
51 return hdev->req_status == HCI_REQ_PEND; in hci_req_status_pend()
107 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_complete()
109 hdev->req_status = HCI_REQ_DONE; in hci_req_sync_complete()
120 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_cancel()
122 hdev->req_status = HCI_REQ_CANCELED; in hci_req_sync_cancel()
140 hdev->req_status = HCI_REQ_PEND; in __hci_cmd_sync_ev()
147 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_cmd_sync_ev()
152 switch (hdev->req_status) { in __hci_cmd_sync_ev()
166 hdev->req_status = hdev->req_result = 0; in __hci_cmd_sync_ev()
203 hdev->req_status = HCI_REQ_PEND; in __hci_req_sync()
214 hdev->req_status = 0; in __hci_req_sync()
234 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_req_sync()
239 switch (hdev->req_status) { in __hci_req_sync()
261 hdev->req_status = hdev->req_result = 0; in __hci_req_sync()