Home
last modified time | relevance | path

Searched refs:max_seg_size (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.1.9/drivers/parisc/
Diommu-helpers.h108 unsigned int max_seg_size = min(dma_get_max_seg_size(dev), in iommu_coalesce_chunks() local
112 max_seg_size = min(max_seg_size, max_seg_boundary); in iommu_coalesce_chunks()
150 max_seg_size)) in iommu_coalesce_chunks()
/linux-6.1.9/drivers/mmc/host/
Djz4740_mmc.c256 unsigned int max_seg_size = dma_get_max_seg_size(dev); in jz4740_mmc_acquire_dma_channels() local
258 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels()
259 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels()
264 unsigned int max_seg_size = dma_get_max_seg_size(dev); in jz4740_mmc_acquire_dma_channels() local
266 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels()
267 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels()
1070 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
Dmmci.c790 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local
792 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup()
793 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup()
797 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local
799 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup()
800 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup()
2191 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
Dmmci_stm32_sdmmc.c183 host->mmc->max_seg_size = host->variant->stm32_idmabsize_mask; in sdmmc_idma_setup()
188 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
191 return dma_set_max_seg_size(dev, host->mmc->max_seg_size); in sdmmc_idma_setup()
Dwmt-sdmmc.c180 u32 max_seg_size; member
739 .max_seg_size = 65024,
791 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
Dau1xmmc.c993 mmc->max_seg_size = AU1100_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
996 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
1000 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
Dsdricoh_cs.c435 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
Dalcor.c1073 mmc->max_seg_size = AU6601_MAX_DMA_BLOCK_SIZE; in alcor_init_mmc()
1076 dma_set_max_seg_size(host->dev, mmc->max_seg_size); in alcor_init_mmc()
Dcavium.c1047 mmc->max_seg_size = min_t(unsigned int, 8 * 1024 * 1024, in cvm_mmc_of_slot_probe()
1049 mmc->max_req_size = mmc->max_seg_size; in cvm_mmc_of_slot_probe()
Dmxcmmc.c1026 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
1123 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
Dtifm_sd.c983 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
984 mmc->max_req_size = mmc->max_seg_size; in tifm_sd_probe()
Dushc.c456 mmc->max_seg_size = 512*511; in ushc_probe()
Dvia-sdmmc.c1049 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
1050 mmc->max_req_size = mmc->max_seg_size; in via_init_mmc_host()
Ddavinci_mmc.c1286 mmc->max_seg_size = MAX_CCNT * rw_threshold; in davinci_mmcsd_probe()
1296 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
Dowl-mmc.c606 mmc->max_seg_size = 262144; in owl_mmc_probe()
/linux-6.1.9/arch/x86/kernel/
Damd_gart_64.c384 unsigned int max_seg_size; in gart_map_sg() local
394 max_seg_size = dma_get_max_seg_size(dev); in gart_map_sg()
413 (s->length + seg_size > max_seg_size) || in gart_map_sg()
/linux-6.1.9/arch/alpha/kernel/
Dpci_iommu.c489 unsigned int max_seg_size; in sg_classify() local
497 max_seg_size = dev ? dma_get_max_seg_size(dev) : 0; in sg_classify()
503 if (leader_length + len > max_seg_size) in sg_classify()
/linux-6.1.9/arch/sparc/kernel/
Diommu.c439 unsigned int max_seg_size; in dma_4u_map_sg() local
474 max_seg_size = dma_get_max_seg_size(dev); in dma_4u_map_sg()
522 (outs->dma_length + s->length > max_seg_size) || in dma_4u_map_sg()
Dpci_sun4v.c475 unsigned int max_seg_size; in dma_4v_map_sg() local
511 max_seg_size = dma_get_max_seg_size(dev); in dma_4v_map_sg()
565 (outs->dma_length + s->length > max_seg_size) || in dma_4v_map_sg()
/linux-6.1.9/drivers/mmc/core/
Dsdio_ops.c123 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
Dmmc_test.c1070 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write()
1091 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read()
1215 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_write()
1242 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_read()
1340 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write_high()
1362 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read_high()
1565 t->max_seg_sz = test->card->host->max_seg_size; in mmc_test_area_init()
Dqueue.c381 round_down(host->max_seg_size, block_size)); in mmc_setup_queue()
Dhost.c576 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
/linux-6.1.9/arch/powerpc/kernel/
Diommu.c470 unsigned int max_seg_size; in ppc_iommu_map_sg() local
487 max_seg_size = dma_get_max_seg_size(dev); in ppc_iommu_map_sg()
541 (outs->dma_length + s->length > max_seg_size)) { in ppc_iommu_map_sg()
/linux-6.1.9/include/linux/mmc/
Dhost.h430 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member

123