Home
last modified time | relevance | path

Searched refs:max_xfer_len (Results 1 – 9 of 9) sorted by relevance

/linux/include/linux/platform_data/
A Dspi-omap2-mcspi.h14 size_t max_xfer_len; member
/linux/drivers/spi/
A Dspi-omap2-mcspi.c131 size_t max_xfer_len; member
1308 if (mcspi->max_xfer_len && mcspi_dma->dma_rx) in omap2_mcspi_max_xfer_size()
1309 return mcspi->max_xfer_len; in omap2_mcspi_max_xfer_size()
1400 .max_xfer_len = SZ_4K - 1,
1474 if (pdata->max_xfer_len) { in omap2_mcspi_probe()
1475 mcspi->max_xfer_len = pdata->max_xfer_len; in omap2_mcspi_probe()
/linux/include/linux/
A Dshdma-base.h65 size_t max_xfer_len; /* max transfer length */ member
/linux/drivers/net/dsa/sja1105/
A Dsja1105_spi.c47 num_chunks = DIV_ROUND_UP(len, priv->max_xfer_len); in sja1105_xfer()
51 chunk.len = min_t(size_t, len, priv->max_xfer_len); in sja1105_xfer()
103 priv->max_xfer_len); in sja1105_xfer()
A Dsja1105.h253 size_t max_xfer_len; member
A Dsja1105_main.c3340 priv->max_xfer_len = SJA1105_SIZE_SPI_MSG_MAXLEN; in sja1105_probe()
3341 if (priv->max_xfer_len > max_xfer) in sja1105_probe()
3342 priv->max_xfer_len = max_xfer; in sja1105_probe()
3343 if (priv->max_xfer_len > max_msg - SJA1105_SIZE_SPI_MSG_HEADER) in sja1105_probe()
3344 priv->max_xfer_len = max_msg - SJA1105_SIZE_SPI_MSG_HEADER; in sja1105_probe()
/linux/drivers/dma/sh/
A Dshdmac.c384 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup()
385 *len = schan->max_xfer_len; in sh_dmae_desc_setup()
533 schan->max_xfer_len = SH_DMA_TCR_MAX + 1; in sh_dmae_chan_probe()
A Dshdma-base.c572 chunks += DIV_ROUND_UP(sg_dma_len(sg), schan->max_xfer_len); in shdma_prep_sg()
967 if (!schan->max_xfer_len) in shdma_chan_probe()
968 schan->max_xfer_len = PAGE_SIZE; in shdma_chan_probe()
/linux/drivers/scsi/arcmsr/
A Darcmsr_hba.c759 unsigned long max_xfer_len; in arcmsr_alloc_ccb_pool() local
767 max_xfer_len = ARCMSR_MAX_XFER_LEN; in arcmsr_alloc_ccb_pool()
771max_xfer_len = (ARCMSR_CDB_SG_PAGE_LENGTH << ((firm_config_version >> 8) & 0xFF)) * 1024;/* max 4M… in arcmsr_alloc_ccb_pool()
772 max_sg_entrys = (max_xfer_len/4096); in arcmsr_alloc_ccb_pool()
774 acb->host->max_sectors = max_xfer_len/512; in arcmsr_alloc_ccb_pool()

Completed in 34 milliseconds