/Zephyr-Core-3.5.0/tests/lib/spsc_pbuf/src/ |
D | main.c | 32 int rlen; in test_spsc_pbuf_flags() local 45 rlen = spsc_pbuf_write(ib, rbuf, 0); in test_spsc_pbuf_flags() 46 zassert_equal(rlen, -EINVAL); in test_spsc_pbuf_flags() 47 rlen = spsc_pbuf_write(ib, rbuf, SPSC_PBUF_MAX_LEN); in test_spsc_pbuf_flags() 48 zassert_equal(rlen, -EINVAL); in test_spsc_pbuf_flags() 51 rlen = spsc_pbuf_write(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 52 zassert_equal(rlen, -ENOMEM); in test_spsc_pbuf_flags() 55 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() 56 zassert_equal(rlen, 0); in test_spsc_pbuf_flags() 62 rlen = spsc_pbuf_read(ib, rbuf, sizeof(rbuf)); in test_spsc_pbuf_flags() [all …]
|
/Zephyr-Core-3.5.0/drivers/eeprom/ |
D | eeprom_emulator.c | 103 size_t rlen; /* data remaining (unprocessed) length */ member 283 off_t address = ctx->address + ctx->len - ctx->rlen; in eeprom_emu_flash_get() 290 data8 += (ctx->len - ctx->rlen); in eeprom_emu_flash_get() 291 len = MIN((sizeof(buf) - addr_jmp), ctx->rlen); in eeprom_emu_flash_get() 298 ctx->rlen -= len; in eeprom_emu_flash_get() 348 ctx->rlen = 0; in eeprom_emu_compactor() 355 ctx->rlen = ctx->len; in eeprom_emu_compactor() 373 address = ctx->address + ctx->len - ctx->rlen; in eeprom_emu_compactor() 375 len = MIN((sizeof(buf) - addr_jmp), ctx->rlen); in eeprom_emu_compactor() 376 data8 += (ctx->len - ctx->rlen); in eeprom_emu_compactor() [all …]
|
/Zephyr-Core-3.5.0/tests/subsys/settings/file/src/ |
D | settings_test_compress_file.c | 90 size_t rlen; in file_str_cmp() local 107 rc = fsutil_read_file(fname, 0, len, buf, &rlen); in file_str_cmp() 110 buf[rlen] = '\0'; in file_str_cmp()
|
D | settings_test_file.c | 211 size_t rlen; in settings_test_file_strstr() local 224 rc = fsutil_read_file(fname, 0, len, buf, &rlen); in settings_test_file_strstr() 227 buf[rlen] = '\0'; in settings_test_file_strstr()
|
/Zephyr-Core-3.5.0/drivers/wifi/eswifi/ |
D | eswifi.h | 85 char *rsp, size_t rlen); 89 size_t clen, char *rsp, size_t rlen) in eswifi_request() argument 91 return eswifi->bus->request(eswifi, cmd, clen, rsp, rlen); in eswifi_request()
|
D | eswifi_bus_uart.c | 191 size_t clen, char *rsp, size_t rlen) in eswifi_uart_request() argument 197 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_uart_request() 207 uart->rx_buf_size = rlen; in eswifi_uart_request()
|
D | eswifi_bus_spi.c | 106 char *rsp, size_t rlen) in eswifi_spi_request() argument 113 LOG_DBG("cmd=%p (%u byte), rsp=%p (%u byte)", cmd, clen, rsp, rlen); in eswifi_spi_request() 166 to_read = MIN(rlen - offset, to_read); in eswifi_spi_request()
|
/Zephyr-Core-3.5.0/subsys/sd/ |
D | sd_ops.c | 532 uint32_t rlen; in card_read_blocks() local 563 rlen = sizeof(card->card_buffer) / card->block_size; in card_read_blocks() 568 ret = card_read(card, card->card_buffer, sector + start_block, rlen); in card_read_blocks() 575 memcpy(buf_offset, card->card_buffer, rlen * card->block_size); in card_read_blocks() 577 sector += rlen; in card_read_blocks() 578 buf_offset += rlen * card->block_size; in card_read_blocks()
|
/Zephyr-Core-3.5.0/drivers/spi/ |
D | spi_xec_qmspi.c | 459 size_t rlen = rx_buf->len; in qmspi_rx() local 464 if (rlen == 0) { in qmspi_rx() 501 while (rlen) { in qmspi_rx() 507 rlen--; in qmspi_rx()
|
/Zephyr-Core-3.5.0/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 182 for (i = 0; i < rlen; i++) { in ramcode_flash_transaction()
|