Home
last modified time | relevance | path

Searched refs:max_blk_size (Results 1 – 25 of 46) sorted by relevance

12

/linux-6.1.9/drivers/mmc/core/
Dsdio_io.c163 if (blksz > func->card->host->max_blk_size) in sdio_set_block_size()
167 blksz = min(func->max_blksize, func->card->host->max_blk_size); in sdio_set_block_size()
191 unsigned mval = func->card->host->max_blk_size; in sdio_max_byte_size()
Dhost.c579 host->max_blk_size = 512; in mmc_alloc_host()
/linux-6.1.9/drivers/mmc/host/
Dwmt-sdmmc.c182 u32 max_blk_size; member
741 .max_blk_size = 2048,
793 mmc->max_blk_size = wmt_caps->max_blk_size; in wmt_mci_probe()
Dmeson-mx-sdio.c556 mmc->max_blk_size = FIELD_GET(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK, in meson_mx_mmc_add_host()
558 mmc->max_blk_size -= (4 * MESON_MX_SDIO_RESPONSE_CRC16_BITS); in meson_mx_mmc_add_host()
559 mmc->max_blk_size /= BITS_PER_BYTE; in meson_mx_mmc_add_host()
Dmvsdio.c741 mmc->max_blk_size = 2048; in mvsd_probe()
745 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
746 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mvsd_probe()
Dtmio_mmc_core.c1174 mmc->max_blk_size = TMIO_MAX_BLK_SIZE; in tmio_mmc_host_probe()
1176 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
1178 mmc->max_blk_size * mmc->max_blk_count, in tmio_mmc_host_probe()
Dvia-sdmmc.c487 BUG_ON(data->blksz > host->mmc->max_blk_size); in via_sdc_preparedata()
1046 mmc->max_blk_size = VIA_CRDR_MAX_BLOCK_LENGTH; in via_init_mmc_host()
1049 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; in via_init_mmc_host()
Ddavinci_mmc.c1289 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ in davinci_mmcsd_probe()
1291 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1294 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
Dsdricoh_cs.c436 mmc->max_blk_size = 512; in sdricoh_init_mmc()
Djz4740_mmc.c1065 mmc->max_blk_size = (1 << 10) - 1; in jz4740_mmc_probe()
1067 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Dsdhci.c1099 BUG_ON(data->blksz > host->mmc->max_blk_size); in sdhci_initialize_data()
4763 mmc->max_blk_size = 2; in sdhci_setup_host()
4765 mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >> in sdhci_setup_host()
4767 if (mmc->max_blk_size >= 3) { in sdhci_setup_host()
4770 mmc->max_blk_size = 0; in sdhci_setup_host()
4774 mmc->max_blk_size = 512 << mmc->max_blk_size; in sdhci_setup_host()
Dmxcmmc.c1023 mmc->max_blk_size = 2048; in mxcmci_probe()
1025 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Dtifm_sd.c982 mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); in tifm_sd_probe()
983 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Datmel-mci.c2268 mmc->max_blk_size = 4095; in atmci_init_slot()
2270 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2271 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2275 mmc->max_blk_size = 32768; in atmci_init_slot()
Dushc.c459 mmc->max_blk_size = 512; in ushc_probe()
Ddw_mmc.c2955 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2961 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2964 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2969 mmc->max_blk_size = 65535; /* BLKSIZ is 16 bits */ in dw_mci_init_slot()
2971 mmc->max_req_size = mmc->max_blk_size * in dw_mci_init_slot()
Dowl-mmc.c604 mmc->max_blk_size = 512; in owl_mmc_probe()
Dmeson-gx-mmc.c1290 mmc->max_blk_size; in meson_mmc_probe()
1296 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
Dmxs-mmc.c646 mmc->max_blk_size = 1 << 0xf; in mxs_mmc_probe()
/linux-6.1.9/sound/soc/qcom/qdsp6/
Dq6asm.h45 u16 max_blk_size; member
Dq6asm.c105 u16 max_blk_size; member
1164 fmt->max_blk_size = cfg->max_blk_size; in q6asm_stream_media_format_block_flac()
Dq6asm-dai.c729 flac_cfg.max_blk_size = flac->max_blk_size; in __q6asm_dai_compr_set_codec_params()
/linux-6.1.9/drivers/staging/greybus/
Dsdio.c138 blksz = min_t(u16, le16_to_cpu(response.max_blk_size), data_max); in gb_sdio_get_caps()
141 mmc->max_blk_size = rounddown_pow_of_two(blksz); in gb_sdio_get_caps()
804 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in gb_sdio_probe()
/linux-6.1.9/include/uapi/sound/
Dcompress_params.h294 __u16 max_blk_size; member
/linux-6.1.9/include/linux/mmc/
Dhost.h434 unsigned int max_blk_size; /* maximum size of one mmc block */ member

12