Searched refs:spi_data (Results 1 – 8 of 8) sorted by relevance
81 if (rmi_spi->xport.pdata.spi_data.read_delay_us) in rmi_spi_manage_pools()86 if (rmi_spi->xport.pdata.spi_data.write_delay_us) in rmi_spi_manage_pools()117 struct rmi_device_platform_data_spi *spi_data = in rmi_spi_xfer() local118 &rmi_spi->xport.pdata.spi_data; in rmi_spi_xfer()191 xfer->delay.value = spi_data->write_delay_us; in rmi_spi_xfer()214 xfer->delay.value = spi_data->read_delay_us; in rmi_spi_xfer()337 &pdata->spi_data.read_delay_us, in rmi_spi_of_probe()343 &pdata->spi_data.write_delay_us, in rmi_spi_of_probe()396 if (pdata->spi_data.bits_per_word) in rmi_spi_probe()397 spi->bits_per_word = pdata->spi_data.bits_per_word; in rmi_spi_probe()[all …]
112 SpiCfgData *pspi_data = &ioc->spi_data; in mptspi_setTargetNegoParms()290 IOCPage4Ptr = ioc->spi_data.pIocPg4; in mptspi_writeIOCPage4()291 dataDma = ioc->spi_data.IocPg4_dma; in mptspi_writeIOCPage4()343 if ((sdev->type == TYPE_PROCESSOR) && (hd->ioc->spi_data.Saf_Te)) { in mptspi_initTarget()438 if (ioc->spi_data.nvram && in mptspi_target_alloc()439 ioc->spi_data.nvram[starget->id] != MPT_HOST_NVRAM_INVALID) { in mptspi_target_alloc()440 u32 nvram = ioc->spi_data.nvram[starget->id]; in mptspi_target_alloc()444 spi_min_period(starget) = ioc->spi_data.minSyncFactor; in mptspi_target_alloc()445 spi_max_width(starget) = ioc->spi_data.maxBusWidth; in mptspi_target_alloc()447 spi_max_offset(starget) = ioc->spi_data.maxSyncOffset; in mptspi_target_alloc()[all …]
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()[all …]
679 SpiCfgData spi_data; /* Scsi config. data */ member
2579 if ((ioc->spi_data.sdp0length == 0) || (ioc->sh == NULL)) in mptctl_hp_targetinfo()2587 data_sz = ioc->spi_data.sdp0length * 4; in mptctl_hp_targetinfo()2590 hdr.PageVersion = ioc->spi_data.sdp0version; in mptctl_hp_targetinfo()
814 const struct davinci_spi_of_data *spi_data; in spi_davinci_get_pdata() local820 spi_data = device_get_match_data(&pdev->dev); in spi_davinci_get_pdata()822 pdata->version = spi_data->version; in spi_davinci_get_pdata()823 pdata->prescaler_limit = spi_data->prescaler_limit; in spi_davinci_get_pdata()
951 u64 spi_data; member
5602 *data = readq(&bar0->spi_data); in read_eeprom()5657 writeq(SPI_DATA_WRITE(data, (cnt << 3)), &bar0->spi_data); in write_eeprom()