Lines Matching refs:PageLength
2553 (ioc->lan_cnfg_page0.Header.PageLength == 0)) { in mpt_do_ioc_recovery()
4934 hdr.PageLength = 0; in GetLanConfigPages()
4947 if (hdr.PageLength > 0) { in GetLanConfigPages()
4948 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
4978 hdr.PageLength = 0; in GetLanConfigPages()
4990 if (hdr.PageLength == 0) in GetLanConfigPages()
4993 data_sz = hdr.PageLength * 4; in GetLanConfigPages()
5275 hdr.PageLength = 0; in GetIoUnitPage2()
5288 if (hdr.PageLength == 0) in GetIoUnitPage2()
5292 data_sz = hdr.PageLength * 4; in GetIoUnitPage2()
5366 header.PageLength = 0; in mpt_GetScsiPortSettings()
5378 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5379 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5435 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5443 header.PageLength = 0; in mpt_GetScsiPortSettings()
5454 if (header.PageLength > 0) { in mpt_GetScsiPortSettings()
5457 pbuf = pci_alloc_consistent(ioc->pcidev, header.PageLength * 4, &buf_dma); in mpt_GetScsiPortSettings()
5522 pci_free_consistent(ioc->pcidev, header.PageLength * 4, pbuf, buf_dma); in mpt_GetScsiPortSettings()
5552 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5565 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5568 header.PageLength = 0; in mpt_readScsiDevicePageHeaders()
5575 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5635 if (!hdr.PageLength) in mpt_inactive_raid_volumes()
5638 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_inactive_raid_volumes()
5686 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_inactive_raid_volumes()
5726 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg0()
5731 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg0()
5755 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg0()
5793 if (!hdr.PageLength) { in mpt_raid_phys_disk_get_num_paths()
5798 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_get_num_paths()
5819 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_get_num_paths()
5865 if (!hdr.PageLength) { in mpt_raid_phys_disk_pg1()
5870 buffer = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, in mpt_raid_phys_disk_pg1()
5908 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, buffer, in mpt_raid_phys_disk_pg1()
5949 header.PageLength = 0; in mpt_findImVolumes()
5961 if (header.PageLength == 0) in mpt_findImVolumes()
5964 iocpage2sz = header.PageLength * 4; in mpt_findImVolumes()
6015 header.PageLength = 0; in mpt_read_ioc_pg_3()
6027 if (header.PageLength == 0) in mpt_read_ioc_pg_3()
6032 iocpage3sz = header.PageLength * 4; in mpt_read_ioc_pg_3()
6067 header.PageLength = 0; in mpt_read_ioc_pg_4()
6079 if (header.PageLength == 0) in mpt_read_ioc_pg_4()
6083 iocpage4sz = (header.PageLength + 4) * 4; /* Allow 4 additional SEP's */ in mpt_read_ioc_pg_4()
6121 header.PageLength = 0; in mpt_read_ioc_pg_1()
6133 if (header.PageLength == 0) in mpt_read_ioc_pg_1()
6138 iocpage1sz = header.PageLength * 4; in mpt_read_ioc_pg_1()
6215 if (!cfg.cfghdr.hdr->PageLength) in mpt_get_manufacturing_pg_0()
6219 pbuf = pci_alloc_consistent(ioc->pcidev, hdr.PageLength * 4, &buf_dma); in mpt_get_manufacturing_pg_0()
6235 pci_free_consistent(ioc->pcidev, hdr.PageLength * 4, pbuf, buf_dma); in mpt_get_manufacturing_pg_0()
6391 pReq->Header.PageLength = pCfg->cfghdr.hdr->PageLength; in mpt_config()
6404 pReq->Header.PageLength = 0; in mpt_config()
6422 flagsLength |= pCfg->cfghdr.hdr->PageLength * 4; in mpt_config()
6476 pCfg->cfghdr.hdr->PageLength = pReply->Header.PageLength; in mpt_config()