Lines Matching refs:read_bl_len
368 cmd.cmdarg = start * mmc->read_bl_len; in mmc_read_blocks()
374 data.blocksize = mmc->read_bl_len; in mmc_read_blocks()
432 if (mmc_set_blocklen(mmc, mmc->read_bl_len)) { in mmc_bread()
446 dst += cur * mmc->read_bl_len; in mmc_bread()
863 mmc_get_blk_desc(mmc)->lba = lldiv(mmc->capacity, mmc->read_bl_len); in mmc_set_capacity()
2240 mmc->read_bl_len = 1 << ((cmd.response[1] >> 16) & 0xf); in mmc_startup()
2244 mmc->write_bl_len = mmc->read_bl_len; in mmc_startup()
2260 mmc->capacity_user *= mmc->read_bl_len; in mmc_startup()
2266 if (mmc->read_bl_len > MMC_MAX_BLOCK_LEN) in mmc_startup()
2267 mmc->read_bl_len = MMC_MAX_BLOCK_LEN; in mmc_startup()
2333 mmc->read_bl_len = MMC_MAX_BLOCK_LEN; in mmc_startup()
2344 bdesc->blksz = mmc->read_bl_len; in mmc_startup()
2346 bdesc->lba = lldiv(mmc->capacity, mmc->read_bl_len); in mmc_startup()