Home
last modified time | relevance | path

Searched refs:wbuf (Results 1 – 8 of 8) sorted by relevance

/Zephyr-latest/tests/drivers/disk/disk_access/src/
Dmain.c176 static int write_sector_checked(uint8_t *wbuf, uint8_t *rbuf, in write_sector_checked() argument
183 wbuf[i] = (i & (~num_sectors)); in write_sector_checked()
186 rc = disk_access_write(disk_pdrv, wbuf, start, num_sectors); in write_sector_checked()
197 zassert_mem_equal(wbuf, rbuf, num_sectors * disk_sector_size, in write_sector_checked()
205 static void test_sector_write(uint8_t *wbuf, uint8_t *rbuf, uint32_t num_sectors) in test_sector_write() argument
211 rc = write_sector_checked(wbuf, rbuf, 0, num_sectors); in test_sector_write()
220 rc = write_sector_checked(wbuf, rbuf, sector, num_sectors); in test_sector_write()
223 rc = write_sector_checked(wbuf, rbuf, disk_sector_count - 1, num_sectors); in test_sector_write()
/Zephyr-latest/drivers/flash/
Dflash_ite_it8xxx2.c169 void __soc_ram_code ramcode_flash_transaction(int wlen, uint8_t *wbuf, int rlen, uint8_t *rbuf, in ramcode_flash_transaction() argument
179 flash_regs->SMFI_ECINDDR = wbuf[i]; in ramcode_flash_transaction()
247 uint8_t *wbuf = (uint8_t *)data; in ramcode_flash_verify() local
260 if (flash[i] != wbuf[i]) { in ramcode_flash_verify()
269 void __soc_ram_code ramcode_flash_cmd_write(int addr, int wlen, uint8_t *wbuf) in ramcode_flash_cmd_write() argument
282 ramcode_flash_write_dat(wbuf[i]); in ramcode_flash_cmd_write()
313 void __soc_ram_code ramcode_flash_write(int addr, int wlen, const char *wbuf) in ramcode_flash_write() argument
316 ramcode_flash_cmd_write(addr, wlen, (uint8_t *)wbuf); in ramcode_flash_write()
/Zephyr-latest/include/zephyr/sd/
Dmmc.h37 int mmc_write_blocks(struct sd_card *card, const uint8_t *wbuf,
Dsdmmc.h37 int sdmmc_write_blocks(struct sd_card *card, const uint8_t *wbuf,
/Zephyr-latest/subsys/sd/
Dsd_ops.h53 int card_write_blocks(struct sd_card *card, const uint8_t *wbuf,
Dsd_ops.c653 static int card_write(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in card_write() argument
679 data.data = (uint8_t *)wbuf; in card_write()
709 int card_write_blocks(struct sd_card *card, const uint8_t *wbuf, uint32_t start_block, in card_write_blocks() argument
734 if ((((uintptr_t)wbuf) & (CONFIG_SDHC_BUFFER_ALIGNMENT - 1)) != 0) { in card_write_blocks()
745 buf_offset = wbuf; in card_write_blocks()
762 ret = card_write(card, wbuf, start_block, num_blocks); in card_write_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()
Dsdmmc.c791 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()