Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/parisc/
H A 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()
/openbmc/linux/drivers/mmc/host/
H A Djz4740_mmc.c259 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 Dmmci.c892 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 Dwmt-sdmmc.c179 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 Dmmci_stm32_sdmmc.c208 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 Dau1xmmc.c993 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 Dmoxart-mmc.c629 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 Dsdricoh_cs.c427 mmc->max_seg_size = 1024 * 512; in sdricoh_init_mmc()
H A Dcavium.c1047 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 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()
H A Dtifm_sd.c975 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 Dmxcmmc.c1024 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 Dushc.c456 mmc->max_seg_size = 512*511; in ushc_probe()
H A Dvia-sdmmc.c1049 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 Ddavinci_mmc.c1285 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 Damd_gart_64.c384 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 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()
H A Dpci_sun4v.c476 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 Dpci_iommu.c491 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 Dsdio_ops.c123 unsigned int seg_size = card->host->max_seg_size; in mmc_io_rw_extended()
H A Dmmc_test.c1065 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 Dqueue.c381 round_down(host->max_seg_size, block_size)); in mmc_setup_queue()
H A Dhost.c575 host->max_seg_size = PAGE_SIZE; in mmc_alloc_host()
/openbmc/linux/arch/powerpc/kernel/
H A Diommu.c480 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 Dhost.h436 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member

123