Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE_MASK (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/hw/sd/
H A Dsdhci.c324 #define BLOCK_SIZE_MASK (4 * KiB - 1) macro
376 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 …]
/openbmc/u-boot/drivers/mmc/
H A Dsh_mmcif.c201 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()
H A Dsh_mmcif.h85 #define BLOCK_SIZE_MASK 0x0000ffff macro
/openbmc/linux/drivers/mmc/host/
H A Dsh_mmcif.c91 #define BLOCK_SIZE_MASK 0x0000ffff macro
627 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()
/openbmc/linux/drivers/memstick/host/
H A Djmb38x_ms.c73 #define BLOCK_SIZE_MASK 0x00000fff macro
429 | (data_len & BLOCK_SIZE_MASK), in jmb38x_ms_issue_cmd()
434 | (data_len & BLOCK_SIZE_MASK), in jmb38x_ms_issue_cmd()