Searched refs:max_xfer_len (Results 1 – 11 of 11) sorted by relevance
922 uint32_t max_xfer_len; in chunk_msg() local928 max_xfer_len = CONFIG_DWC2_MAX_PACKET_COUNT * max; in chunk_msg()929 if (max_xfer_len > CONFIG_DWC2_MAX_TRANSFER_SIZE) in chunk_msg()930 max_xfer_len = CONFIG_DWC2_MAX_TRANSFER_SIZE; in chunk_msg()931 if (max_xfer_len > DWC2_DATA_BUF_SIZE) in chunk_msg()932 max_xfer_len = DWC2_DATA_BUF_SIZE; in chunk_msg()935 num_packets = max_xfer_len / max; in chunk_msg()936 max_xfer_len = num_packets * max; in chunk_msg()955 max_xfer_len = max; in chunk_msg()965 if (xfer_len > max_xfer_len) in chunk_msg()[all …]
14 size_t max_xfer_len; member
65 size_t max_xfer_len; /* max transfer length */ member
132 size_t max_xfer_len; member1315 if (mcspi->max_xfer_len && mcspi_dma->dma_rx) in omap2_mcspi_max_xfer_size()1316 return mcspi->max_xfer_len; in omap2_mcspi_max_xfer_size()1404 .max_xfer_len = SZ_4K - 1,1476 if (pdata->max_xfer_len) { in omap2_mcspi_probe()1477 mcspi->max_xfer_len = pdata->max_xfer_len; in omap2_mcspi_probe()
47 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()
259 size_t max_xfer_len; member
3353 priv->max_xfer_len = SJA1105_SIZE_SPI_MSG_MAXLEN; in sja1105_probe()3354 if (priv->max_xfer_len > max_xfer) in sja1105_probe()3355 priv->max_xfer_len = max_xfer; in sja1105_probe()3356 if (priv->max_xfer_len > max_msg - SJA1105_SIZE_SPI_MSG_HEADER) in sja1105_probe()3357 priv->max_xfer_len = max_msg - SJA1105_SIZE_SPI_MSG_HEADER; in sja1105_probe()
2073 uint64_t max_xfer_len = iscsilun->use_16_for_rw ? 0xffffffff : 0xffff; in iscsi_refresh_limits() local2080 if (iscsilun->bl.max_xfer_len) { in iscsi_refresh_limits()2081 max_xfer_len = MIN(max_xfer_len, iscsilun->bl.max_xfer_len); in iscsi_refresh_limits()2084 if (max_xfer_len * block_size < INT_MAX) { in iscsi_refresh_limits()2085 bs->bl.max_transfer = max_xfer_len * iscsilun->block_size; in iscsi_refresh_limits()2100 max_xfer_len * iscsilun->block_size); in iscsi_refresh_limits()
383 if (*len > schan->max_xfer_len) in sh_dmae_desc_setup()384 *len = schan->max_xfer_len; in sh_dmae_desc_setup()532 schan->max_xfer_len = SH_DMA_TCR_MAX + 1; in sh_dmae_chan_probe()
572 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()
763 unsigned long max_xfer_len; in arcmsr_alloc_ccb_pool() local771 max_xfer_len = ARCMSR_MAX_XFER_LEN; in arcmsr_alloc_ccb_pool()775 …max_xfer_len = (ARCMSR_CDB_SG_PAGE_LENGTH << ((firm_config_version >> 8) & 0xFF)) * 1024;/* max 4M… in arcmsr_alloc_ccb_pool()776 max_sg_entrys = (max_xfer_len/4096); in arcmsr_alloc_ccb_pool()778 acb->host->max_sectors = max_xfer_len/512; in arcmsr_alloc_ccb_pool()