/Linux-v4.19/drivers/parisc/ |
D | iommu-helpers.h | 108 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/ |
D | mmci.c | 455 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()
|
D | wmt-sdmmc.c | 184 u32 max_seg_size; member 743 .max_seg_size = 65024, 798 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
|
D | au1xmmc.c | 1012 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()
|
D | android-goldfish.c | 498 mmc->max_seg_size = mmc->max_req_size; in goldfish_mmc_probe()
|
D | sdricoh_cs.c | 444 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
|
D | cavium.c | 1049 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()
|
D | mxcmmc.c | 1062 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1155 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
|
D | tifm_sd.c | 982 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()
|
D | ushc.c | 460 mmc->max_seg_size = 512*511; in ushc_probe()
|
D | davinci_mmc.c | 1302 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()
|
D | via-sdmmc.c | 1055 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()
|
D | sunxi-mmc.c | 1382 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()
|
D | dw_mmc.c | 2859 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()
|
D | meson-mx-sdio.c | 562 mmc->max_seg_size = mmc->max_req_size; in meson_mx_mmc_add_host()
|
/Linux-v4.19/arch/x86/kernel/ |
D | amd_gart_64.c | 397 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/ |
D | pci_iommu.c | 511 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/ |
D | iommu.c | 440 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()
|
D | pci_sun4v.c | 472 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/ |
D | sdio_ops.c | 127 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
|
D | mmc_test.c | 1084 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()
|
D | host.c | 404 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
|
D | queue.c | 371 blk_queue_max_segment_size(mq->queue, host->max_seg_size); in mmc_setup_queue()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | iommu.c | 440 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/ |
D | host.h | 376 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member
|