Searched refs:MMC_BLOCK_SIZE (Results 1 – 3 of 3) sorted by relevance
150 mmio_write_32(MMC0_BLKSIZ, MMC_BLOCK_SIZE); in set_mmc0_io()448 mmio_write_32(MMC0_BLKSIZ, MMC_BLOCK_SIZE); in enable_mmc0()470 #define MMC_BLOCK_SIZE 512 macro482 bytes = blk_cnt * MMC_BLOCK_SIZE; in mmc0_read_ext_csd()538 memcpy((void *)dst_addr, (void *)src_addr, MMC_BLOCK_SIZE); in mmc0_read_ext_csd()547 unsigned int src_blk_start = src_start / MMC_BLOCK_SIZE; in mmc0_read()563 offset = src_start % MMC_BLOCK_SIZE; in mmc0_read()564 src_blk_cnt = (src_size + offset + MMC_BLOCK_SIZE - 1) / MMC_BLOCK_SIZE; in mmc0_read()565 bytes = src_blk_cnt * MMC_BLOCK_SIZE; in mmc0_read()651 bytes = MMC_BLOCK_SIZE * count; in write_multi_blocks()[all …]
161 unsigned int buf[MMC_BLOCK_SIZE >> 2]; in get_partition()186 if (buf[(MMC_BLOCK_SIZE >> 2) - 1] != 0xaa550000) { in get_partition()
70 #define MMC_BLOCK_SIZE 512 macro