Lines Matching refs:hdr

88 	rrb->request.hdr.len = sizeof(rrb->request);  in clp_query_pci_fngrp()
89 rrb->request.hdr.cmd = CLP_QUERY_PCI_FNGRP; in clp_query_pci_fngrp()
90 rrb->response.hdr.len = sizeof(rrb->response); in clp_query_pci_fngrp()
94 if (!rc && rrb->response.hdr.rsp == CLP_RC_OK) in clp_query_pci_fngrp()
98 zpci_err_clp(rrb->response.hdr.rsp, rc); in clp_query_pci_fngrp()
141 rrb->request.hdr.len = sizeof(rrb->request); in clp_query_pci_fn()
142 rrb->request.hdr.cmd = CLP_QUERY_PCI_FN; in clp_query_pci_fn()
143 rrb->response.hdr.len = sizeof(rrb->response); in clp_query_pci_fn()
147 if (!rc && rrb->response.hdr.rsp == CLP_RC_OK) { in clp_query_pci_fn()
155 zpci_err_clp(rrb->response.hdr.rsp, rc); in clp_query_pci_fn()
210 rrb->request.hdr.len = sizeof(rrb->request); in clp_set_pci_fn()
211 rrb->request.hdr.cmd = CLP_SET_PCI_FN; in clp_set_pci_fn()
212 rrb->response.hdr.len = sizeof(rrb->response); in clp_set_pci_fn()
218 if (rrb->response.hdr.rsp == CLP_RC_SETPCIFN_BUSY) { in clp_set_pci_fn()
224 } while (rrb->response.hdr.rsp == CLP_RC_SETPCIFN_BUSY); in clp_set_pci_fn()
226 if (!rc && rrb->response.hdr.rsp == CLP_RC_OK) in clp_set_pci_fn()
230 zpci_err_clp(rrb->response.hdr.rsp, rc); in clp_set_pci_fn()
276 rrb->request.hdr.len = sizeof(rrb->request); in clp_list_pci()
277 rrb->request.hdr.cmd = CLP_LIST_PCI; in clp_list_pci()
279 rrb->response.hdr.len = CLP_BLK_SIZE - LIST_PCI_HDR_LEN; in clp_list_pci()
284 if (rc || rrb->response.hdr.rsp != CLP_RC_OK) { in clp_list_pci()
286 zpci_err_clp(rrb->response.hdr.rsp, rc); in clp_list_pci()
294 entries = (rrb->response.hdr.len - LIST_PCI_HDR_LEN) / in clp_list_pci()