Searched refs:max_segs (Results 26 – 50 of 56) sorted by relevance
123
1423 mmc->max_segs = PAGE_SIZE / sizeof(struct sunxi_idma_des); in sunxi_mmc_probe()1425 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
644 mmc->max_segs = 52; in mxs_mmc_probe()
1436 mmc->max_segs = 32; in sh_mmcif_probe()1438 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
2305 mmc->max_segs = 256; in atmci_init_slot()2309 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()2311 mmc->max_segs = 64; in atmci_init_slot()
4210 mmc->max_segs = max_blocks; in sdhci_allocate_bounce_buffer()4711 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_setup_host()4713 mmc->max_segs = 1; in sdhci_setup_host()4717 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_setup_host()4759 if (mmc->max_segs == 1) in sdhci_setup_host()
630 mmc->max_segs = NR_SG; in pxamci_probe()
744 mmc->max_segs = 1; in mvsd_probe()
1852 mmc->max_segs = 32; in usdhi6_probe()1854 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
1199 mmc->max_segs = MMC_SPI_BLOCKSATONCE; in mmc_spi_probe()
1072 mmc->max_segs = AU6601_MAX_DMA_SEGMENTS; in alcor_init_mmc()
2953 mmc->max_segs = host->ring_size; in dw_mci_init_slot()2959 mmc->max_segs = 64; in dw_mci_init_slot()2967 mmc->max_segs = 64; in dw_mci_init_slot()
917 mmc->max_segs = SPMMC_MAX_DMA_MEMORY_SECTORS; in spmmc_drv_probe()
1114 mmc->max_segs = 128; in jz4740_mmc_probe()
973 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
1030 mmc->max_segs = 64; in mxcmci_probe()
987 mmc->max_segs = AU1XMMC_DESCRIPTOR_COUNT; in au1xmmc_probe()
50 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset()
1044 mmc->max_segs = 1; in via_init_mmc_host()
1222 mmc->max_segs = 128; in wbsd_alloc_mmc()
1315 mmc->max_segs = 256; in rtsx_usb_init_host()
1305 mmc->max_segs = 128; in bcm2835_add_host()
1456 mmc->max_segs = 256; in realtek_init_host()
801 mmc->max_segs = host->mmc->max_blk_count; in gb_sdio_probe()
3901 int segs, max_segs, b_size, order, got; in enlarge_buffer() local3910 max_segs = STbuffer->use_sg; in enlarge_buffer()3923 max_segs * (PAGE_SIZE << order) < new_size; in enlarge_buffer()3928 if (max_segs * (PAGE_SIZE << order) < new_size) { in enlarge_buffer()3936 segs < max_segs && got < new_size;) { in enlarge_buffer()
2438 u32 max_segs = 1; in sk_setup_caps() local2454 max_segs = max_t(u32, READ_ONCE(dst->dev->gso_max_segs), 1); in sk_setup_caps()2457 sk->sk_gso_max_segs = max_segs; in sk_setup_caps()