Lines Matching refs:PageLength
2585 (ioc->lan_cnfg_page0.Header.PageLength == 0)) { in mpt_do_ioc_recovery()
4961 hdr.PageLength = 0; in GetLanConfigPages()
4974 if (hdr.PageLength > 0) { in GetLanConfigPages()
4975 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5005 hdr.PageLength = 0; in GetLanConfigPages()
5017 if (hdr.PageLength == 0) in GetLanConfigPages()
5020 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5304 hdr.PageLength = 0; in GetIoUnitPage2()
5317 if (hdr.PageLength == 0) in GetIoUnitPage2()
5321 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5395 header.PageLength = 0; in mpt_GetScsiPortSettings()
5407 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5408 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5464 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5472 header.PageLength = 0; in mpt_GetScsiPortSettings()
5483 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5486 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5551 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5581 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5594 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5597 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5604 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5664 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5667 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5715 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_inactive_raid_volumes()
5755 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5760 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5784 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg0()
5822 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5827 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5848 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_get_num_paths()
5894 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5899 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5937 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg1()
5978 header.PageLength = 0; in mpt_findImVolumes()
5990 if (header.PageLength == 0) in mpt_findImVolumes()
5993 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6043 header.PageLength = 0; in mpt_read_ioc_pg_3()
6055 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6060 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6095 header.PageLength = 0; in mpt_read_ioc_pg_4()
6107 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6111 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6149 header.PageLength = 0; in mpt_read_ioc_pg_1()
6161 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6166 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6243 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6247 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); in mpt_get_manufacturing_pg_0()
6263 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); in mpt_get_manufacturing_pg_0()
6409 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6422 pReq->Header.PageLength = 0; in mpt_config()
6440 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6494 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()