Home
last modified time | relevance | path

Searched refs:rx_buf (Results 101 – 125 of 266) sorted by relevance

1234567891011

/Zephyr-latest/drivers/input/
Dinput_paw32xx.c93 struct spi_buf rx_buf[] = { in paw32xx_read_reg() local
104 .buffers = rx_buf, in paw32xx_read_reg()
105 .count = ARRAY_SIZE(rx_buf), in paw32xx_read_reg()
172 struct spi_buf rx_buf = { in paw32xx_read_xy() local
177 .buffers = &rx_buf, in paw32xx_read_xy()
/Zephyr-latest/include/zephyr/shell/
Dshell_telnet.h46 uint8_t rx_buf[CONFIG_SHELL_CMD_BUFF_SIZE]; member
/Zephyr-latest/drivers/flash/
Dflash_npcx_fiu_qspi.h33 uint8_t *rx_buf; member
Dnrf_qspi_nor.c218 const struct qspi_buf *rx_buf; member
413 void *rx_buf = NULL; in qspi_send_cmd() local
422 if (cmd->rx_buf) { in qspi_send_cmd()
423 rx_buf = cmd->rx_buf->buf; in qspi_send_cmd()
424 rx_len = cmd->rx_buf->len; in qspi_send_cmd()
453 int res = nrfx_qspi_cinstr_xfer(&cinstr_cfg, tx_buf, rx_buf); in qspi_send_cmd()
477 .rx_buf = &sr_buf, in qspi_rdsr()
713 const struct qspi_buf rx_buf = { in qspi_rdid() local
719 .rx_buf = &rx_buf, in qspi_rdid()
Dspi_flash_at45.c120 const struct spi_buf rx_buf[] = { in check_jedec_id() local
130 DEF_BUF_SET(rx_buf_set, rx_buf); in check_jedec_id()
167 const struct spi_buf rx_buf[] = { in read_status_register() local
177 DEF_BUF_SET(rx_buf_set, rx_buf); in read_status_register()
266 const struct spi_buf rx_buf[] = { in spi_flash_at45_read() local
276 DEF_BUF_SET(rx_buf_set, rx_buf); in spi_flash_at45_read()
/Zephyr-latest/drivers/serial/
Duart_sam0.c82 uint8_t *rx_buf; member
208 .buf = dev_data->rx_buf, in uart_sam0_notify_rx_processed()
244 .data.rx_buf = { in uart_sam0_dma_rx_done()
245 .buf = dev_data->rx_buf, in uart_sam0_dma_rx_done()
254 dev_data->rx_buf = NULL; in uart_sam0_dma_rx_done()
269 dev_data->rx_buf = dev_data->rx_next_buf; in uart_sam0_dma_rx_done()
277 (uint32_t)dev_data->rx_buf, dev_data->rx_len); in uart_sam0_dma_rx_done()
333 uint8_t *rx_dma_start = dev_data->rx_buf + dev_data->rx_len - in uart_sam0_rx_timeout()
335 size_t rx_processed = rx_dma_start - dev_data->rx_buf; in uart_sam0_rx_timeout()
1064 dev_data->rx_buf = buf; in uart_sam0_rx_enable()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_pcf857x.c67 uint8_t rx_buf[2] = {0}; in pcf857x_process_input() local
69 rc = i2c_read_dt(&drv_cfg->i2c, rx_buf, drv_data->num_bytes); in pcf857x_process_input()
76 *value = sys_get_le16(rx_buf); /*format P17-P10..P07-P00 (bit15-bit8..bit7-bit0)*/ in pcf857x_process_input()
79 drv_data->input_port_last = sys_get_le16(rx_buf); in pcf857x_process_input()
Dgpio_mcp23sxx.c47 const struct spi_buf rx_buf = { in mcp23sxx_read_port_regs() local
52 .buffers = &rx_buf, in mcp23sxx_read_port_regs()
/Zephyr-latest/drivers/spi/
Dspi_sedi.c161 data_in = (uint8_t *)ctx->rx_buf; in transceive()
173 data_in = (uint8_t *)ctx->rx_buf; in transceive()
181 data_in = ctx->rx_buf; in transceive()
189 data_in = ctx->rx_buf; in transceive()
294 sedi_spi_update_rx_buf(info->spi_device, ctx->rx_buf, in spi_sedi_callback()
Dspi_rv32m1_lpspi.c69 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
79 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
87 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
96 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet()
Dspi_sam0.c178 *data->ctx.rx_buf = rx; in spi_sam0_shift_master()
214 static void spi_sam0_fast_rx(SercomSpi *regs, const struct spi_buf *rx_buf) in spi_sam0_fast_rx() argument
216 uint8_t *rx = rx_buf->buf; in spi_sam0_fast_rx()
217 int len = rx_buf->len; in spi_sam0_fast_rx()
240 const struct spi_buf *rx_buf) in spi_sam0_fast_txrx() argument
244 uint8_t *rx = rx_buf->buf; in spi_sam0_fast_txrx()
245 size_t len = rx_buf->len; in spi_sam0_fast_txrx()
524 retval = spi_sam0_dma_rx_load(dev, data->ctx.rx_buf, in spi_sam0_dma_advance_buffers()
Dspi_b91.c134 const struct spi_buf *rx_buf = rx_bufs->buffers; in spi_b91_get_txrx_len() local
144 len_rx += rx_buf->len; in spi_b91_get_txrx_len()
145 rx_buf++; in spi_b91_get_txrx_len()
182 *ctx->rx_buf = rx; in spi_b91_rx()
Dspi_ambiq_spic.c236 trans.pui32RxBuffer = (uint32_t *)ctx->rx_buf; in spi_ambiq_xfer_half_duplex()
274 trans.pui32RxBuffer = (uint32_t *)ctx->rx_buf; in spi_ambiq_xfer_full_duplex()
296 trans.pui32RxBuffer = (uint32_t *)ctx->rx_buf; in spi_ambiq_xfer_full_duplex()
320 if (ctx->rx_buf == ctx->tx_buf) { in spi_ambiq_xfer()
343 if (ctx->rx_buf == NULL) { in spi_ambiq_xfer()
Dspi_psoc6.c73 xfer->rxData = ctx->rx_buf; in spi_psoc6_transfer_next_packet()
83 xfer->rxData = ctx->rx_buf; in spi_psoc6_transfer_next_packet()
91 xfer->rxData = ctx->rx_buf; in spi_psoc6_transfer_next_packet()
99 xfer->rxData = ctx->rx_buf; in spi_psoc6_transfer_next_packet()
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_spi.c39 const struct spi_buf rx_buf[2] = { in lis2dh_raw_read() local
50 .buffers = rx_buf, in lis2dh_raw_read()
/Zephyr-latest/modules/nrf_wifi/bus/
Dqspi_if.c182 const struct qspi_buf *rx_buf; member
584 void *rx_buf = NULL; in qspi_send_cmd() local
593 if (cmd->rx_buf) { in qspi_send_cmd()
594 rx_buf = cmd->rx_buf->buf; in qspi_send_cmd()
595 rx_len = cmd->rx_buf->len; in qspi_send_cmd()
626 int res = nrfx_qspi_cinstr_xfer(&cinstr_cfg, tx_buf, rx_buf); in qspi_send_cmd()
642 .rx_buf = &sr_buf, in qspi_rdsr()
1057 .rx_buf = &sr_buf, in qspi_RDSR2()
1103 .rx_buf = &sr_buf, in qspi_RDSR1()
/Zephyr-latest/tests/drivers/i2s/i2s_api/src/
Dtest_i2s_states.c24 char rx_buf[BLOCK_SIZE]; in ZTEST_USER() local
47 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER()
257 char rx_buf[BLOCK_SIZE]; in ZTEST_USER() local
287 ret = i2s_buf_read(dev_i2s_rx, rx_buf, &rx_size); in ZTEST_USER()
Dtest_i2s_dir_both_states.c131 char rx_buf[BLOCK_SIZE]; in ZTEST_USER() local
156 ret = i2s_buf_read(dev_i2s, rx_buf, &rx_size); in ZTEST_USER()
/Zephyr-latest/tests/subsys/modem/mock/
Dmodem_backend_mock.h43 uint8_t *rx_buf; member
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/
Duart_mock.c50 data->rx_buf = buf; in uart_mock_rx_enable()
/Zephyr-latest/drivers/adc/
Dadc_ads7052.c208 const struct spi_buf rx_buf[1] = {{.buf = rx_bytes, .len = sizeof(rx_bytes)}}; in ads7052_read_channel() local
209 const struct spi_buf_set rx = {.buffers = rx_buf, .count = ARRAY_SIZE(rx_buf)}; in ads7052_read_channel()
Dadc_mcp320x.c194 const struct spi_buf rx_buf[2] = { in mcp320x_read_channel() local
209 .buffers = rx_buf, in mcp320x_read_channel()
210 .count = ARRAY_SIZE(rx_buf) in mcp320x_read_channel()
/Zephyr-latest/drivers/modem/
Dublox-sara-r4.c563 data->rx_buf, 0, len); in MODEM_CMD_DEFINE()
576 data->rx_buf, 0, len); in MODEM_CMD_DEFINE()
602 data->rx_buf, 0, len); in MODEM_CMD_DEFINE()
614 data->rx_buf, 0, len); in MODEM_CMD_DEFINE()
626 data->rx_buf, 0, len); in MODEM_CMD_DEFINE()
793 if (!data->rx_buf || *data->rx_buf->data != '\"') { in on_cmd_sockread_common()
805 if ((net_buf_frags_len(data->rx_buf) - 2) < socket_data_length) { in on_cmd_sockread_common()
812 net_buf_pull_u8(data->rx_buf); in on_cmd_sockread_common()
813 if (!data->rx_buf->len) { in on_cmd_sockread_common()
814 data->rx_buf = net_buf_frag_del(NULL, data->rx_buf); in on_cmd_sockread_common()
[all …]
/Zephyr-latest/drivers/dac/
Ddac_ad56xx.c54 const struct spi_buf rx_buf[] = {{ in ad56xx_write_command() local
63 .buffers = rx_buf, in ad56xx_write_command()
64 .count = ARRAY_SIZE(rx_buf), in ad56xx_write_command()
/Zephyr-latest/drivers/ethernet/
Deth_litex_liteeth.c53 uint8_t *rx_buf[2]; member
146 if (net_pkt_write(pkt, (void *)config->rx_buf[rxslot], len) != 0) { in eth_rx()
341 .rx_buf = { \

1234567891011