Lines Matching refs:comp_pkt

541 	struct hv_pci_compl comp_pkt;  member
568 struct hv_pci_compl *comp_pkt = context; in hv_pci_generic_compl() local
571 comp_pkt->completion_status = resp->status; in hv_pci_generic_compl()
573 comp_pkt->completion_status = -1; in hv_pci_generic_compl()
575 complete(&comp_pkt->host_event); in hv_pci_generic_compl()
602 struct compose_comp_ctxt *comp_pkt = context; in hv_pci_compose_compl() local
606 comp_pkt->comp_pkt.completion_status = resp->status; in hv_pci_compose_compl()
607 comp_pkt->int_desc = int_resp->int_desc; in hv_pci_compose_compl()
608 complete(&comp_pkt->comp_pkt.host_event); in hv_pci_compose_compl()
666 struct q_res_req_compl comp_pkt; in new_pcichild_device() local
678 init_completion(&comp_pkt.host_event); in new_pcichild_device()
679 comp_pkt.hpdev = hpdev; in new_pcichild_device()
681 ctxt.pkt.compl_ctxt = &comp_pkt; in new_pcichild_device()
694 if (wait_for_response(hbus, &comp_pkt.host_event)) in new_pcichild_device()
697 free_completion(&comp_pkt.host_event); in new_pcichild_device()
708 free_completion(&comp_pkt.host_event); in new_pcichild_device()
1049 struct hv_pci_compl comp_pkt; in hv_pci_protocol_negotiation() local
1057 init_completion(&comp_pkt.host_event); in hv_pci_protocol_negotiation()
1060 ctxt.pkt.compl_ctxt = &comp_pkt; in hv_pci_protocol_negotiation()
1071 ret = wait_for_response(hbus, &comp_pkt.host_event); in hv_pci_protocol_negotiation()
1080 if (comp_pkt.completion_status >= 0) { in hv_pci_protocol_negotiation()
1089 if (comp_pkt.completion_status != STATUS_REVISION_MISMATCH) { in hv_pci_protocol_negotiation()
1092 comp_pkt.completion_status); in hv_pci_protocol_negotiation()
1096 reinit_completion(&comp_pkt.host_event); in hv_pci_protocol_negotiation()
1102 free_completion(&comp_pkt.host_event); in hv_pci_protocol_negotiation()
1123 struct hv_pci_compl comp_pkt; in hv_pci_enter_d0() local
1136 init_completion(&comp_pkt.host_event); in hv_pci_enter_d0()
1139 ctxt.pkt.compl_ctxt = &comp_pkt; in hv_pci_enter_d0()
1150 ret = wait_for_response(hbus, &comp_pkt.host_event); in hv_pci_enter_d0()
1155 if (comp_pkt.completion_status < 0) { in hv_pci_enter_d0()
1163 free_completion(&comp_pkt.host_event); in hv_pci_enter_d0()
1176 struct hv_pci_compl comp_pkt; in hv_send_resources_allocated() local
1193 init_completion(&comp_pkt.host_event); in hv_send_resources_allocated()
1197 pkt->compl_ctxt = &comp_pkt; in hv_send_resources_allocated()
1218 ret = wait_for_response(hbus, &comp_pkt.host_event); in hv_send_resources_allocated()
1220 free_completion(&comp_pkt.host_event); in hv_send_resources_allocated()
1225 if (comp_pkt.completion_status < 0) { in hv_send_resources_allocated()
1942 init_completion(&comp.comp_pkt.host_event); in vmbus_pcib_map_msi()
1978 free_completion(&comp.comp_pkt.host_event); in vmbus_pcib_map_msi()
1982 wait_for_completion(&comp.comp_pkt.host_event); in vmbus_pcib_map_msi()
1983 free_completion(&comp.comp_pkt.host_event); in vmbus_pcib_map_msi()
1985 if (comp.comp_pkt.completion_status < 0) { in vmbus_pcib_map_msi()
1988 comp.comp_pkt.completion_status); in vmbus_pcib_map_msi()