Home
last modified time | relevance | path

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

12

/Linux-v4.19/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-v4.19/drivers/mmc/host/
Dmmci.c455 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dma_setup() local
457 if (max_seg_size < host->mmc->max_seg_size) in mmci_dma_setup()
458 host->mmc->max_seg_size = max_seg_size; in mmci_dma_setup()
462 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dma_setup() local
464 if (max_seg_size < host->mmc->max_seg_size) in mmci_dma_setup()
465 host->mmc->max_seg_size = max_seg_size; in mmci_dma_setup()
1725 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
Dwmt-sdmmc.c184 u32 max_seg_size; member
743 .max_seg_size = 65024,
798 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
Dau1xmmc.c1012 mmc->max_seg_size = AU1100_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
1015 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
1019 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; in au1xmmc_probe()
Dandroid-goldfish.c498 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_probe()
Dsdricoh_cs.c444 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
Dcavium.c1049 mmc->max_seg_size = 8 * 1024 * 1024; in cvm_mmc_of_slot_probe()
1050 mmc->max_req_size = mmc->max_seg_size; in cvm_mmc_of_slot_probe()
Dmxcmmc.c1062 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe()
1155 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
Dtifm_sd.c982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
983 mmc->max_req_size = mmc->max_seg_size; in tifm_sd_probe()
Dushc.c460 mmc->max_seg_size = 512*511; in ushc_probe()
Ddavinci_mmc.c1302 mmc->max_seg_size = MAX_CCNT * rw_threshold; in davinci_mmcsd_probe()
1312 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
Dvia-sdmmc.c1055 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
1056 mmc->max_req_size = mmc->max_seg_size; in via_init_mmc_host()
Dsunxi-mmc.c1382 mmc->max_seg_size = (1 << host->cfg->idma_des_size_bits); in sunxi_mmc_probe()
1383 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
Ddw_mmc.c2859 mmc->max_seg_size = 0x1000; in dw_mci_init_slot()
2860 mmc->max_req_size = mmc->max_seg_size * host->ring_size; in dw_mci_init_slot()
2868 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
2876 mmc->max_seg_size = mmc->max_req_size; in dw_mci_init_slot()
Dmeson-mx-sdio.c562 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
/Linux-v4.19/arch/x86/kernel/
Damd_gart_64.c397 unsigned int max_seg_size; in gart_map_sg() local
410 max_seg_size = dma_get_max_seg_size(dev); in gart_map_sg()
429 (s->length + seg_size > max_seg_size) || in gart_map_sg()
/Linux-v4.19/arch/alpha/kernel/
Dpci_iommu.c511 unsigned int max_seg_size; in sg_classify() local
519 max_seg_size = dev ? dma_get_max_seg_size(dev) : 0; in sg_classify()
525 if (leader_length + len > max_seg_size) in sg_classify()
/Linux-v4.19/arch/sparc/kernel/
Diommu.c440 unsigned int max_seg_size; in dma_4u_map_sg() local
475 max_seg_size = dma_get_max_seg_size(dev); in dma_4u_map_sg()
524 (outs->dma_length + s->length > max_seg_size) || in dma_4u_map_sg()
Dpci_sun4v.c472 unsigned int max_seg_size; in dma_4v_map_sg() local
508 max_seg_size = dma_get_max_seg_size(dev); in dma_4v_map_sg()
563 (outs->dma_length + s->length > max_seg_size) || in dma_4v_map_sg()
/Linux-v4.19/drivers/mmc/core/
Dsdio_ops.c127 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
Dmmc_test.c1084 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write()
1105 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read()
1229 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_write()
1256 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_read()
1354 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write_high()
1376 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read_high()
1563 t->max_seg_sz = test->card->host->max_seg_size; in mmc_test_area_init()
Dhost.c404 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
Dqueue.c371 blk_queue_max_segment_size(mq->queue, host->max_seg_size); in mmc_setup_queue()
/Linux-v4.19/arch/powerpc/kernel/
Diommu.c440 unsigned int max_seg_size; in ppc_iommu_map_sg() local
457 max_seg_size = dma_get_max_seg_size(dev); in ppc_iommu_map_sg()
511 (outs->dma_length + s->length > max_seg_size)) { in ppc_iommu_map_sg()
/Linux-v4.19/include/linux/mmc/
Dhost.h376 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member

12