Searched refs:spi_data (Results 1 – 8 of 8) sorted by relevance
35 void *spi_data; in ad7879_spi_xfer() local41 xfers = spi_data = kzalloc(sizeof(*xfers) * (count + 2), GFP_KERNEL); in ad7879_spi_xfer()42 if (!spi_data) in ad7879_spi_xfer()47 command = spi_data; in ad7879_spi_xfer()77 kfree(spi_data); in ad7879_spi_xfer()
32 unsigned long spi_data = 1 << 23 | addr << 15 | *data; in tps65912_spi_write() local37 tx_buf = spi_data; in tps65912_spi_write()57 unsigned long spi_data = 0 << 23 | addr << 15; in tps65912_spi_read() local64 tx_buf = spi_data; in tps65912_spi_read()
112 SpiCfgData *pspi_data = &ioc->spi_data; in mptspi_setTargetNegoParms()295 IOCPage4Ptr = ioc->spi_data.pIocPg4; in mptspi_writeIOCPage4()296 dataDma = ioc->spi_data.IocPg4_dma; in mptspi_writeIOCPage4()348 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) { in mptspi_initTarget()443 if (ioc->spi_data.nvram && in mptspi_target_alloc()444 ioc->spi_data.nvram[starget->id] != MPT_HOST_NVRAM_INVALID) { in mptspi_target_alloc()445 u32 nvram = ioc->spi_data.nvram[starget->id]; in mptspi_target_alloc()449 spi_min_period(starget) = ioc->spi_data.minSyncFactor; in mptspi_target_alloc()450 spi_max_width(starget) = ioc->spi_data.maxBusWidth; in mptspi_target_alloc()452 spi_max_offset(starget) = ioc->spi_data.maxSyncOffset; in mptspi_target_alloc()[all …]
1862 memset(&ioc->spi_data, 0, sizeof(SpiCfgData)); in mpt_attach()2747 kfree(ioc->spi_data.nvram); in mpt_adapter_disable()2751 ioc->spi_data.nvram = NULL; in mpt_adapter_disable()2754 if (ioc->spi_data.pIocPg4 != NULL) { in mpt_adapter_disable()2755 sz = ioc->spi_data.IocPg4Sz; in mpt_adapter_disable()2757 ioc->spi_data.pIocPg4, in mpt_adapter_disable()2758 ioc->spi_data.IocPg4_dma); in mpt_adapter_disable()2759 ioc->spi_data.pIocPg4 = NULL; in mpt_adapter_disable()5376 if (!ioc->spi_data.nvram) { in mpt_GetScsiPortSettings()5384 ioc->spi_data.nvram = (int *) mem; in mpt_GetScsiPortSettings()[all …]
680 SpiCfgData spi_data; /* Scsi config. data */ member
2709 if ((ioc->spi_data.sdp0length == 0) || (ioc->sh == NULL)) in mptctl_hp_targetinfo()2717 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo()2720 hdr.PageVersion = ioc->spi_data.sdp0version; in mptctl_hp_targetinfo()
951 u64 spi_data; member
5650 *data = readq(&bar0->spi_data); in read_eeprom()5705 writeq(SPI_DATA_WRITE(data, (cnt << 3)), &bar0->spi_data); in write_eeprom()