| /Zephyr-latest/subsys/tracing/ | 
| D | tracing_backend_usb.c | 90 	uint32_t bytes_to_read, length;  in tracing_ep_out_cb()  local92 	usb_read(ep, NULL, 0, &bytes_to_read);  in tracing_ep_out_cb()
 94 	while (bytes_to_read) {  in tracing_ep_out_cb()
 97 			length = MIN(length, bytes_to_read);  in tracing_ep_out_cb()
 101 			bytes_to_read -= length;  in tracing_ep_out_cb()
 
 | 
| /Zephyr-latest/drivers/bbram/ | 
| D | bbram_rts5912.c | 36 	size_t start_offset, bytes_to_read;  in bbram_rts5912_read()  local49 		bytes_to_read = MIN(4 - start_offset, size - i);  in bbram_rts5912_read()
 50 		memcpy(&data[i], ((uint8_t *)&word) + start_offset, bytes_to_read);  in bbram_rts5912_read()
 51 		i += bytes_to_read;  in bbram_rts5912_read()
 
 | 
| /Zephyr-latest/subsys/usb/device/class/ | 
| D | loopback.c | 72 	uint32_t bytes_to_read;  in loopback_out_cb()  local74 	usb_read(ep, NULL, 0, &bytes_to_read);  in loopback_out_cb()
 75 	LOG_DBG("ep 0x%x, bytes to read %d ", ep, bytes_to_read);  in loopback_out_cb()
 76 	usb_read(ep, loopback_buf, bytes_to_read, NULL);  in loopback_out_cb()
 
 | 
| /Zephyr-latest/subsys/dfu/img_util/ | 
| D | flash_img.c | 156 	int bytes_to_read;  in flash_check_erased()  local170 			bytes_to_read = end - addr;  in flash_check_erased()
 172 			bytes_to_read = sizeof(data);  in flash_check_erased()
 175 		rc = flash_area_read(fa, addr, data, bytes_to_read);  in flash_check_erased()
 182 		for (i = 0; i < bytes_to_read / sizeof(erased_val_32); i++) {  in flash_check_erased()
 
 | 
| /Zephyr-latest/kernel/ | 
| D | pipes.c | 31 			     void *data, size_t bytes_to_read,542 			     void *data, size_t bytes_to_read,  in pipe_get_internal()  argument
 576 						    bytes_to_read);  in pipe_get_internal()
 597 	dest_desc->bytes_to_xfer = bytes_to_read;  in pipe_get_internal()
 667 	if ((num_bytes_read == bytes_to_read) ||  in pipe_get_internal()
 701 	*bytes_read = bytes_to_read - dest_desc->bytes_to_xfer;  in pipe_get_internal()
 704 				   bytes_to_read);  in pipe_get_internal()
 709 int z_impl_k_pipe_get(struct k_pipe *pipe, void *data, size_t bytes_to_read,  in z_impl_k_pipe_get()  argument
 717 	CHECKIF((min_xfer > bytes_to_read) || (bytes_read == NULL)) {  in z_impl_k_pipe_get()
 726 	int ret = pipe_get_internal(key, pipe, data, bytes_to_read, bytes_read,  in z_impl_k_pipe_get()
 [all …]
 
 | 
| /Zephyr-latest/drivers/i2c/ | 
| D | i2c_xilinx_axi.c | 406 	uint32_t bytes_to_read = bytes_left;  in i2c_xilinx_axi_read_dyn()  local418 	if (bytes_to_read > FIFO_SIZE) {  in i2c_xilinx_axi_read_dyn()
 419 		bytes_to_read = FIFO_SIZE;  in i2c_xilinx_axi_read_dyn()
 421 	sys_write32(bytes_to_read - 1, config->base + REG_RX_FIFO_PIRQ);  in i2c_xilinx_axi_read_dyn()
 432 		bytes_to_read = bytes_left;  in i2c_xilinx_axi_read_dyn()
 433 		if (bytes_to_read > FIFO_SIZE) {  in i2c_xilinx_axi_read_dyn()
 434 			bytes_to_read = FIFO_SIZE;  in i2c_xilinx_axi_read_dyn()
 437 		sys_write32(bytes_to_read - 1, config->base + REG_RX_FIFO_PIRQ);  in i2c_xilinx_axi_read_dyn()
 438 		ret = i2c_xilinx_axi_wait_rx_full(config, data, bytes_to_read);  in i2c_xilinx_axi_read_dyn()
 443 		while (bytes_to_read) {  in i2c_xilinx_axi_read_dyn()
 [all …]
 
 | 
| /Zephyr-latest/subsys/mgmt/mcumgr/grp/img_mgmt/src/ | 
| D | zephyr_img_mgmt.c | 66 	int bytes_to_read;  in img_mgmt_flash_check_empty_inner()  local80 			bytes_to_read = end - addr;  in img_mgmt_flash_check_empty_inner()
 82 			bytes_to_read = sizeof(data);  in img_mgmt_flash_check_empty_inner()
 85 		rc = flash_area_read(fa, addr, data, bytes_to_read);  in img_mgmt_flash_check_empty_inner()
 91 		for (i = 0; i < bytes_to_read / 4; i++) {  in img_mgmt_flash_check_empty_inner()
 
 | 
| /Zephyr-latest/drivers/serial/ | 
| D | uart_emul.c | 226 	uint32_t bytes_to_read;  in uart_emul_fifo_read()  local229 		bytes_to_read = MIN(config->latch_buffer_size, ring_buf_size_get(data->rx_rb));  in uart_emul_fifo_read()
 230 		bytes_to_read = MIN(bytes_to_read, size);  in uart_emul_fifo_read()
 231 		ring_buf_get(data->rx_rb, rx_data, bytes_to_read);  in uart_emul_fifo_read()
 234 	return bytes_to_read;  in uart_emul_fifo_read()
 
 | 
| /Zephyr-latest/scripts/pylib/pytest-twister-harness/src/twister_harness/device/ | 
| D | hardware_adapter.py | 243                 bytes_to_read = max(1, min(2048, self._serial_connection.in_waiting))244                 output = self._serial_connection.read(bytes_to_read)
 
 | 
| /Zephyr-latest/subsys/tracing/test/ | 
| D | tracing_test.h | 382 	sys_trace_k_pipe_get_enter(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout)384 	sys_trace_k_pipe_get_blocking(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout)
 386 	sys_trace_k_pipe_get_exit(pipe, data, bytes_to_read, bytes_read, min_xfer, timeout, ret)
 671 void sys_trace_k_pipe_get_enter(struct k_pipe *pipe, void *data, size_t bytes_to_read,
 673 void sys_trace_k_pipe_get_blocking(struct k_pipe *pipe, void *data, size_t bytes_to_read,
 675 void sys_trace_k_pipe_get_exit(struct k_pipe *pipe, void *data, size_t bytes_to_read,
 
 | 
| /Zephyr-latest/doc/kernel/services/ | 
| D | polling.rst | 171 …            ret = k_pipe_get(events[3].pipe, buf, bytes_to_read, &bytes_read, min_xfer, K_NO_WAIT);200 …            ret = k_pipe_get(events[3].pipe, buf, bytes_to_read, &bytes_read, min_xfer, K_NO_WAIT);
 
 | 
| /Zephyr-latest/subsys/tracing/sysview/ | 
| D | SYSVIEW_Zephyr.txt | 81 74  k_pipe_get                 pipe=%I, data=%p, bytes_to_read=%u, bytes_read=%u, min_xfer=%u, Time…
 | 
| /Zephyr-latest/include/zephyr/ | 
| D | kernel.h | 5153 			 size_t bytes_to_read, size_t *bytes_read,
 |