Searched refs:BLOCK_SIZE_MASK (Results 1 – 5 of 5) sorted by relevance
324 #define BLOCK_SIZE_MASK (4 * KiB - 1) macro376 if (!timeout && (s->blksize & BLOCK_SIZE_MASK) && in sdhci_send_command()416 const uint16_t blk_size = s->blksize & BLOCK_SIZE_MASK; in sdhci_read_block_from_card()480 if ((s->data_count) >= (s->blksize & BLOCK_SIZE_MASK)) { in sdhci_read_dataport()525 sdbus_write_data(&s->sdbus, s->fifo_buffer, s->blksize & BLOCK_SIZE_MASK); in sdhci_write_block_to_card()569 if (s->data_count >= (s->blksize & BLOCK_SIZE_MASK)) { in sdhci_write_dataport()589 const uint16_t block_size = s->blksize & BLOCK_SIZE_MASK; in sdhci_sdma_transfer_multi_blocks()590 uint32_t boundary_chk = 1 << (((s->blksize & ~BLOCK_SIZE_MASK) >> 12) + 12); in sdhci_sdma_transfer_multi_blocks()673 uint32_t datacnt = s->blksize & BLOCK_SIZE_MASK; in sdhci_sdma_transfer_single_block()747 const uint16_t block_size = s->blksize & BLOCK_SIZE_MASK; in sdhci_do_adma()[all …]
201 blocksize = (BLOCK_SIZE_MASK & in sh_mmcif_single_read()229 blocksize = BLOCK_SIZE_MASK & sh_mmcif_read(&host->regs->ce_block_set); in sh_mmcif_multi_read()265 blocksize = (BLOCK_SIZE_MASK & in sh_mmcif_single_write()294 blocksize = BLOCK_SIZE_MASK & sh_mmcif_read(&host->regs->ce_block_set); in sh_mmcif_multi_write()
85 #define BLOCK_SIZE_MASK 0x0000ffff macro
91 #define BLOCK_SIZE_MASK 0x0000ffff macro627 BLOCK_SIZE_MASK) + 3; in sh_mmcif_single_read()667 BLOCK_SIZE_MASK; in sh_mmcif_multi_read()707 BLOCK_SIZE_MASK) + 3; in sh_mmcif_single_write()747 BLOCK_SIZE_MASK; in sh_mmcif_multi_write()
73 #define BLOCK_SIZE_MASK 0x00000fff macro429 | (data_len & BLOCK_SIZE_MASK), in jmb38x_ms_issue_cmd()434 | (data_len & BLOCK_SIZE_MASK), in jmb38x_ms_issue_cmd()