Home
last modified time | relevance | path

Searched refs:rx_bytes (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/drivers/w1/
Dw1_ds2485.c36 uint8_t rx_bytes[3]; in ds2485_w1_script_cmd() local
39 .buf = rx_bytes, in ds2485_w1_script_cmd()
66 if ((rx_bytes[0] != (rx_len + 2)) || (rx_bytes[2] != w1_cmd)) { in ds2485_w1_script_cmd()
68 rx_bytes[0], rx_bytes[2]); in ds2485_w1_script_cmd()
72 return rx_bytes[1]; in ds2485_w1_script_cmd()
/Zephyr-latest/drivers/sensor/aosong/ags10/
Dags10.c21 static int ags10_read(const struct device *dev, uint8_t cmd, uint8_t *data, uint8_t rx_bytes) in ags10_read() argument
23 if (rx_bytes > AGS10_MAX_PAYLOAD_SIZE) { in ags10_read()
30 int ret = i2c_write_read_dt(&conf->bus, &cmd, sizeof(cmd), &recv_buf, rx_bytes); in ags10_read()
36 memcpy(data, recv_buf, rx_bytes); in ags10_read()
/Zephyr-latest/drivers/serial/
Duart_ene_kb1200.c143 uint16_t rx_bytes = 0U; in kb1200_uart_fifo_read() local
146 while ((size - rx_bytes > 0) && (!(config->ser->SERSTS & SERSTS_RX_EMPTY))) { in kb1200_uart_fifo_read()
148 rx_data[rx_bytes] = config->ser->SERRBUF; in kb1200_uart_fifo_read()
149 rx_bytes++; in kb1200_uart_fifo_read()
151 return rx_bytes; in kb1200_uart_fifo_read()
Duart_numaker.c263 int rx_bytes = 0; in uart_numaker_fifo_read() local
266 while (((size - rx_bytes) > 0) && (!(uart->FIFOSTS & UART_FIFOSTS_RXEMPTY_Msk))) { in uart_numaker_fifo_read()
268 rx_data[rx_bytes++] = (uint8_t)uart->DAT; in uart_numaker_fifo_read()
271 return rx_bytes; in uart_numaker_fifo_read()
Duart_npcx.c234 unsigned int rx_bytes = 0U; in uart_npcx_fifo_read() local
237 while ((size - rx_bytes > 0) && uart_npcx_rx_fifo_available(dev)) { in uart_npcx_fifo_read()
239 rx_data[rx_bytes++] = inst->URBUF; in uart_npcx_fifo_read()
242 return rx_bytes; in uart_npcx_fifo_read()
/Zephyr-latest/drivers/adc/
Dadc_ads7052.c207 uint8_t rx_bytes[3]; in ads7052_read_channel() local
208 const struct spi_buf rx_buf[1] = {{.buf = rx_bytes, .len = sizeof(rx_bytes)}}; in ads7052_read_channel()
216 *result = ads7052_get_be14(rx_bytes); in ads7052_read_channel()
Dadc_mcp320x.c182 uint8_t rx_bytes[2]; in mcp320x_read_channel() local
200 .buf = rx_bytes, in mcp320x_read_channel()
201 .len = sizeof(rx_bytes) in mcp320x_read_channel()
229 *result = sys_get_be16(rx_bytes); in mcp320x_read_channel()
Dadc_ads1119.c198 uint8_t rx_bytes[2]; in ads1119_read_sample() local
204 rx_bytes, sizeof(rx_bytes)); in ads1119_read_sample()
206 *buff = sys_get_be16(rx_bytes); in ads1119_read_sample()
/Zephyr-latest/include/zephyr/drivers/
Dspi.h480 STATS_SECT_ENTRY32(rx_bytes)
486 STATS_NAME(spi, rx_bytes)
511 STATS_INCN(Z_SPI_GET_STATS(dev_), rx_bytes, n)
593 uint32_t rx_bytes; in spi_transceive_stats() local
605 rx_bytes = rx_bufs->count ? rx_bufs->buffers->len : 0; in spi_transceive_stats()
606 SPI_STATS_RX_BYTES_INCN(dev, rx_bytes); in spi_transceive_stats()
/Zephyr-latest/drivers/i2c/
Di2c_bcm_iproc.c165 uint32_t rx_bytes; member
308 uint32_t rx_bytes = 0; in iproc_i2c_target_read() local
311 while (rx_bytes < MAX_TARGET_RX_PER_INT) { in iproc_i2c_target_read()
336 rx_bytes++; in iproc_i2c_target_read()
619 while (dd->rx_bytes < msg->len) { in iproc_i2c_read_valid_bytes()
627 msg->buf[dd->rx_bytes] = (val >> M_RX_DATA_SHIFT) & M_RX_DATA_MASK; in iproc_i2c_read_valid_bytes()
628 dd->rx_bytes++; in iproc_i2c_read_valid_bytes()
641 bytes_left = msg->len - dd->rx_bytes; in iproc_i2c_data_recv()
719 dd->rx_bytes = 0; in iproc_i2c_transfer_one()
/Zephyr-latest/drivers/ethernet/
Deth_dwmac.c285 p->rx_bytes = 0; in dwmac_receive()
307 frag->len = bytes_so_far - p->rx_bytes; in dwmac_receive()
308 p->rx_bytes = bytes_so_far; in dwmac_receive()
Deth_dwmac_priv.h66 unsigned int rx_bytes; member
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_spi_stm32.c621 uint32_t rx_bytes; in wait_for_rx_bytes() local
631 rx_bytes = CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_SIZE - stat.pending_length; in wait_for_rx_bytes()
632 if (rx_bytes >= needed) { in wait_for_rx_bytes()
/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dwifi_util.c767 umac->interface_data_stats.rx_bytes, in nrf_wifi_util_dump_rpu_stats()
Dnet_if.c1219 zstats->bytes.received = stats.fw.umac.interface_data_stats.rx_bytes; in nrf_wifi_stats_get()