/Zephyr-latest/drivers/spi/ |
D | spi_xmc4xxx.c | 115 uint8_t rx_data; in spi_xmc4xxx_shift_frames() local 152 rx_data = XMC_SPI_CH_GetReceivedData(config->spi); in spi_xmc4xxx_shift_frames() 155 *ctx->rx_buf = rx_data; in spi_xmc4xxx_shift_frames() 166 uint8_t rx_data; in spi_xmc4xxx_isr() local 168 rx_data = XMC_SPI_CH_GetReceivedData(config->spi); in spi_xmc4xxx_isr() 171 *ctx->rx_buf = rx_data; in spi_xmc4xxx_isr()
|
/Zephyr-latest/drivers/serial/ |
D | serial_esp32_usb.c | 135 static int serial_esp32_usb_fifo_read(const struct device *dev, uint8_t *rx_data, const int len) in serial_esp32_usb_fifo_read() argument 139 return usb_serial_jtag_ll_read_rxfifo(rx_data, len); in serial_esp32_usb_fifo_read()
|
D | uart_hvc_xen.c | 132 static int xen_hvc_fifo_read(const struct device *dev, uint8_t *rx_data, in xen_hvc_fifo_read() argument 135 return read_from_ring(dev, rx_data, size); in xen_hvc_fifo_read()
|
D | uart_sifive.c | 152 uint8_t *rx_data, in uart_sifive_fifo_read() argument 166 rx_data[i] = (uint8_t)(val & RXDATA_MASK); in uart_sifive_fifo_read()
|
D | uart_cdns.c | 103 static int uart_cdns_read_fifo(const struct device *dev, uint8_t *rx_data, const int size) in uart_cdns_read_fifo() argument 110 rx_data[i] = uart_regs->rx_tx_fifo; in uart_cdns_read_fifo()
|
D | uart_imx.c | 150 static int uart_imx_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_imx_fifo_read() argument 159 rx_data[num_rx++] = UART_Getchar(uart); in uart_imx_fifo_read()
|
D | uart_msp432p4xx.c | 194 uint8_t *rx_data, in uart_msp432p4xx_fifo_read() argument 204 rx_data[num_rx++] = MAP_UART_receiveData(config->base); in uart_msp432p4xx_fifo_read()
|
D | serial_test.c | 172 static int fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in fifo_read() argument 175 int read_len = ring_buf_get(data->read_queue, rx_data, size); in fifo_read() 177 LOG_HEXDUMP_DBG(rx_data, read_len, ""); in fifo_read()
|
D | uart_bcm2711.c | 178 static int uart_bcm2711_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_bcm2711_fifo_read() argument 186 rx_data[num_rx++] = sys_read32(uart_data->uart_addr + BCM2711_MU_IO) & 0xFF; in uart_bcm2711_fifo_read()
|
D | uart_cc32xx.c | 155 static int uart_cc32xx_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_cc32xx_fifo_read() argument 165 rx_data[num_rx++] = in uart_cc32xx_fifo_read()
|
D | uart_litex.c | 224 uint8_t *rx_data, const int size) in uart_litex_fifo_read() argument 230 rx_data[i] = litex_read8(config->rxtx_addr); in uart_litex_fifo_read()
|
D | uart_neorv32.c | 237 static int neorv32_uart_fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in neorv32_uart_fifo_read() argument 246 __ASSERT_NO_MSG(rx_data != NULL); in neorv32_uart_fifo_read() 249 rx_data[count++] = data->last_data & BIT_MASK(8); in neorv32_uart_fifo_read()
|
D | uart_psoc6.c | 186 uint8_t *rx_data, in uart_psoc6_fifo_read() argument 191 return Cy_SCB_UART_GetArray(config->base, rx_data, size); in uart_psoc6_fifo_read()
|
D | uart_miv.c | 216 uint8_t *rx_data, in uart_miv_fifo_read() argument 224 rx_data[i] = (unsigned char)(uart->rx & RXDATA_MASK); in uart_miv_fifo_read()
|
D | uart_altera.c | 445 static int uart_altera_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_altera_fifo_read() argument 455 __ASSERT(rx_data != NULL, "rx_data is null pointer!"); in uart_altera_fifo_read() 458 if (rx_data == NULL) { in uart_altera_fifo_read() 465 *rx_data = sys_read32(config->base + ALTERA_AVALON_UART_RXDATA_REG_OFFSET); in uart_altera_fifo_read()
|
D | uart_intel_lw.c | 484 static int uart_intel_lw_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_intel_lw_fifo_read() argument 493 __ASSERT(rx_data != NULL, "rx_data is null pointer!"); in uart_intel_lw_fifo_read() 496 if (rx_data == NULL) { in uart_intel_lw_fifo_read() 503 rx_data[ret_val++] = sys_read32(config->base + in uart_intel_lw_fifo_read()
|
D | usart_gd32.c | 180 int usart_gd32_fifo_read(const struct device *dev, uint8_t *rx_data, in usart_gd32_fifo_read() argument 188 rx_data[num_rx++] = usart_data_receive(cfg->reg); in usart_gd32_fifo_read()
|
D | uart_mcux_lpsci.c | 104 static int mcux_lpsci_fifo_read(const struct device *dev, uint8_t *rx_data, in mcux_lpsci_fifo_read() argument 114 rx_data[num_rx++] = LPSCI_ReadByte(config->base); in mcux_lpsci_fifo_read()
|
D | uart_native_tty.c | 189 uint8_t *rx_data, in native_tty_uart_fifo_read() argument 194 return nsi_host_read(data->fd, rx_data, size); in native_tty_uart_fifo_read()
|
/Zephyr-latest/include/zephyr/drivers/ |
D | uart.h | 522 static inline int uart_fifo_read(const struct device *dev, uint8_t *rx_data, const int size); 545 static inline int uart_fifo_read_u16(const struct device *dev, uint16_t *rx_data, const int size);
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_cc13xx_cc26xx_subg.c | 338 len = drv_data->rx_data[i][0]; in drv_rx_done() 339 sdu = drv_data->rx_data[i] + 1; in drv_rx_done() 340 status = drv_data->rx_data[i][len--]; in drv_rx_done() 341 rssi = drv_data->rx_data[i][len--]; in drv_rx_done() 859 drv_data->rx_entry[i].length = sizeof(drv_data->rx_data[0]); in drv_setup_rx_buffers() 860 drv_data->rx_entry[i].pData = drv_data->rx_data[i]; in drv_setup_rx_buffers()
|
/Zephyr-latest/drivers/sensor/adi/adxl367/ |
D | adxl367_stream.c | 503 struct adxl367_fifo_data *rx_data = (struct adxl367_fifo_data *)buf; in adxl367_process_status_cb() local 506 rx_data->is_fifo = 1; in adxl367_process_status_cb() 507 rx_data->timestamp = data->timestamp; in adxl367_process_status_cb() 508 rx_data->int_status = status; in adxl367_process_status_cb() 509 rx_data->fifo_byte_count = 0; in adxl367_process_status_cb()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_ivshmem.c | 128 const void *rx_data; in eth_ivshmem_rx() local 131 int res = eth_ivshmem_queue_rx(&dev_data->ivshmem_queue, &rx_data, &rx_len); in eth_ivshmem_rx() 149 if (net_pkt_write(pkt, rx_data, rx_len) != 0) { in eth_ivshmem_rx()
|
/Zephyr-latest/samples/net/sockets/can/src/ |
D | main.c | 29 static struct k_thread rx_data; variable 232 rx_tid = k_thread_create(&rx_data, rx_stack, in setup_socket()
|
/Zephyr-latest/tests/drivers/spi/spi_controller_peripheral/src/ |
D | main.c | 155 static uint8_t rx_data[256]; in check_buffers() local 163 rx_len = cpy_data(rx_data, sizeof(rx_data), rx_set); in check_buffers() 169 return memcmp(tx_data, rx_data, rx_len); in check_buffers()
|