Home
last modified time | relevance | path

Searched refs:read_count (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/drivers/timer/
Dxlnx_psttc_timer.c56 static uint32_t read_count(void) in read_count() function
86 cycles = read_count(); in ttc_isr()
113 cycles = read_count(); in sys_clock_set_timeout()
133 cycles = read_count(); in sys_clock_elapsed()
146 return read_count(); in sys_clock_cycle_get_32()
/Zephyr-Core-3.5.0/drivers/usb/device/
Dusb_dc_stm32.c156 uint32_t read_count; /** Number of bytes in read buffer */ member
709 ep_state->read_count = 0U; in usb_dc_ep_clear_stall()
841 uint32_t read_count; in usb_dc_ep_read_wait() local
848 read_count = ep_state->read_count; in usb_dc_ep_read_wait()
851 ep_state->read_offset, read_count, data); in usb_dc_ep_read_wait()
863 read_count = MIN(read_count, max_data_len); in usb_dc_ep_read_wait()
865 ep_state->read_offset, read_count); in usb_dc_ep_read_wait()
866 ep_state->read_count -= read_count; in usb_dc_ep_read_wait()
867 ep_state->read_offset += read_count; in usb_dc_ep_read_wait()
873 *read_bytes = read_count; in usb_dc_ep_read_wait()
[all …]
Dusb_dc_rpi_pico.c757 uint32_t read_count; in usb_dc_ep_read_wait() local
770 read_count = sizeof(struct usb_setup_packet); in usb_dc_ep_read_wait()
771 if (read_count != max_data_len) { in usb_dc_ep_read_wait()
773 " (expected: %d, read: %d)", read_count, max_data_len); in usb_dc_ep_read_wait()
776 read_count = udc_rpi_get_ep_buffer_len(ep) - ep_state->read_offset; in usb_dc_ep_read_wait()
780 read_count, data); in usb_dc_ep_read_wait()
783 read_count = MIN(read_count, max_data_len); in usb_dc_ep_read_wait()
786 memcpy(data, (const void *)&usb_dpram->setup_packet, read_count); 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()
[all …]
Dusb_dc_smartbond.c1015 uint16_t read_count; in usb_dc_ep_read_wait() local
1024 read_count = ep_state->last_packet_size - ep_state->transferred; in usb_dc_ep_read_wait()
1031 read_count = MIN(read_count, max_data_len); in usb_dc_ep_read_wait()
1032 memcpy(data, ep_state->buffer + ep_state->transferred, read_count); in usb_dc_ep_read_wait()
1033 ep_state->transferred += read_count; in usb_dc_ep_read_wait()
1039 *read_bytes = read_count; in usb_dc_ep_read_wait()
/Zephyr-Core-3.5.0/drivers/flash/
Dflash_cadence_qspi_nor_ll.c733 uint32_t read_count = 0, *read_data; in cad_qspi_read_bank() local
747 while (read_count < size) { in cad_qspi_read_bank()
751 read_data = (uint32_t *)(buffer + read_count); in cad_qspi_read_bank()
755 read_count += level * sizeof(uint32_t); in cad_qspi_read_bank()