Home
last modified time | relevance | path

Searched refs:start_block (Results 1 – 7 of 7) sorted by relevance

/Zephyr-Core-3.5.0/include/zephyr/sd/
Dsdmmc.h38 uint32_t start_block, uint32_t num_blocks);
55 uint32_t start_block, uint32_t num_blocks);
Dmmc.h38 uint32_t start_block, uint32_t num_blocks);
55 uint32_t start_block, uint32_t num_blocks);
/Zephyr-Core-3.5.0/subsys/sd/
Dsd_ops.c475 static int card_read(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, uint32_t num_blocks) in card_read() argument
496 cmd.arg = start_block * card->block_size; in card_read()
498 cmd.arg = start_block; in card_read()
504 data.block_addr = start_block; in card_read()
510 LOG_DBG("READ: Sector = %u, Count = %u", start_block, num_blocks); in card_read()
529 int card_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, uint32_t num_blocks) in card_read_blocks() argument
536 if ((start_block + num_blocks) > card->block_count) { in card_read_blocks()
568 ret = card_read(card, card->card_buffer, sector + start_block, rlen); in card_read_blocks()
582 ret = card_read(card, rbuf, start_block, num_blocks); in card_read_blocks()
636 static int card_write(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in card_write() argument
[all …]
Dsd_ops.h51 uint32_t start_block, uint32_t num_blocks);
54 uint32_t start_block, uint32_t num_blocks);
Dmmc.c55 inline int mmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in mmc_write_blocks() argument
58 return card_write_blocks(card, wbuf, start_block, num_blocks); in mmc_write_blocks()
61 inline int mmc_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, in mmc_read_blocks() argument
64 return card_read_blocks(card, rbuf, start_block, num_blocks); in mmc_read_blocks()
Dsdmmc.c739 uint32_t start_block, uint32_t num_blocks) in sdmmc_read_blocks() argument
741 return card_read_blocks(card, rbuf, start_block, num_blocks); in sdmmc_read_blocks()
745 uint32_t start_block, uint32_t num_blocks) in sdmmc_write_blocks() argument
747 return card_write_blocks(card, wbuf, start_block, num_blocks); in sdmmc_write_blocks()
/Zephyr-Core-3.5.0/drivers/disk/
Dsdmmc_sdhc.h339 uint32_t start_block; member