Home
last modified time | relevance | path

Searched refs:read_offset (Results 1 – 4 of 4) sorted by relevance

/Zephyr-Core-3.5.0/drivers/flash/
Dsoc_flash_nios2_qspi.c363 uint32_t read_offset = offset; /* offset into flash to read from */ in flash_nios2_qspi_read() local
383 read_offset &= ~(NIOS2_WRITE_BLOCK_SIZE - 1U); in flash_nios2_qspi_read()
384 if (offset > read_offset) { in flash_nios2_qspi_read()
386 bytes_to_copy = NIOS2_WRITE_BLOCK_SIZE - (offset - read_offset); in flash_nios2_qspi_read()
391 word_to_read = IORD_32DIRECT(qspi_dev->data_base, read_offset); in flash_nios2_qspi_read()
393 read_offset, bytes_to_copy); in flash_nios2_qspi_read()
395 read_offset += NIOS2_WRITE_BLOCK_SIZE; in flash_nios2_qspi_read()
410 word_to_read = IORD_32DIRECT(qspi_dev->data_base, read_offset); in flash_nios2_qspi_read()
414 read_offset += bytes_to_copy; in flash_nios2_qspi_read()
Dflash_ifx_cat1.c57 uint32_t read_offset = dev_config->base_addr + offset; in ifx_cat1_flash_read() local
63 rslt = cyhal_flash_read(&dev_data->flash_obj, read_offset, (uint8_t *)data, data_len); in ifx_cat1_flash_read()
65 LOG_ERR("Error reading @ 0x%x (Err:0x%x)", read_offset, rslt); in ifx_cat1_flash_read()
/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_rpi_pico.c42 uint32_t read_offset; member
113 ep_state->read_offset = 0; in udc_rpi_start_xfer()
603 ep_state->read_offset = 0U; in usb_dc_ep_clear_stall()
776 read_count = udc_rpi_get_ep_buffer_len(ep) - ep_state->read_offset; in usb_dc_ep_read_wait()
779 LOG_DBG("ep 0x%02x, %u bytes, %u+%u, %p", ep, max_data_len, ep_state->read_offset, in usb_dc_ep_read_wait()
788 memcpy(data, ep_state->buf + ep_state->read_offset, read_count); in usb_dc_ep_read_wait()
791 ep_state->read_offset += read_count; in usb_dc_ep_read_wait()
829 len, ep_state->read_offset); in usb_dc_control_ep_read_continue()
831 if (state.control_out_ep_rcvd + ep_state->read_offset < setup->wLength) { in usb_dc_control_ep_read_continue()
835 if (len == ep_state->read_offset) { in usb_dc_control_ep_read_continue()
[all …]
Dusb_dc_stm32.c157 uint32_t read_offset; /** Current offset in read buffer */ member
851 ep_state->read_offset, read_count, data); in usb_dc_ep_read_wait()
865 ep_state->read_offset, read_count); in usb_dc_ep_read_wait()
867 ep_state->read_offset += read_count; in usb_dc_ep_read_wait()
1064 ep_state->read_offset = 0U; in HAL_PCD_SetupStageCallback()
1093 ep_state->read_offset = 0U; in HAL_PCD_DataOutStageCallback()