Lines Matching refs:PageLength

2586 			    (ioc->lan_cnfg_page0.Header.PageLength == 0)) {
4963 hdr.PageLength = 0;
4976 if (hdr.PageLength > 0) {
4977 data_sz = hdr.PageLength * 4;
5007 hdr.PageLength = 0;
5019 if (hdr.PageLength == 0)
5022 data_sz = hdr.PageLength * 4;
5306 hdr.PageLength = 0;
5319 if (hdr.PageLength == 0)
5323 data_sz = hdr.PageLength * 4;
5397 header.PageLength = 0;
5409 if (header.PageLength > 0) {
5410 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma);
5466 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma);
5474 header.PageLength = 0;
5485 if (header.PageLength > 0) {
5488 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma);
5553 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma);
5583 header.PageLength = 0;
5596 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength;
5599 header.PageLength = 0;
5606 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength;
5666 if (!hdr.PageLength)
5669 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4,
5717 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer,
5757 if (!hdr.PageLength) {
5762 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4,
5786 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer,
5824 if (!hdr.PageLength) {
5829 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4,
5850 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer,
5896 if (!hdr.PageLength) {
5901 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4,
5939 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer,
5980 header.PageLength = 0;
5992 if (header.PageLength == 0)
5995 iocpage2sz = header.PageLength * 4;
6045 header.PageLength = 0;
6057 if (header.PageLength == 0)
6062 iocpage3sz = header.PageLength * 4;
6097 header.PageLength = 0;
6109 if (header.PageLength == 0)
6113 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */
6151 header.PageLength = 0;
6163 if (header.PageLength == 0)
6168 iocpage1sz = header.PageLength * 4;
6245 if (!cfg.cfghdr.hdr->PageLength)
6249 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma);
6265 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma);
6421 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength;
6434 pReq->Header.PageLength = 0;
6452 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4;
6506 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength;