Lines Matching refs:PageLength
2577 (ioc->lan_cnfg_page0.Header.PageLength == 0)) { in mpt_do_ioc_recovery()
4954 hdr.PageLength = 0; in GetLanConfigPages()
4967 if (hdr.PageLength > 0) { in GetLanConfigPages()
4968 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5000 hdr.PageLength = 0; in GetLanConfigPages()
5012 if (hdr.PageLength == 0) in GetLanConfigPages()
5015 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5301 hdr.PageLength = 0; in GetIoUnitPage2()
5314 if (hdr.PageLength == 0) in GetIoUnitPage2()
5318 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5394 header.PageLength = 0; in mpt_GetScsiPortSettings()
5406 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5408 header.PageLength * 4, &buf_dma, in mpt_GetScsiPortSettings()
5466 header.PageLength * 4, pbuf, in mpt_GetScsiPortSettings()
5475 header.PageLength = 0; in mpt_GetScsiPortSettings()
5486 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5490 header.PageLength * 4, &buf_dma, in mpt_GetScsiPortSettings()
5557 header.PageLength * 4, pbuf, in mpt_GetScsiPortSettings()
5588 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5601 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5604 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5611 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5671 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5674 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5722 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5762 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5767 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5791 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5829 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5834 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5855 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5901 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5906 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5944 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5985 header.PageLength = 0; in mpt_findImVolumes()
5997 if (header.PageLength == 0) in mpt_findImVolumes()
6000 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6051 header.PageLength = 0; in mpt_read_ioc_pg_3()
6063 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6068 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6104 header.PageLength = 0; in mpt_read_ioc_pg_4()
6116 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6120 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6160 header.PageLength = 0; in mpt_read_ioc_pg_1()
6172 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6177 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6255 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6259 pbuf = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_get_manufacturing_pg_0()
6276 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, pbuf, in mpt_get_manufacturing_pg_0()
6423 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6436 pReq->Header.PageLength = 0; in mpt_config()
6454 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6508 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()