/openbmc/linux/drivers/parisc/ |
H A 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()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | jz4740_mmc.c | 259 unsigned int max_seg_size = dma_get_max_seg_size(dev); in jz4740_mmc_acquire_dma_channels() local 261 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels() 262 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels() 267 unsigned int max_seg_size = dma_get_max_seg_size(dev); in jz4740_mmc_acquire_dma_channels() local 269 if (max_seg_size < host->mmc->max_seg_size) in jz4740_mmc_acquire_dma_channels() 270 host->mmc->max_seg_size = max_seg_size; in jz4740_mmc_acquire_dma_channels() 1115 mmc->max_seg_size = mmc->max_req_size; in jz4740_mmc_probe()
|
H A D | mmci.c | 892 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local 894 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup() 895 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup() 899 unsigned int max_seg_size = dma_get_max_seg_size(dev); in mmci_dmae_setup() local 901 if (max_seg_size < host->mmc->max_seg_size) in mmci_dmae_setup() 902 host->mmc->max_seg_size = max_seg_size; in mmci_dmae_setup() 2347 mmc->max_seg_size = mmc->max_req_size; in mmci_probe()
|
H A D | wmt-sdmmc.c | 179 u32 max_seg_size; member 738 .max_seg_size = 65024, 790 mmc->max_seg_size = wmt_caps->max_seg_size; in wmt_mci_probe()
|
H A D | mmci_stm32_sdmmc.c | 208 host->mmc->max_seg_size = host->variant->stm32_idmabsize_mask; in sdmmc_idma_setup() 213 host->mmc->max_seg_size = host->mmc->max_req_size; in sdmmc_idma_setup() 216 return dma_set_max_seg_size(dev, host->mmc->max_seg_size); in sdmmc_idma_setup()
|
H A 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()
|
H A D | moxart-mmc.c | 629 mmc->max_seg_size = mmc->max_req_size; in moxart_probe() 649 mmc->max_seg_size = min3(mmc->max_req_size, in moxart_probe()
|
H A D | sdricoh_cs.c | 427 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
|
H A 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()
|
H A 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()
|
H A D | tifm_sd.c | 975 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe() 976 mmc->max_req_size = mmc->max_seg_size; in tifm_sd_probe()
|
H A D | mxcmmc.c | 1024 mmc->max_seg_size = mmc->max_req_size; in mxcmci_probe() 1121 mmc->max_seg_size = dma_get_max_seg_size( in mxcmci_probe()
|
H A D | ushc.c | 456 mmc->max_seg_size = 512*511; in ushc_probe()
|
H A 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()
|
H A D | davinci_mmc.c | 1285 mmc->max_seg_size = MAX_CCNT * rw_threshold; in davinci_mmcsd_probe() 1295 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); in davinci_mmcsd_probe()
|
/openbmc/linux/arch/x86/kernel/ |
H A 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()
|
/openbmc/linux/arch/sparc/kernel/ |
H A 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()
|
H A D | pci_sun4v.c | 476 unsigned int max_seg_size; in dma_4v_map_sg() local 512 max_seg_size = dma_get_max_seg_size(dev); in dma_4v_map_sg() 566 (outs->dma_length + s->length > max_seg_size) || in dma_4v_map_sg()
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | pci_iommu.c | 491 unsigned int max_seg_size; in sg_classify() local 499 max_seg_size = dev ? dma_get_max_seg_size(dev) : 0; in sg_classify() 505 if (leader_length + len > max_seg_size) in sg_classify()
|
/openbmc/linux/drivers/mmc/core/ |
H A D | sdio_ops.c | 123 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
|
H A D | mmc_test.c | 1065 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write() 1086 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read() 1210 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_write() 1237 size = min(size, test->card->host->max_seg_size); in mmc_test_align_multi_read() 1335 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_write_high() 1357 size = min(size, test->card->host->max_seg_size); in mmc_test_multi_read_high() 1560 t->max_seg_sz = test->card->host->max_seg_size; in mmc_test_area_init()
|
H A D | queue.c | 381 round_down(host->max_seg_size, block_size)); in mmc_setup_queue()
|
H A D | host.c | 575 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | iommu.c | 480 unsigned int max_seg_size; in ppc_iommu_map_sg() local 497 max_seg_size = dma_get_max_seg_size(dev); in ppc_iommu_map_sg() 551 (outs->dma_length + s->length > max_seg_size)) { in ppc_iommu_map_sg()
|
/openbmc/linux/include/linux/mmc/ |
H A D | host.h | 436 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member
|