Lines Matching refs:req_status
53 return hdev->req_status == HCI_REQ_PEND; in hci_req_status_pend()
109 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_complete()
111 hdev->req_status = HCI_REQ_DONE; in hci_req_sync_complete()
122 if (hdev->req_status == HCI_REQ_PEND) { in hci_req_sync_cancel()
124 hdev->req_status = HCI_REQ_CANCELED; in hci_req_sync_cancel()
142 hdev->req_status = HCI_REQ_PEND; in __hci_cmd_sync_ev()
149 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_cmd_sync_ev()
154 switch (hdev->req_status) { in __hci_cmd_sync_ev()
168 hdev->req_status = hdev->req_result = 0; in __hci_cmd_sync_ev()
205 hdev->req_status = HCI_REQ_PEND; in __hci_req_sync()
216 hdev->req_status = 0; in __hci_req_sync()
236 hdev->req_status != HCI_REQ_PEND, timeout); in __hci_req_sync()
241 switch (hdev->req_status) { in __hci_req_sync()
263 hdev->req_status = hdev->req_result = 0; in __hci_req_sync()