Searched refs:to_read (Results 1 – 8 of 8) sorted by relevance
/Zephyr-latest/subsys/storage/flash_map/ |
D | flash_map_integrity.c | 40 int to_read; in flash_area_check_int_sha256() local 64 to_read = fac->rblen; in flash_area_check_int_sha256() 66 for (pos = 0; pos < fac->clen; pos += to_read) { in flash_area_check_int_sha256() 67 if (pos + to_read > fac->clen) { in flash_area_check_int_sha256() 68 to_read = fac->clen - pos; 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/drivers/wifi/eswifi/ |
D | eswifi_bus_spi.c | 109 unsigned int offset = 0U, to_read = SPI_READ_CHUNK_SIZE; in eswifi_spi_request() local 165 while (eswifi_spi_cmddata_ready(spi) && to_read) { in eswifi_spi_request() 166 to_read = MIN(rlen - offset, to_read); in eswifi_spi_request() 167 memset(rsp + offset, 0, to_read); in eswifi_spi_request() 168 eswifi_spi_read(eswifi, rsp + offset, to_read); in eswifi_spi_request() 169 offset += to_read; in eswifi_spi_request()
|
/Zephyr-latest/samples/bluetooth/hci_uart/src/ |
D | main.c | 189 size_t to_read = MIN(remaining, sizeof(discard)); in rx_isr() local 191 read = h4_read(hci_uart_dev, discard, to_read); in rx_isr()
|
/Zephyr-latest/drivers/video/ |
D | video_mcux_csi.c | 269 unsigned int to_read; in video_mcux_csi_enqueue() local 276 to_read = data->csi_config.linePitch_Bytes * data->csi_config.height; in video_mcux_csi_enqueue() 277 vbuf->bytesused = to_read; in video_mcux_csi_enqueue()
|
/Zephyr-latest/samples/boards/st/bluetooth/interactive_gui/src/ |
D | main.c | 323 size_t to_read = MIN(remaining, sizeof(discard)); in rx_isr() local 325 read = h4_read(hci_uart_dev, discard, to_read); in rx_isr()
|
/Zephyr-latest/subsys/net/lib/http/ |
D | http_parser.c | 1975 uint64_t to_read = MIN(parser->content_length, in parser_execute() local 1991 parser->content_length -= to_read; in parser_execute() 1992 p += to_read - 1; in parser_execute() 2148 uint64_t to_read = MIN(parser->content_length, in parser_execute() local 2160 parser->content_length -= to_read; in parser_execute() 2161 p += to_read - 1; in parser_execute()
|
/Zephyr-latest/subsys/fs/ext2/ |
D | ext2_impl.c | 628 size_t to_read = MIN(nbytes_to_read, MIN(left_on_blk, left_in_file)); in ext2_inode_read() local 630 memcpy((uint8_t *)buf + read, inode_current_block_mem(inode) + block_off, to_read); in ext2_inode_read() 632 read += to_read; in ext2_inode_read() 634 offset += to_read; in ext2_inode_read()
|
/Zephyr-latest/tests/bluetooth/tester/src/ |
D | btp_gatt.c | 2269 ssize_t read, to_read; in get_attr_val_rp() local 2276 to_read = net_buf_simple_tailroom(buf); in get_attr_val_rp() 2283 read = attr->read(conn, attr, buf->data + buf->len, to_read, in get_attr_val_rp() 2293 } while (read == to_read); in get_attr_val_rp()
|