/Zephyr-latest/subsys/storage/flash_map/ |
D | flash_map_integrity.c | 45 fac->rbuf == NULL || fac->clen == 0 || fac->rblen == 0) { in flash_area_check_int_sha256() 72 fac->rbuf, to_read); in flash_area_check_int_sha256() 78 rc = psa_hash_update(&hash_ctx, fac->rbuf, to_read); in flash_area_check_int_sha256() 80 rc = mbedtls_sha256_update(&hash_ctx, fac->rbuf, to_read); in flash_area_check_int_sha256()
|
/Zephyr-latest/tests/drivers/disk/disk_access/src/ |
D | main.c | 176 static int write_sector_checked(uint8_t *wbuf, uint8_t *rbuf, in write_sector_checked() argument 191 memset(rbuf, 0, num_sectors * disk_sector_size); in write_sector_checked() 192 rc = read_sector(rbuf, 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/tests/lib/ringbuffer/src/ |
D | main.c | 940 static struct ring_buf rbuf; in ZTEST() local 947 ring_buf_init(&rbuf, sizeof(buf), buf); in ZTEST() 952 ring_buf_put(&rbuf, indata, 1); in ZTEST() 953 ring_buf_get(&rbuf, outdata, 1); in ZTEST() 959 ring_buf_reset(&rbuf); in ZTEST() 962 ring_buf_put(&rbuf, indata, 4); in ZTEST() 963 ring_buf_get(&rbuf, outdata, 4); in ZTEST() 969 ring_buf_reset(&rbuf); in ZTEST() 972 ring_buf_put_claim(&rbuf, &ptr, 1); in ZTEST() 973 ring_buf_put_finish(&rbuf, 1); in ZTEST() [all …]
|
/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 29 static uint8_t rbuf[198]; in test_spsc_pbuf_flags() local 45 rlen = spsc_pbuf_write(ib, rbuf, 0); in test_spsc_pbuf_flags() 47 rlen = spsc_pbuf_write(ib, rbuf, SPSC_PBUF_MAX_LEN); in test_spsc_pbuf_flags() 51 rlen = spsc_pbuf_write(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 55 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 62 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 83 rlen = spsc_pbuf_read(ib, rbuf, 0); in test_spsc_pbuf_flags() 88 wlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 101 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags()
|
/Zephyr-latest/include/zephyr/sd/ |
D | mmc.h | 54 int mmc_read_blocks(struct sd_card *card, uint8_t *rbuf,
|
D | sdmmc.h | 54 int sdmmc_read_blocks(struct sd_card *card, uint8_t *rbuf,
|
/Zephyr-latest/subsys/sd/ |
D | sd_ops.h | 50 int card_read_blocks(struct sd_card *card, uint8_t *rbuf,
|
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 523 data.data = rbuf; 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 569 if ((((uintptr_t)rbuf) & (CONFIG_SDHC_BUFFER_ALIGNMENT - 1)) != 0) { in card_read_blocks() 580 buf_offset = rbuf; in card_read_blocks() 597 ret = card_read(card, rbuf, start_block, num_blocks); in card_read_blocks()
|
D | mmc.c | 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()
|
/Zephyr-latest/drivers/espi/ |
D | host_subs_npcx.c | 508 struct ring_buf *rbuf = &data->port80_ring_buf; in host_port80_work_handler() local 513 while (!ring_buf_is_empty(rbuf)) { in host_port80_work_handler() 517 ring_buf_get(rbuf, &dp80_buf.offset_code[0], sizeof(dp80_buf.offset_code)); in host_port80_work_handler() 520 if (ring_buf_is_empty(rbuf)) { in host_port80_work_handler() 527 ring_buf_peek(rbuf, &dp80_buf.offset_code[0], sizeof(dp80_buf.offset_code)); in host_port80_work_handler() 550 struct ring_buf *rbuf = &host_sub_data.port80_ring_buf; in host_port80_isr() local 556 ring_buf_put(rbuf, &dp80_buf.offset_code[0], sizeof(dp80_buf.offset_code)); in host_port80_isr()
|
/Zephyr-latest/drivers/input/ |
D | input_xpt2046.c | 33 uint8_t rbuf[9]; member 131 const struct spi_buf rxb = {.buf = data->rbuf, .len = sizeof(data->rbuf)}; in xpt2046_work_handler()
|
/Zephyr-latest/tests/subsys/storage/flash_map/src/ |
D | main_sha.c | 125 fac.rbuf = buffer; in ZTEST()
|
/Zephyr-latest/subsys/dfu/img_util/ |
D | flash_img.c | 174 fac.rbuf = ctx->buf; in flash_img_check()
|
/Zephyr-latest/include/zephyr/storage/ |
D | flash_map.h | 94 uint8_t *rbuf; /** Temporary read buffer */ member
|
/Zephyr-latest/drivers/flash/ |
D | flash_ite_it8xxx2.c | 169 void __soc_ram_code ramcode_flash_transaction(int wlen, uint8_t *wbuf, int rlen, uint8_t *rbuf, in ramcode_flash_transaction() argument 183 rbuf[i] = flash_regs->SMFI_ECINDDR; in ramcode_flash_transaction()
|