Searched refs:start_block (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.7.0/include/zephyr/sd/ |
D | sdmmc.h | 38 uint32_t start_block, uint32_t num_blocks); 55 uint32_t start_block, uint32_t num_blocks);
|
D | mmc.h | 38 uint32_t start_block, uint32_t num_blocks); 55 uint32_t start_block, uint32_t num_blocks);
|
/Zephyr-Core-3.7.0/subsys/sd/ |
D | sd_ops.c | 491 static int card_read(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, uint32_t num_blocks) in card_read() argument 512 cmd.arg = start_block * card->block_size; in card_read() 514 cmd.arg = start_block; in card_read() 520 data.block_addr = start_block; in card_read() 526 LOG_DBG("READ: Sector = %u, Count = %u", start_block, num_blocks); in card_read() 544 int card_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, uint32_t num_blocks) in card_read_blocks() argument 551 if ((start_block + num_blocks) > card->block_count) { in card_read_blocks() 583 ret = card_read(card, card->card_buffer, sector + start_block, rlen); in card_read_blocks() 597 ret = card_read(card, rbuf, start_block, num_blocks); in card_read_blocks() 653 static int card_write(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in card_write() argument [all …]
|
D | sd_ops.h | 51 uint32_t start_block, uint32_t num_blocks); 54 uint32_t start_block, uint32_t num_blocks);
|
D | mmc.c | 55 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()
|
D | sdmmc.c | 785 int sdmmc_read_blocks(struct sd_card *card, uint8_t *rbuf, uint32_t start_block, in sdmmc_read_blocks() argument 788 return card_read_blocks(card, rbuf, start_block, num_blocks); in sdmmc_read_blocks() 791 int sdmmc_write_blocks(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in sdmmc_write_blocks() argument 794 return card_write_blocks(card, wbuf, start_block, num_blocks); in sdmmc_write_blocks()
|
/Zephyr-Core-3.7.0/drivers/flash/ |
D | flash_cadence_nand_ll.c | 691 uint32_t start_block, uint16_t ctype, uint32_t block_count) in cdns_nand_pio_erase() argument 707 row_address_set(params, &row_address, (start_block * params->npages_per_block)); in cdns_nand_pio_erase() 709 start_block++; in cdns_nand_pio_erase() 1112 static int cdns_nand_gen_erase(struct cadence_nand_params *params, uint32_t start_block, in cdns_nand_gen_erase() argument 1122 row_address_set(params, &gen_row_address, (start_block * params->npages_per_block)); in cdns_nand_gen_erase() 1123 start_block++; in cdns_nand_gen_erase()
|