Lines Matching refs:spi_data

1333 	memset(&ioc->spi_data, 0, sizeof(ScsiCfgData));  in mpt_adapter_install()
1936 if (freeup && this->spi_data.nvram != NULL) { in mpt_adapter_disable()
1937 kfree(this->spi_data.nvram); in mpt_adapter_disable()
1938 this->spi_data.nvram = NULL; in mpt_adapter_disable()
1941 if (freeup && this->spi_data.pIocPg3 != NULL) { in mpt_adapter_disable()
1942 kfree(this->spi_data.pIocPg3); in mpt_adapter_disable()
1943 this->spi_data.pIocPg3 = NULL; in mpt_adapter_disable()
1946 if (freeup && this->spi_data.pIocPg4 != NULL) { in mpt_adapter_disable()
1947 sz = this->spi_data.IocPg4Sz; in mpt_adapter_disable()
1949 this->spi_data.pIocPg4, in mpt_adapter_disable()
1950 this->spi_data.IocPg4_dma); in mpt_adapter_disable()
1951 this->spi_data.pIocPg4 = NULL; in mpt_adapter_disable()
4146 if (!ioc->spi_data.nvram) { in mpt_GetScsiPortSettings()
4154 ioc->spi_data.nvram = (int *) mem; in mpt_GetScsiPortSettings()
4157 ioc->name, ioc->spi_data.nvram, sz)); in mpt_GetScsiPortSettings()
4163 ioc->spi_data.nvram[ii] = MPT_HOST_NVRAM_INVALID; in mpt_GetScsiPortSettings()
4187 ioc->spi_data.maxBusWidth = MPT_NARROW; in mpt_GetScsiPortSettings()
4188 ioc->spi_data.maxSyncOffset = 0; in mpt_GetScsiPortSettings()
4189 ioc->spi_data.minSyncFactor = MPT_ASYNC; in mpt_GetScsiPortSettings()
4190 ioc->spi_data.busType = MPT_HOST_BUS_UNKNOWN; in mpt_GetScsiPortSettings()
4200 ioc->spi_data.noQas |= MPT_TARGET_NO_NEGO_QAS; in mpt_GetScsiPortSettings()
4201 ioc->spi_data.maxBusWidth = pPP0->Capabilities & MPI_SCSIPORTPAGE0_CAP_WIDE ? 1 : 0; in mpt_GetScsiPortSettings()
4204 ioc->spi_data.maxSyncOffset = (u8) (data >> 16); in mpt_GetScsiPortSettings()
4206 ioc->spi_data.minSyncFactor = (u8) (data >> 8); in mpt_GetScsiPortSettings()
4208 ioc->spi_data.maxSyncOffset = 0; in mpt_GetScsiPortSettings()
4209 ioc->spi_data.minSyncFactor = MPT_ASYNC; in mpt_GetScsiPortSettings()
4212 ioc->spi_data.busType = pPP0->PhysicalInterface & MPI_SCSIPORTPAGE0_PHY_SIGNAL_TYPE_MASK; in mpt_GetScsiPortSettings()
4216 if ((ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_HVD) || in mpt_GetScsiPortSettings()
4217 (ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_SE)) { in mpt_GetScsiPortSettings()
4219 if (ioc->spi_data.minSyncFactor < MPT_ULTRA) in mpt_GetScsiPortSettings()
4220 ioc->spi_data.minSyncFactor = MPT_ULTRA; in mpt_GetScsiPortSettings()
4262 ioc->spi_data.PortFlags = data; in mpt_GetScsiPortSettings()
4267 ioc->spi_data.nvram[ii] = data; in mpt_GetScsiPortSettings()
4312 ioc->spi_data.sdp1version = cfg.hdr->PageVersion; in mpt_readScsiDevicePageHeaders()
4313 ioc->spi_data.sdp1length = cfg.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
4322 ioc->spi_data.sdp0version = cfg.hdr->PageVersion; in mpt_readScsiDevicePageHeaders()
4323 ioc->spi_data.sdp0length = cfg.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
4326 ioc->name, ioc->spi_data.sdp0version, ioc->spi_data.sdp0length)); in mpt_readScsiDevicePageHeaders()
4329 ioc->name, ioc->spi_data.sdp1version, ioc->spi_data.sdp1length)); in mpt_readScsiDevicePageHeaders()
4387 if ( (mem = (u8 *)ioc->spi_data.pIocPg2) == NULL ) { in mpt_findImVolumes()
4390 ioc->spi_data.pIocPg2 = (IOCPage2_t *) mem; in mpt_findImVolumes()
4407 ioc->spi_data.isRaid = 0; in mpt_findImVolumes()
4416 ioc->spi_data.isRaid |= (1 << vid); in mpt_findImVolumes()
4451 if (ioc->spi_data.pIocPg3) { in mpt_read_ioc_pg_3()
4452 kfree(ioc->spi_data.pIocPg3); in mpt_read_ioc_pg_3()
4453 ioc->spi_data.pIocPg3 = NULL; in mpt_read_ioc_pg_3()
4491 ioc->spi_data.pIocPg3 = (IOCPage3_t *) mem; in mpt_read_ioc_pg_3()
4527 if ( (pIoc4 = ioc->spi_data.pIocPg4) == NULL ) { in mpt_read_ioc_pg_4()
4533 ioc4_dma = ioc->spi_data.IocPg4_dma; in mpt_read_ioc_pg_4()
4534 iocpage4sz = ioc->spi_data.IocPg4Sz; in mpt_read_ioc_pg_4()
4542 ioc->spi_data.pIocPg4 = (IOCPage4_t *) pIoc4; in mpt_read_ioc_pg_4()
4543 ioc->spi_data.IocPg4_dma = ioc4_dma; in mpt_read_ioc_pg_4()
4544 ioc->spi_data.IocPg4Sz = iocpage4sz; in mpt_read_ioc_pg_4()
4547 ioc->spi_data.pIocPg4 = NULL; in mpt_read_ioc_pg_4()