/Zephyr-latest/subsys/mgmt/mcumgr/grp/fs_mgmt/src/ |
D | fs_mgmt_hash_checksum_crc32.c | 25 size_t read_size = CONFIG_MCUMGR_GRP_FS_CHECKSUM_HASH_CHUNK_SIZE; in fs_mgmt_hash_checksum_crc32() local 32 if ((read_size + *out_len) >= len) { in fs_mgmt_hash_checksum_crc32() 34 read_size = len - *out_len; in fs_mgmt_hash_checksum_crc32() 37 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_crc32()
|
D | fs_mgmt_hash_checksum_sha256.c | 41 size_t read_size = CONFIG_MCUMGR_GRP_FS_CHECKSUM_HASH_CHUNK_SIZE; in fs_mgmt_hash_checksum_sha256() local 55 if ((read_size + *out_len) >= len) { in fs_mgmt_hash_checksum_sha256() 57 read_size = len - *out_len; in fs_mgmt_hash_checksum_sha256() 60 bytes_read = fs_read(file, buffer, read_size); in fs_mgmt_hash_checksum_sha256()
|
/Zephyr-latest/subsys/retention/ |
D | retention.c | 99 uint16_t read_size = MIN((end - pos), sizeof(buffer)); in retention_checksum() local 101 rc = retained_mem_read(config->parent, pos, buffer, read_size); in retention_checksum() 108 *output = (uint32_t)crc8(buffer, read_size, 0x12, in retention_checksum() 112 buffer, read_size); in retention_checksum() 114 *output = crc32_ieee_update(*output, buffer, read_size); in retention_checksum() 117 pos += read_size; in retention_checksum() 191 uint16_t read_size = MIN((config->prefix_len - pos), sizeof(buffer)); in retention_is_valid() local 194 read_size); in retention_is_valid() 200 if (memcmp(&config->prefix[pos], buffer, read_size) != 0) { in retention_is_valid() 209 pos += read_size; in retention_is_valid()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | apollox_blue.c | 174 uint16_t read_size = 0; in bt_apollo_spi_rcv() local 207 read_size = (uint16_t)(response[0] | response[1] << 8); in bt_apollo_spi_rcv() 208 if ((read_size == 0) || (read_size > SPI_MAX_RX_MSG_LEN)) { in bt_apollo_spi_rcv() 213 *len = read_size; in bt_apollo_spi_rcv() 216 ret = transceive(NULL, 0, data, read_size); in bt_apollo_spi_rcv()
|
/Zephyr-latest/drivers/sensor/pms7003/ |
D | pms7003.c | 90 int read_size = 0; in uart_read_bytes() local 101 data[read_size++] = c; in uart_read_bytes() 102 if (read_size == len) { in uart_read_bytes()
|
/Zephyr-latest/subsys/settings/src/ |
D | settings_line.c | 178 size_t exp_size, read_size; in settings_line_raw_read_until() local 192 read_size = sizeof(temp_buf); in settings_line_raw_read_until() 193 exp_size = read_size; in settings_line_raw_read_until() 195 rc = settings_io_cb.read_cb(cb_arg, off, temp_buf, &read_size); in settings_line_raw_read_until() 201 len = read_size - off; in settings_line_raw_read_until() 217 if (exp_size > read_size || rc) { in settings_line_raw_read_until()
|
/Zephyr-latest/drivers/serial/ |
D | serial_test.c | 41 size_t read_size; member 376 read_remaining = data->read_size - data->read_position; in async_rx_run() 393 if (data->read_position == data->read_size) { in async_rx_run() 402 static int serial_vnd_rx_enable(const struct device *dev, uint8_t *read_buf, size_t read_size, in serial_vnd_rx_enable() argument 407 LOG_WRN("read_size %zd", read_size); in serial_vnd_rx_enable() 420 data->read_size = read_size; in serial_vnd_rx_enable()
|
/Zephyr-latest/subsys/fs/ |
D | littlefs_fs.c | 724 lfs_size_t read_size = lcp->read_size; in littlefs_init_cfg() local 726 if (read_size == 0) { in littlefs_init_cfg() 727 read_size = CONFIG_FS_LITTLEFS_READ_SIZE; in littlefs_init_cfg() 829 read_size, prog_size, cache_size, lookahead_size); in littlefs_init_cfg() 834 __ASSERT_NO_MSG(read_size != 0); in littlefs_init_cfg() 854 lcp->read_size = block_size; in littlefs_init_cfg() 874 lcp->read_size, lcp->prog_size, lcp->cache_size, in littlefs_init_cfg() 886 lcp->read_size = read_size; in littlefs_init_cfg() 1086 BUILD_ASSERT(DT_INST_PROP(inst, read_size) > 0); \ 1092 % DT_INST_PROP(inst, read_size)) == 0); \ [all …]
|
/Zephyr-latest/samples/bluetooth/hci_uart_async/src/ |
D | hci_uart_async.c | 274 uint16_t read_size = MIN(payload_size, discard_size); in h2c_h4_transport() local 276 err = uart_h2c_rx(discard_dst, read_size); in h2c_h4_transport() 282 payload_size -= read_size; in h2c_h4_transport()
|
/Zephyr-latest/include/zephyr/fs/ |
D | littlefs.h | 93 .read_size = (read_sz), \
|
/Zephyr-latest/tests/subsys/fs/littlefs/src/ |
D | testfs_lfs.c | 44 .read_size = LARGE_IO_SIZE,
|
D | test_lfs_perf.c | 62 lcp->read_size, lcp->prog_size, lcp->cache_size, lcp->lookahead_size); in write_read() 217 .read_size = LARGE_IO_SIZE, in small_8_1K_cust()
|
/Zephyr-latest/tests/kernel/pipe/pipe/src/ |
D | test_pipe.c | 534 uint32_t read_size; in pipe_get_on_empty_pipe() local 538 read_size = size_array[i]; in pipe_get_on_empty_pipe() 540 read_size, &read, in pipe_get_on_empty_pipe() 541 read_size, K_NO_WAIT); in pipe_get_on_empty_pipe() 548 read_size, &read, in pipe_get_on_empty_pipe() 556 read_size, &read, in pipe_get_on_empty_pipe()
|
/Zephyr-latest/tests/lib/ringbuffer/src/ |
D | main.c | 546 uint32_t read_size; in ZTEST() local 571 read_size = ring_buf_get(&ringbuf_raw, outputbuf, in ZTEST() 573 zassert_true(read_size == 1); in ZTEST() 599 read_size = ring_buf_get(&ringbuf_raw, in ZTEST() 601 zassert_true(read_size == 4U); in ZTEST()
|
/Zephyr-latest/samples/subsys/fs/littlefs/ |
D | README.rst | 57 …lfs -d -s -f --read_size=512 --prog_size=512 --block_size=512 --cache_size=512 --lookahead_size=81… 58 …lfs -d -s -f --read_size=512 --prog_size=512 --block_size=512 --cache_size=512 --lookahead_size=81…
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_mss.c | 163 uint32_t read_size) in mss_i2c_read() argument 174 data->controller_rx_size = read_size; in mss_i2c_read()
|
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/ |
D | central_ead.c | 210 static int gatt_read(struct bt_conn *conn, const struct bt_uuid *uuid, size_t read_size, in gatt_read() argument 239 while (offset < read_size) { in gatt_read()
|
/Zephyr-latest/tests/subsys/fs/common/ |
D | test_fs_open_flags.c | 35 int read_size; member 79 ZEQ(fs_read(&ts->file, ts->read, ts->read_size), expected); in ZREAD()
|
/Zephyr-latest/samples/subsys/usb/mass/ |
D | README.rst | 228 --read_size=16 \ 267 * ``--read_size`` corresponds to the ``rd`` size and is 16;
|