| /drivers/mmc/core/ |
| A D | mmc_test.c | 79 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 D | queue.c | 202 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 D | host.c | 571 host->max_segs = 1; in mmc_alloc_host()
|
| /drivers/mmc/host/ |
| A D | wmt-sdmmc.c | 180 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 D | renesas_sdhi_internal_dmac.c | 105 .max_segs = 1, 120 .max_segs = 1, 136 .max_segs = 1,
|
| A D | renesas_sdhi.h | 37 unsigned short max_segs; member
|
| A D | mmci_stm32_sdmmc.c | 206 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup() 212 host->mmc->max_segs = 1; in sdmmc_idma_setup()
|
| A D | tmio_mmc_core.c | 1160 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 D | cavium.c | 1042 mmc->max_segs = 16; in cvm_mmc_of_slot_probe() 1044 mmc->max_segs = 1; in cvm_mmc_of_slot_probe()
|
| A D | renesas_sdhi_core.c | 1127 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
|
| A D | davinci_mmc.c | 1274 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 D | meson-gx-mmc.c | 1232 mmc->max_segs = 1; in meson_mmc_probe() 1238 mmc->max_segs = SD_EMMC_DESC_BUF_LEN / in meson_mmc_probe()
|
| A D | ushc.c | 455 mmc->max_segs = 1; in ushc_probe()
|
| A D | sunxi-mmc.c | 1420 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 D | owl-mmc.c | 599 mmc->max_segs = 256; in owl_mmc_probe()
|
| A D | uniphier-sd.c | 704 tmio_data->max_segs = 1; in uniphier_sd_probe()
|
| A D | sh_mmcif.c | 1475 mmc->max_segs = 32; in sh_mmcif_probe() 1477 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
|
| A D | atmel-mci.c | 2290 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 D | mxs-mmc.c | 639 mmc->max_segs = 52; in mxs_mmc_probe()
|
| A D | sdhci.c | 4245 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 D | pxamci.c | 628 mmc->max_segs = NR_SG; in pxamci_probe()
|
| /drivers/infiniband/sw/rdmavt/ |
| A D | mr.c | 116 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 D | sdio.c | 744 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 D | bcmsdh.c | 765 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 D | xhci-mem.c | 2299 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()
|