Home
last modified time | relevance | path

Searched refs:max_segs (Results 26 – 50 of 56) sorted by relevance

123

/openbmc/linux/drivers/mmc/host/
H A Dsunxi-mmc.c1423 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()
H A Dmxs-mmc.c644 mmc->max_segs = 52; in mxs_mmc_probe()
H A Dsh_mmcif.c1436 mmc->max_segs = 32; in sh_mmcif_probe()
1438 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in sh_mmcif_probe()
H A Datmel-mci.c2305 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()
H A Dsdhci.c4210 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()
H A Dpxamci.c630 mmc->max_segs = NR_SG; in pxamci_probe()
H A Dmvsdio.c744 mmc->max_segs = 1; in mvsd_probe()
H A Dusdhi6rol0.c1852 mmc->max_segs = 32; in usdhi6_probe()
1854 mmc->max_req_size = PAGE_SIZE * mmc->max_segs; in usdhi6_probe()
H A Dmmc_spi.c1199 mmc->max_segs = MMC_SPI_BLOCKSATONCE; in mmc_spi_probe()
H A Dalcor.c1072 mmc->max_segs = AU6601_MAX_DMA_SEGMENTS; in alcor_init_mmc()
H A Ddw_mmc.c2953 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()
H A Dsunplus-mmc.c917 mmc->max_segs = SPMMC_MAX_DMA_MEMORY_SECTORS; in spmmc_drv_probe()
H A Djz4740_mmc.c1114 mmc->max_segs = 128; in jz4740_mmc_probe()
H A Dtifm_sd.c973 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
H A Dmxcmmc.c1030 mmc->max_segs = 64; in mxcmci_probe()
H A Dau1xmmc.c987 mmc->max_segs = AU1XMMC_DESCRIPTOR_COUNT; in au1xmmc_probe()
H A Dcqhci-core.c50 return cq_host->trans_desc_len * cq_host->mmc->max_segs * tag; in get_trans_desc_offset()
H A Dvia-sdmmc.c1044 mmc->max_segs = 1; in via_init_mmc_host()
H A Dwbsd.c1222 mmc->max_segs = 128; in wbsd_alloc_mmc()
H A Drtsx_usb_sdmmc.c1315 mmc->max_segs = 256; in rtsx_usb_init_host()
H A Dbcm2835.c1305 mmc->max_segs = 128; in bcm2835_add_host()
H A Drtsx_pci_sdmmc.c1456 mmc->max_segs = 256; in realtek_init_host()
/openbmc/linux/drivers/staging/greybus/
H A Dsdio.c801 mmc->max_segs = host->mmc->max_blk_count; in gb_sdio_probe()
/openbmc/linux/drivers/scsi/
H A Dst.c3901 int segs, max_segs, b_size, order, got; in enlarge_buffer() local
3910 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()
/openbmc/linux/net/core/
H A Dsock.c2438 u32 max_segs = 1; in sk_setup_caps() local
2454 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()

123