Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/platform_data/
Dspi-omap2-mcspi.h14 size_t max_xfer_len; member
/linux-6.1.9/include/linux/
Dshdma-base.h65 size_t max_xfer_len; /* max transfer length */ member
/linux-6.1.9/drivers/spi/
Dspi-omap2-mcspi.c131 size_t max_xfer_len; member
1312 if (mcspi->max_xfer_len && mcspi_dma->dma_rx) in omap2_mcspi_max_xfer_size()
1313 return mcspi->max_xfer_len; in omap2_mcspi_max_xfer_size()
1401 .max_xfer_len = SZ_4K - 1,
1475 if (pdata->max_xfer_len) { in omap2_mcspi_probe()
1476 mcspi->max_xfer_len = pdata->max_xfer_len; in omap2_mcspi_probe()
/linux-6.1.9/drivers/net/dsa/sja1105/
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()
Dsja1105.h254 size_t max_xfer_len; member
Dsja1105_main.c3297 priv->max_xfer_len = SJA1105_SIZE_SPI_MSG_MAXLEN; in sja1105_probe()
3298 if (priv->max_xfer_len > max_xfer) in sja1105_probe()
3299 priv->max_xfer_len = max_xfer; in sja1105_probe()
3300 if (priv->max_xfer_len > max_msg - SJA1105_SIZE_SPI_MSG_HEADER) in sja1105_probe()
3301 priv->max_xfer_len = max_msg - SJA1105_SIZE_SPI_MSG_HEADER; in sja1105_probe()
/linux-6.1.9/drivers/dma/sh/
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()
Dshdma-base.c572 chunks += DIV_ROUND_UP(sg_dma_len(sg), schan->max_xfer_len); in shdma_prep_sg()
959 if (!schan->max_xfer_len) in shdma_chan_probe()
960 schan->max_xfer_len = PAGE_SIZE; in shdma_chan_probe()
/linux-6.1.9/drivers/scsi/arcmsr/
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()