Home
last modified time | relevance | path

Searched refs:max_segs (Results 1 – 25 of 49) sorted by relevance

12

/drivers/mmc/core/
A Dmmc_test.c79 unsigned int max_segs; member
336 unsigned int max_segs, in mmc_test_alloc_mem() argument
354 if (max_segs > max_page_cnt) in mmc_test_alloc_mem()
355 max_segs = max_page_cnt; in mmc_test_alloc_mem()
390 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem()
417 sg_init_table(sglist, max_segs); in mmc_test_map_sg()
418 if (min_sg_len > max_segs) in mmc_test_map_sg()
419 min_sg_len = max_segs; in mmc_test_map_sg()
462 unsigned int max_segs, in mmc_test_map_sg_max_scatter() argument
471 sg_init_table(sglist, max_segs); in mmc_test_map_sg_max_scatter()
[all …]
A Dqueue.c202 host->max_segs; in mmc_get_max_segments()
378 lim.max_segments = host->max_segs; in mmc_alloc_disk()
455 host->max_segs < MMC_DMA_MAP_MERGE_SEGMENTS && in mmc_init_queue()
A Dhost.c571 host->max_segs = 1; in mmc_alloc_host()
/drivers/mmc/host/
A Dwmt-sdmmc.c180 u32 max_segs; member
739 .max_segs = 128,
791 mmc->max_segs = wmt_caps->max_segs; in wmt_mci_probe()
794 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
A Drenesas_sdhi_internal_dmac.c105 .max_segs = 1,
120 .max_segs = 1,
136 .max_segs = 1,
A Drenesas_sdhi.h37 unsigned short max_segs; member
A Dmmci_stm32_sdmmc.c206 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup()
212 host->mmc->max_segs = 1; in sdmmc_idma_setup()
A Dtmio_mmc_core.c1160 mmc->max_segs = pdata->max_segs ? : 32; in tmio_mmc_host_probe()
1163 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
A Dcavium.c1042 mmc->max_segs = 16; in cvm_mmc_of_slot_probe()
1044 mmc->max_segs = 1; in cvm_mmc_of_slot_probe()
A Drenesas_sdhi_core.c1127 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
A Ddavinci_mmc.c1274 mmc->max_segs = MAX_NR_SG; in davinci_mmcsd_probe()
1284 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
A Dmeson-gx-mmc.c1232 mmc->max_segs = 1; in meson_mmc_probe()
1238 mmc->max_segs = SD_EMMC_DESC_BUF_LEN / in meson_mmc_probe()
A Dushc.c455 mmc->max_segs = 1; in ushc_probe()
A Dsunxi-mmc.c1420 mmc->max_segs = PAGE_SIZE / sizeof(struct sunxi_idma_des); in sunxi_mmc_probe()
1422 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
A Dowl-mmc.c599 mmc->max_segs = 256; in owl_mmc_probe()
A Duniphier-sd.c704 tmio_data->max_segs = 1; in uniphier_sd_probe()
A Dsh_mmcif.c1475 mmc->max_segs = 32; in sh_mmcif_probe()
1477 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
A Datmel-mci.c2290 mmc->max_segs = 256; in atmci_init_slot()
2294 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2296 mmc->max_segs = 64; in atmci_init_slot()
A Dmxs-mmc.c639 mmc->max_segs = 52; in mxs_mmc_probe()
A Dsdhci.c4245 mmc->max_segs = max_blocks; in sdhci_allocate_bounce_buffer()
4746 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_setup_host()
4748 mmc->max_segs = 1; in sdhci_setup_host()
4752 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_setup_host()
4809 if (mmc->max_segs == 1) in sdhci_setup_host()
A Dpxamci.c628 mmc->max_segs = NR_SG; in pxamci_probe()
/drivers/infiniband/sw/rdmavt/
A Dmr.c116 mr->max_segs = count; in rvt_init_mregion()
569 if (unlikely(mapped_segs == mr->mr.max_segs)) in rvt_set_page()
/drivers/net/wireless/ath/ath6kl/
A Dsdio.c744 if (ar_sdio->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { in ath6kl_sdio_enable_scatter()
746 ar_sdio->func->card->host->max_segs, in ath6kl_sdio_enable_scatter()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dbcmsdh.c765 sdiodev->sg_support = host->max_segs > 1; in brcmf_sdiod_sgtable_alloc()
769 sdiodev->max_segment_count = min_t(uint, host->max_segs, in brcmf_sdiod_sgtable_alloc()
/drivers/usb/host/
A Dxhci-mem.c2299 unsigned int max_segs; in xhci_alloc_interrupter() local
2305 max_segs = BIT(HCS_ERST_MAX(xhci->hcs_params2)); in xhci_alloc_interrupter()
2306 segs = min(segs, max_segs); in xhci_alloc_interrupter()

Completed in 94 milliseconds

12