/Zephyr-latest/drivers/mipi_dsi/ |
D | mipi_dsi.c | 19 .rx_buf = buf in mipi_dsi_generic_read() 77 .rx_buf = buf, in mipi_dsi_dcs_read()
|
/Zephyr-latest/drivers/spi/ |
D | spi_b_renesas_ra8.c | 205 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 207 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 209 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_b_transceive_slave() 253 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master() 255 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master() 257 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_b_transceive_master() 329 if (data->ctx.rx_buf == NULL) { in transceive() 332 R_SPI_B_Read(&data->spi, data->ctx.rx_buf, data->data_len, spi_width); in transceive() 334 R_SPI_B_WriteRead(&data->spi, data->ctx.tx_buf, data->ctx.rx_buf, data->data_len, in transceive() 463 data->spi.p_rx_data = data->ctx.rx_buf; in ra_spi_retransmit() [all …]
|
D | spi_mcux_dspi.c | 159 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 169 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 177 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 186 transfer.rxData = ctx->rx_buf; in spi_mcux_transfer_next_packet() 391 uint8_t *rx_buf; in update_rx_dma() local 406 if (data->ctx.rx_buf != NULL) { in update_rx_dma() 407 rx_buf = data->ctx.rx_buf; in update_rx_dma() 409 rx_buf = data->inner_rx_buffer->buf; in update_rx_dma() 413 rx_buf = data->inner_rx_buffer->buf; in update_rx_dma() 416 LOG_DBG("tx only 0x%x, size %d", (uint32_t)rx_buf, rx_size); in update_rx_dma() [all …]
|
D | spi_renesas_ra.c | 228 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 230 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 232 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_transceive_slave() 290 UNALIGNED_PUT(rx, (uint32_t *)data->ctx.rx_buf); in ra_spi_transceive_master() 292 UNALIGNED_PUT(rx, (uint16_t *)data->ctx.rx_buf); in ra_spi_transceive_master() 294 UNALIGNED_PUT(rx, (uint8_t *)data->ctx.rx_buf); in ra_spi_transceive_master() 367 if (data->ctx.rx_buf == NULL) { in transceive() 370 R_SPI_Read(&data->spi, data->ctx.rx_buf, data->data_len, spi_width); in transceive() 372 R_SPI_WriteRead(&data->spi, data->ctx.tx_buf, data->ctx.rx_buf, data->data_len, in transceive() 505 data->spi.p_rx_data = data->ctx.rx_buf; in ra_spi_retransmit() [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max6675/ |
D | max6675.c | 39 const struct spi_buf rx_buf = { in max6675_sample_fetch() local 44 .buffers = &rx_buf, in max6675_sample_fetch()
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_nxp_fs26.c | 154 uint32_t rx_buf; in fs26_spi_transceive() local 163 .buf = &rx_buf, in fs26_spi_transceive() 164 .len = sizeof(rx_buf) in fs26_spi_transceive() 193 rx_buf = __builtin_bswap32(rx_buf); in fs26_spi_transceive() 197 crc = fs26_calcrc((uint8_t *)&rx_buf, sizeof(rx_buf) - 1); in fs26_spi_transceive() 198 if (crc != ((uint8_t)FS26_GET_CRC(rx_buf))) { in fs26_spi_transceive() 205 rx_frame->status.raw = (uint8_t)FS26_GET_DEV_STATUS(rx_buf); in fs26_spi_transceive() 206 rx_frame->data = (uint16_t)FS26_GET_DATA(rx_buf); in fs26_spi_transceive()
|
/Zephyr-latest/tests/subsys/mgmt/ec_host_cmd/uart/src/ |
D | uart_mock.h | 17 uint8_t *rx_buf; member
|
/Zephyr-latest/drivers/serial/ |
D | uart_esp32.c | 100 uint8_t *rx_buf; member 574 (uint32_t)data->async.rx_buf + data->async.rx_counter, in uart_esp32_dma_rx_done() 584 evt.data.rx.buf = data->async.rx_buf; in uart_esp32_dma_rx_done() 597 evt.data.rx_buf.buf = data->async.rx_buf; in uart_esp32_dma_rx_done() 603 data->async.rx_buf = data->async.rx_next_buf; in uart_esp32_dma_rx_done() 613 if (!data->async.rx_buf) { in uart_esp32_dma_rx_done() 620 dma_reload(config->dma_dev, config->rx_dma_channel, 0, (uint32_t)data->async.rx_buf, in uart_esp32_dma_rx_done() 701 evt.data.rx.buf = data->async.rx_buf; in uart_esp32_async_rx_timeout() 823 data->async.rx_buf = buf; in uart_esp32_async_rx_enable() 834 dma_blk.dest_address = (uint32_t)data->async.rx_buf; in uart_esp32_async_rx_enable() [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max31855/ |
D | max31855.c | 44 struct spi_buf rx_buf = { in max31855_sample_fetch() local 48 const struct spi_buf_set rx = {.buffers = &rx_buf, .count = 1}; in max31855_sample_fetch()
|
/Zephyr-latest/drivers/w1/ |
D | w1_ds2485.c | 29 uint8_t *rx_buf, uint8_t rx_len) in ds2485_w1_script_cmd() argument 44 .buf = rx_buf, in ds2485_w1_script_cmd()
|
/Zephyr-latest/drivers/modem/ |
D | wncm14a2a.c | 1066 struct net_buf *rx_buf = NULL; in wncm14a2a_rx() local 1113 wncm14a2a_read_rx(&rx_buf); in wncm14a2a_rx() 1115 while (rx_buf) { in wncm14a2a_rx() 1116 net_buf_skipcrlf(&rx_buf); in wncm14a2a_rx() 1117 if (!rx_buf) { in wncm14a2a_rx() 1122 len = net_buf_findcrlf(rx_buf, &frag, &offset); in wncm14a2a_rx() 1130 if (net_buf_ncmp(rx_buf, handlers[i].cmd, in wncm14a2a_rx() 1137 rx_buf = net_buf_skip(rx_buf, in wncm14a2a_rx() 1142 len = net_buf_findcrlf(rx_buf, in wncm14a2a_rx() 1150 handlers[i].func(&rx_buf, len); in wncm14a2a_rx() [all …]
|
D | simcom-sim7080.c | 316 if (!data->rx_buf) { in sockread_common() 326 if (net_buf_frags_len(data->rx_buf) < socket_data_length) { in sockread_common() 345 ret = net_buf_linearize(sock_data->recv_buf, sock_data->recv_buf_len, data->rx_buf, 0, in sockread_common() 347 data->rx_buf = net_buf_skip(data->rx_buf, ret); in sockread_common() 661 out_len = net_buf_linearize(ips, sizeof(ips) - 1, data->rx_buf, 1, len); in MODEM_CMD_DEFINE() 966 mdata.mdm_manufacturer, sizeof(mdata.mdm_manufacturer) - 1, data->rx_buf, 0, len); in MODEM_CMD_DEFINE() 978 data->rx_buf, 0, len); in MODEM_CMD_DEFINE() 995 data->rx_buf, 0, len); in MODEM_CMD_DEFINE() 1015 net_buf_linearize(mdata.mdm_imei, sizeof(mdata.mdm_imei) - 1, data->rx_buf, 0, len); in MODEM_CMD_DEFINE() 1028 net_buf_linearize(mdata.mdm_imsi, sizeof(mdata.mdm_imsi) - 1, data->rx_buf, 0, len); in MODEM_CMD_DEFINE() [all …]
|
/Zephyr-latest/include/zephyr/drivers/flash/ |
D | npcx_flash_api_ex.h | 53 uint8_t *rx_buf; member
|
/Zephyr-latest/drivers/sensor/microchip/tcn75a/ |
D | tcn75a_trigger.c | 83 uint8_t rx_buf[2]; in tcn75a_attr_get() local 102 ret = i2c_write_read_dt(&config->i2c_spec, &config_reg, 1, rx_buf, 2); in tcn75a_attr_get() 107 limit = sys_get_be16(rx_buf); in tcn75a_attr_get()
|
/Zephyr-latest/samples/net/mqtt_sn_publisher/src/ |
D | udp.c | 36 static APP_BMEM uint8_t rx_buf[CONFIG_NET_SAMPLE_MQTT_SN_BUFFER_SIZE]; variable 144 rx_buf, sizeof(rx_buf)); in process_thread()
|
/Zephyr-latest/drivers/sensor/ti/ina219/ |
D | ina219.c | 26 uint8_t rx_buf[2]; in ina219_reg_read() local 31 rx_buf, sizeof(rx_buf)); in ina219_reg_read() 33 *reg_data = sys_get_be16(rx_buf); in ina219_reg_read()
|
/Zephyr-latest/samples/subsys/dap/src/ |
D | main.c | 24 static uint8_t rx_buf[CONFIG_CMSIS_DAP_PACKET_SIZE]; variable 273 net_buf_add_mem(buf, rx_buf, MIN(size, CONFIG_CMSIS_DAP_PACKET_SIZE)); in dapusb_read_cb() 277 usb_transfer(ep, rx_buf, sizeof(rx_buf), USB_TRANS_READ, dapusb_read_cb, cfg); in dapusb_read_cb()
|
/Zephyr-latest/subsys/shell/backends/ |
D | shell_websocket.c | 121 buf_left = sizeof(ws->rx_buf) - ws->rx_len; in ws_recv() 129 buf = ws->rx_buf + ws->rx_len; in ws_recv() 355 memcpy(data, ws->rx_buf, read_len); in sh_read() 360 memmove(ws->rx_buf, ws->rx_buf + read_len, ws->rx_len); in sh_read()
|
/Zephyr-latest/drivers/adc/ |
D | adc_max11102_17.c | 48 const struct spi_buf rx_buf[] = {{ in max11102_17_switch_channel() local 53 .buffers = rx_buf, in max11102_17_switch_channel() 54 .count = ARRAY_SIZE(rx_buf), in max11102_17_switch_channel() 220 const struct spi_buf rx_buf[] = {{ in max11102_17_read_sample() local 225 .buffers = rx_buf, in max11102_17_read_sample() 226 .count = ARRAY_SIZE(rx_buf), in max11102_17_read_sample()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_enc28j60.c | 56 const struct spi_buf rx_buf = { in eth_enc28j60_set_bank() local 65 .buffers = &rx_buf, in eth_enc28j60_set_bank() 116 struct spi_buf rx_buf = { in eth_enc28j60_read_reg() local 120 .buffers = &rx_buf, in eth_enc28j60_read_reg() 129 rx_buf.len = rx_size; in eth_enc28j60_read_reg() 242 struct spi_buf rx_buf[2] = { in eth_enc28j60_read_mem() local 249 .buffers = rx_buf, in eth_enc28j60_read_mem() 261 rx_buf[1].buf = data_buffer; in eth_enc28j60_read_mem() 262 rx_buf[1].len = MAX_BUFFER_LENGTH; in eth_enc28j60_read_mem() 271 rx_buf[1].buf = data_buffer; in eth_enc28j60_read_mem() [all …]
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_ad559x_spi.c | 23 struct spi_buf rx_buf[] = {{.buf = val, .len = len}}; in mfd_ad559x_spi_read_raw() local 25 const struct spi_buf_set rx = {.buffers = rx_buf, .count = 1}; in mfd_ad559x_spi_read_raw()
|
/Zephyr-latest/include/zephyr/shell/ |
D | shell_rpmsg.h | 49 struct shell_rpmsg_rx rx_buf[CONFIG_SHELL_RPMSG_MAX_RX]; member
|
/Zephyr-latest/drivers/sensor/ti/ina3221/ |
D | ina3221.c | 26 uint8_t rx_buf[2]; in reg_read() local 29 rc = i2c_write_read_dt(&cfg->bus, ®_addr, sizeof(reg_addr), rx_buf, sizeof(rx_buf)); in reg_read() 31 *reg_data = sys_get_be16(rx_buf); in reg_read()
|
/Zephyr-latest/drivers/sensor/st/lsm6dsl/ |
D | lsm6dsl_spi.c | 36 const struct spi_buf rx_buf[2] = { in lsm6dsl_raw_read() local 47 .buffers = rx_buf, in lsm6dsl_raw_read()
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_cp.c | 568 len = osdp_phy_packet_init(pd, pd->rx_buf, sizeof(pd->rx_buf)); in cp_build_packet() 574 ret = cp_build_command(pd, pd->rx_buf, sizeof(pd->rx_buf)); in cp_build_packet() 581 len = osdp_phy_packet_finalize(pd, pd->rx_buf, len, sizeof(pd->rx_buf)); in cp_build_packet() 600 ret = pd->channel.send(pd->channel.data, pd->rx_buf, pd->rx_buf_len); in cp_send_command() 610 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_send_command() 622 buf = pd->rx_buf + pd->rx_buf_len; in cp_process_reply() 623 remaining = sizeof(pd->rx_buf) - pd->rx_buf_len; in cp_process_reply() 634 osdp_dump(NULL, pd->rx_buf, pd->rx_buf_len); in cp_process_reply() 638 err = osdp_phy_check_packet(pd, pd->rx_buf, pd->rx_buf_len, &len); in cp_process_reply() 655 len = osdp_phy_decode_packet(pd, pd->rx_buf, len, &buf); in cp_process_reply() [all …]
|