Lines Matching refs:PageLength
2586 (ioc->lan_cnfg_page0.Header.PageLength == 0)) { in mpt_do_ioc_recovery()
4964 hdr.PageLength = 0; in GetLanConfigPages()
4977 if (hdr.PageLength > 0) { in GetLanConfigPages()
4978 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5008 hdr.PageLength = 0; in GetLanConfigPages()
5020 if (hdr.PageLength == 0) in GetLanConfigPages()
5023 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5305 hdr.PageLength = 0; in GetIoUnitPage2()
5318 if (hdr.PageLength == 0) in GetIoUnitPage2()
5322 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5396 header.PageLength = 0; in mpt_GetScsiPortSettings()
5408 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5409 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5465 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5473 header.PageLength = 0; in mpt_GetScsiPortSettings()
5484 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5487 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5552 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5582 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5595 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5598 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5605 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5665 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5668 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5716 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_inactive_raid_volumes()
5756 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5761 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5785 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg0()
5823 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5828 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5849 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_get_num_paths()
5895 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5900 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5938 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg1()
5979 header.PageLength = 0; in mpt_findImVolumes()
5991 if (header.PageLength == 0) in mpt_findImVolumes()
5994 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6044 header.PageLength = 0; in mpt_read_ioc_pg_3()
6056 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6061 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6096 header.PageLength = 0; in mpt_read_ioc_pg_4()
6108 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6112 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6150 header.PageLength = 0; in mpt_read_ioc_pg_1()
6162 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6167 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6244 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6248 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); in mpt_get_manufacturing_pg_0()
6264 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); in mpt_get_manufacturing_pg_0()
6420 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6433 pReq->Header.PageLength = 0; in mpt_config()
6451 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6505 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()