Lines Matching full:sccb

60 	struct pci_cfg_sccb *sccb;  in do_pci_configure()  local
66 sccb = (struct pci_cfg_sccb *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in do_pci_configure()
67 if (!sccb) in do_pci_configure()
70 sccb->header.length = PAGE_SIZE; in do_pci_configure()
71 sccb->atype = SCLP_ATYPE_PCI; in do_pci_configure()
72 sccb->aid = fid; in do_pci_configure()
73 rc = sclp_sync_request(cmd, sccb); in do_pci_configure()
76 switch (sccb->header.response_code) { in do_pci_configure()
82 cmd, sccb->header.response_code); in do_pci_configure()
87 free_page((unsigned long) sccb); in do_pci_configure()
133 struct err_notify_sccb *sccb; in sclp_pci_report() local
151 sccb = (void *) get_zeroed_page(GFP_KERNEL | GFP_DMA); in sclp_pci_report()
152 if (!sccb) { in sclp_pci_report()
162 req.sccb = sccb; in sclp_pci_report()
164 sccb->evbuf.header.length = sizeof(sccb->evbuf) + report->length; in sclp_pci_report()
165 sccb->evbuf.header.type = EVTYP_ERRNOTIFY; in sclp_pci_report()
166 sccb->header.length = sizeof(sccb->header) + sccb->evbuf.header.length; in sclp_pci_report()
168 sccb->evbuf.action = report->action; in sclp_pci_report()
169 sccb->evbuf.atype = SCLP_ATYPE_PCI; in sclp_pci_report()
170 sccb->evbuf.fh = fh; in sclp_pci_report()
171 sccb->evbuf.fid = fid; in sclp_pci_report()
173 memcpy(sccb->evbuf.data, report->data, report->length); in sclp_pci_report()
187 if (sccb->header.response_code != 0x0020) { in sclp_pci_report()
189 sccb->header.response_code); in sclp_pci_report()
194 free_page((unsigned long) sccb); in sclp_pci_report()