/linux-6.1.9/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-6.1.9/drivers/mmc/host/ |
D | jz4740_mmc.c | 256 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()
|
D | mmci.c | 790 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()
|
D | mmci_stm32_sdmmc.c | 183 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()
|
D | wmt-sdmmc.c | 180 u32 max_seg_size; member 739 .max_seg_size = 65024, 791 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
|
D | au1xmmc.c | 993 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()
|
D | sdricoh_cs.c | 435 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
|
D | alcor.c | 1073 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()
|
D | cavium.c | 1047 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()
|
D | mxcmmc.c | 1026 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1123 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
|
D | tifm_sd.c | 983 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()
|
D | ushc.c | 456 mmc->max_seg_size = 512*511; in ushc_probe()
|
D | via-sdmmc.c | 1049 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()
|
D | davinci_mmc.c | 1286 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()
|
D | owl-mmc.c | 606 mmc->max_seg_size = 262144; in owl_mmc_probe()
|
/linux-6.1.9/arch/x86/kernel/ |
D | amd_gart_64.c | 384 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/ |
D | pci_iommu.c | 489 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/ |
D | iommu.c | 439 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()
|
D | pci_sun4v.c | 475 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/ |
D | sdio_ops.c | 123 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
|
D | mmc_test.c | 1070 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()
|
D | queue.c | 381 round_down(host->max_seg_size, block_size)); in mmc_setup_queue()
|
D | host.c | 576 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
|
/linux-6.1.9/arch/powerpc/kernel/ |
D | iommu.c | 470 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/ |
D | host.h | 430 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member
|