Home
last modified time | relevance | path

Searched refs:rlen (Results 1 – 10 of 10) sorted by relevance

/Zephyr-Core-3.5.0/tests/lib/spsc_pbuf/src/
Dmain.c32 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/
Deeprom_emulator.c103 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/
Dsettings_test_compress_file.c90 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()
Dsettings_test_file.c211 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/
Deswifi.h85 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()
Deswifi_bus_uart.c191 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()
Deswifi_bus_spi.c106 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/
Dsd_ops.c532 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/
Dspi_xec_qmspi.c459 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/
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
182 for (i = 0; i < rlen; i++) { in ramcode_flash_transaction()