Home
last modified time | relevance | path

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

123

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dmmci.c789 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local
791 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup()
792 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup()
796 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local
798 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup()
799 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup()
2126 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
Dmmci_stm32_sdmmc.c139 host->mmc->max_seg_size = host->variant->stm32_idmabsize_mask; in sdmmc_idma_setup()
142 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup()
145 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,
794 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
Dau1xmmc.c991 mmc->max_seg_size = AU1100_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
994 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
998 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
Dandroid-goldfish.c486 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_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.c1049 mmc->max_seg_size = min_t(unsigned int, 8 * 1024 * 1024, in cvm_mmc_of_slot_probe()
1051 mmc->max_req_size = mmc->max_seg_size; in cvm_mmc_of_slot_probe()
Dtifm_sd.c984 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
985 mmc->max_req_size = mmc->max_seg_size; in tifm_sd_probe()
Dmxcmmc.c1045 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
1147 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
Dushc.c456 mmc->max_seg_size = 512*511; in ushc_probe()
Ddavinci_mmc.c1288 mmc->max_seg_size = MAX_CCNT * rw_threshold; in davinci_mmcsd_probe()
1298 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
Dvia-sdmmc.c1051 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
1052 mmc->max_req_size = mmc->max_seg_size; in via_init_mmc_host()
Dowl-mmc.c608 mmc->max_seg_size = 262144; in owl_mmc_probe()
/kernel/linux/linux-5.10/arch/x86/kernel/
Damd_gart_64.c386 unsigned int max_seg_size; in gart_map_sg() local
396 max_seg_size = dma_get_max_seg_size(dev); in gart_map_sg()
415 (s->length + seg_size > max_seg_size) || in gart_map_sg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dsdio_ops.c123 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
Dmmc_test.c1085 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write()
1106 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read()
1230 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_write()
1257 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_read()
1355 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write_high()
1377 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read_high()
1580 t->max_seg_sz = test->card->host->max_seg_size; in mmc_test_area_init()
Dhost.c501 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
Dqueue.c400 round_down(host->max_seg_size, block_size)); in mmc_setup_queue()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dpci_iommu.c518 unsigned int max_seg_size; in sg_classify() local
526 max_seg_size = dev ? dma_get_max_seg_size(dev) : 0; in sg_classify()
532 if (leader_length + len > max_seg_size) in sg_classify()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Diommu.c421 unsigned int max_seg_size; in ppc_iommu_map_sg() local
438 max_seg_size = dma_get_max_seg_size(dev); in ppc_iommu_map_sg()
492 (outs->dma_length + s->length > max_seg_size)) { in ppc_iommu_map_sg()
/kernel/linux/linux-5.10/include/linux/mmc/
Dhost.h383 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member

123