• Home
  • Raw
  • Download

Lines Matching refs:spi_data

1854 	memset(&ioc->spi_data, 0, sizeof(SpiCfgData));  in mpt_attach()
2768 kfree(ioc->spi_data.nvram); in mpt_adapter_disable()
2772 ioc->spi_data.nvram = NULL; in mpt_adapter_disable()
2775 if (ioc->spi_data.pIocPg4 != NULL) { in mpt_adapter_disable()
2776 sz = ioc->spi_data.IocPg4Sz; in mpt_adapter_disable()
2778 ioc->spi_data.pIocPg4, in mpt_adapter_disable()
2779 ioc->spi_data.IocPg4_dma); in mpt_adapter_disable()
2780 ioc->spi_data.pIocPg4 = NULL; in mpt_adapter_disable()
5372 if (!ioc->spi_data.nvram) { in mpt_GetScsiPortSettings()
5380 ioc->spi_data.nvram = (int *) mem; in mpt_GetScsiPortSettings()
5383 ioc->name, ioc->spi_data.nvram, sz)); in mpt_GetScsiPortSettings()
5389 ioc->spi_data.nvram[ii] = MPT_HOST_NVRAM_INVALID; in mpt_GetScsiPortSettings()
5413 ioc->spi_data.maxBusWidth = MPT_NARROW; in mpt_GetScsiPortSettings()
5414 ioc->spi_data.maxSyncOffset = 0; in mpt_GetScsiPortSettings()
5415 ioc->spi_data.minSyncFactor = MPT_ASYNC; in mpt_GetScsiPortSettings()
5416 ioc->spi_data.busType = MPT_HOST_BUS_UNKNOWN; in mpt_GetScsiPortSettings()
5420 ioc->name, ioc->spi_data.minSyncFactor)); in mpt_GetScsiPortSettings()
5429 ioc->spi_data.noQas |= MPT_TARGET_NO_NEGO_QAS; in mpt_GetScsiPortSettings()
5434 ioc->spi_data.maxBusWidth = pPP0->Capabilities & MPI_SCSIPORTPAGE0_CAP_WIDE ? 1 : 0; in mpt_GetScsiPortSettings()
5437 ioc->spi_data.maxSyncOffset = (u8) (data >> 16); in mpt_GetScsiPortSettings()
5439 ioc->spi_data.minSyncFactor = (u8) (data >> 8); in mpt_GetScsiPortSettings()
5442 ioc->name, ioc->spi_data.minSyncFactor)); in mpt_GetScsiPortSettings()
5444 ioc->spi_data.maxSyncOffset = 0; in mpt_GetScsiPortSettings()
5445 ioc->spi_data.minSyncFactor = MPT_ASYNC; in mpt_GetScsiPortSettings()
5448 ioc->spi_data.busType = pPP0->PhysicalInterface & MPI_SCSIPORTPAGE0_PHY_SIGNAL_TYPE_MASK; in mpt_GetScsiPortSettings()
5452 if ((ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_HVD) || in mpt_GetScsiPortSettings()
5453 (ioc->spi_data.busType == MPI_SCSIPORTPAGE0_PHY_SIGNAL_SE)) { in mpt_GetScsiPortSettings()
5455 if (ioc->spi_data.minSyncFactor < MPT_ULTRA) { in mpt_GetScsiPortSettings()
5456 ioc->spi_data.minSyncFactor = MPT_ULTRA; in mpt_GetScsiPortSettings()
5459 ioc->name, ioc->spi_data.minSyncFactor)); in mpt_GetScsiPortSettings()
5524 ioc->spi_data.nvram[ii] = data; in mpt_GetScsiPortSettings()
5533 ioc->spi_data.bus_reset = in mpt_GetScsiPortSettings()
5542 ioc->spi_data.PortFlags = data; in mpt_GetScsiPortSettings()
5547 ioc->spi_data.nvram[ii] = data; in mpt_GetScsiPortSettings()
5593 ioc->spi_data.sdp1version = cfg.cfghdr.hdr->PageVersion; in mpt_readScsiDevicePageHeaders()
5594 ioc->spi_data.sdp1length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5603 ioc->spi_data.sdp0version = cfg.cfghdr.hdr->PageVersion; in mpt_readScsiDevicePageHeaders()
5604 ioc->spi_data.sdp0length = cfg.cfghdr.hdr->PageLength; in mpt_readScsiDevicePageHeaders()
5607 ioc->name, ioc->spi_data.sdp0version, ioc->spi_data.sdp0length)); in mpt_readScsiDevicePageHeaders()
5610 ioc->name, ioc->spi_data.sdp1version, ioc->spi_data.sdp1length)); in mpt_readScsiDevicePageHeaders()
6110 if ( (pIoc4 = ioc->spi_data.pIocPg4) == NULL ) { in mpt_read_ioc_pg_4()
6117 ioc4_dma = ioc->spi_data.IocPg4_dma; in mpt_read_ioc_pg_4()
6118 iocpage4sz = ioc->spi_data.IocPg4Sz; in mpt_read_ioc_pg_4()
6126 ioc->spi_data.pIocPg4 = (IOCPage4_t *) pIoc4; in mpt_read_ioc_pg_4()
6127 ioc->spi_data.IocPg4_dma = ioc4_dma; in mpt_read_ioc_pg_4()
6128 ioc->spi_data.IocPg4Sz = iocpage4sz; in mpt_read_ioc_pg_4()
6131 ioc->spi_data.pIocPg4 = NULL; in mpt_read_ioc_pg_4()