Lines Matching refs:PageLength

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