Lines Matching refs:SDMMC_SECTOR_SIZE
505 if ((1 << csd->read_bl_len) > SDMMC_SECTOR_SIZE)
506 csd->capacity *= (1 << csd->read_bl_len) / SDMMC_SECTOR_SIZE;
596 error = sdmmc_mem_set_blocklen(sc, sf, SDMMC_SECTOR_SIZE);
1521 len = uimin(SDMMC_SECTOR_SIZE, len);
1693 cmd.c_blklen = SDMMC_SECTOR_SIZE;
1767 cmd.c_blklen = SDMMC_SECTOR_SIZE;
2022 KASSERT((datalen % SDMMC_SECTOR_SIZE) == 0);
2025 for (i = 0; i < datalen / SDMMC_SECTOR_SIZE; i++) {
2027 data + i * SDMMC_SECTOR_SIZE, SDMMC_SECTOR_SIZE);
2048 if ((len % SDMMC_SECTOR_SIZE) != 0) {
2096 blkno += len / SDMMC_SECTOR_SIZE;
2119 cmd.c_blklen = SDMMC_SECTOR_SIZE;
2248 KASSERT((datalen % SDMMC_SECTOR_SIZE) == 0);
2251 for (i = 0; i < datalen / SDMMC_SECTOR_SIZE; i++) {
2253 data + i * SDMMC_SECTOR_SIZE, SDMMC_SECTOR_SIZE);
2274 if ((len % SDMMC_SECTOR_SIZE) != 0) {
2322 blkno += len / SDMMC_SECTOR_SIZE;
2343 const int nblk = howmany(datalen, SDMMC_SECTOR_SIZE);
2358 cmd.c_blklen = SDMMC_SECTOR_SIZE;