Lines Matching refs:PageLength

2573 			    (ioc->lan_cnfg_page0.Header.PageLength == 0)) {  in mpt_do_ioc_recovery()
4950 hdr.PageLength = 0; in GetLanConfigPages()
4963 if (hdr.PageLength > 0) { in GetLanConfigPages()
4964 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
4996 hdr.PageLength = 0; in GetLanConfigPages()
5008 if (hdr.PageLength == 0) in GetLanConfigPages()
5011 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5297 hdr.PageLength = 0; in GetIoUnitPage2()
5310 if (hdr.PageLength == 0) in GetIoUnitPage2()
5314 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5390 header.PageLength = 0; in mpt_GetScsiPortSettings()
5402 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5404 header.PageLength * 4, &buf_dma, in mpt_GetScsiPortSettings()
5462 header.PageLength * 4, pbuf, in mpt_GetScsiPortSettings()
5471 header.PageLength = 0; in mpt_GetScsiPortSettings()
5482 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5486 header.PageLength * 4, &buf_dma, in mpt_GetScsiPortSettings()
5553 header.PageLength * 4, pbuf, in mpt_GetScsiPortSettings()
5584 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5597 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5600 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5607 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5667 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5670 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5718 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5758 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5763 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5787 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5825 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5830 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5851 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5897 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5902 buffer = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5940 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5981 header.PageLength = 0; in mpt_findImVolumes()
5993 if (header.PageLength == 0) in mpt_findImVolumes()
5996 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6047 header.PageLength = 0; in mpt_read_ioc_pg_3()
6059 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6064 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6100 header.PageLength = 0; in mpt_read_ioc_pg_4()
6112 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6116 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6156 header.PageLength = 0; in mpt_read_ioc_pg_1()
6168 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6173 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6251 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6255 pbuf = dma_alloc_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, in mpt_get_manufacturing_pg_0()
6272 dma_free_coherent(&ioc->pcidev->dev, hdr.PageLength * 4, pbuf, in mpt_get_manufacturing_pg_0()
6419 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6432 pReq->Header.PageLength = 0; in mpt_config()
6450 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6504 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()