Home
last modified time | relevance | path

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

12

/Linux-v6.6/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-v6.6/drivers/mmc/host/
Dwmt-sdmmc.c181 u32 max_blk_size; member
740 .max_blk_size = 2048,
792 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.c1176 mmc->max_blk_size = TMIO_MAX_BLK_SIZE; in tmio_mmc_host_probe()
1178 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
1180 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.c1288 mmc->max_blk_size = 4095; /* BLEN is 12 bits */ in davinci_mmcsd_probe()
1290 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in davinci_mmcsd_probe()
1293 dev_dbg(mmc_dev(host->mmc), "max_blk_size=%d\n", mmc->max_blk_size); in davinci_mmcsd_probe()
Dsdricoh_cs.c428 mmc->max_blk_size = 512; in sdricoh_init_mmc()
Djz4740_mmc.c1110 mmc->max_blk_size = (1 << 10) - 1; in jz4740_mmc_probe()
1112 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in jz4740_mmc_probe()
Dsdhci.c1085 BUG_ON(data->blksz > host->mmc->max_blk_size); in sdhci_initialize_data()
4732 mmc->max_blk_size = 2; in sdhci_setup_host()
4734 mmc->max_blk_size = (host->caps & SDHCI_MAX_BLOCK_MASK) >> in sdhci_setup_host()
4736 if (mmc->max_blk_size >= 3) { in sdhci_setup_host()
4739 mmc->max_blk_size = 0; in sdhci_setup_host()
4743 mmc->max_blk_size = 512 << mmc->max_blk_size; in sdhci_setup_host()
Dtifm_sd.c974 mmc->max_blk_size = min(TIFM_MMCSD_MAX_BLOCK_SIZE, PAGE_SIZE); in tifm_sd_probe()
975 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; in tifm_sd_probe()
Dmxcmmc.c1021 mmc->max_blk_size = 2048; in mxcmci_probe()
1023 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in mxcmci_probe()
Datmel-mci.c2306 mmc->max_blk_size = 4095; in atmci_init_slot()
2308 mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; in atmci_init_slot()
2309 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2313 mmc->max_blk_size = 32768; in atmci_init_slot()
Dushc.c459 mmc->max_blk_size = 512; in ushc_probe()
Dmeson-gx-mmc.c1236 mmc->max_blk_size; in meson_mmc_probe()
1242 mmc->max_req_size = mmc->max_blk_count * mmc->max_blk_size; in meson_mmc_probe()
Ddw_mmc.c2954 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2960 mmc->max_blk_size = 65535; in dw_mci_init_slot()
2963 mmc->max_blk_size * mmc->max_blk_count; in dw_mci_init_slot()
2968 mmc->max_blk_size = 65535; /* BLKSIZ is 16 bits */ in dw_mci_init_slot()
2970 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()
/Linux-v6.6/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()
Daudioreach.h244 uint16_t max_blk_size; member
Dq6asm-dai.c729 flac_cfg.max_blk_size = flac->max_blk_size; in __q6asm_dai_compr_set_codec_params()
/Linux-v6.6/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-v6.6/include/uapi/sound/
Dcompress_params.h294 __u16 max_blk_size; member
/Linux-v6.6/include/linux/mmc/
Dhost.h440 unsigned int max_blk_size; /* maximum size of one mmc block */ member

12