Lines Matching refs:PageLength

2557 			    (ioc->lan_cnfg_page0.Header.PageLength == 0)) {  in mpt_do_ioc_recovery()
4958 hdr.PageLength = 0; in GetLanConfigPages()
4971 if (hdr.PageLength > 0) { in GetLanConfigPages()
4972 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5002 hdr.PageLength = 0; in GetLanConfigPages()
5014 if (hdr.PageLength == 0) in GetLanConfigPages()
5017 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5299 hdr.PageLength = 0; in GetIoUnitPage2()
5312 if (hdr.PageLength == 0) in GetIoUnitPage2()
5316 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5390 header.PageLength = 0; in mpt_GetScsiPortSettings()
5402 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5403 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5459 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5467 header.PageLength = 0; in mpt_GetScsiPortSettings()
5478 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5481 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5546 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5576 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5589 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5592 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5599 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5659 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5662 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5710 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_inactive_raid_volumes()
5750 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5755 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5779 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg0()
5817 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5822 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5843 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_get_num_paths()
5889 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5894 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5932 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg1()
5973 header.PageLength = 0; in mpt_findImVolumes()
5985 if (header.PageLength == 0) in mpt_findImVolumes()
5988 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6039 header.PageLength = 0; in mpt_read_ioc_pg_3()
6051 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6056 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6091 header.PageLength = 0; in mpt_read_ioc_pg_4()
6103 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6107 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6145 header.PageLength = 0; in mpt_read_ioc_pg_1()
6157 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6162 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6239 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6243 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); in mpt_get_manufacturing_pg_0()
6259 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); in mpt_get_manufacturing_pg_0()
6415 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6428 pReq->Header.PageLength = 0; in mpt_config()
6446 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6500 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()