/Zephyr-latest/drivers/stepper/adi_tmc/ |
D | adi_tmc_spi.c | 29 static void print_tx_rx_buffer(const uint8_t *const tx_buffer, const uint8_t *const rx_buffer) in print_tx_rx_buffer() argument 31 LOG_HEXDUMP_DBG(tx_buffer, BUFFER_SIZE, "TX: "); in print_tx_rx_buffer() 38 uint8_t tx_buffer[BUFFER_SIZE] = {read_address_mask & register_address, 0U, 0U, 0U, 0U}; in tmc_spi_read_register() local 43 .buf = &tx_buffer, in tmc_spi_read_register() 44 .len = sizeof(tx_buffer), in tmc_spi_read_register() 66 print_tx_rx_buffer(tx_buffer, rx_buffer); in tmc_spi_read_register() 78 print_tx_rx_buffer(tx_buffer, rx_buffer); in tmc_spi_read_register() 86 uint8_t tx_buffer[BUFFER_SIZE] = {write_bit | register_address, data >> 24, data >> 16, in tmc_spi_write_register() local 92 .buf = &tx_buffer, in tmc_spi_write_register() 93 .len = sizeof(tx_buffer), in tmc_spi_write_register() [all …]
|
/Zephyr-latest/drivers/sensor/ens160/ |
D | ens160_spi.c | 23 uint8_t tx_buffer = (reg << 1) | ENS160_SPI_READ_BIT; in ens160_read_reg_spi() local 26 .buf = &tx_buffer, in ens160_read_reg_spi() 58 uint8_t tx_buffer = (start << 1) | ENS160_SPI_READ_BIT; in ens160_read_data_spi() local 61 .buf = &tx_buffer, in ens160_read_data_spi() 93 uint8_t tx_buffer = reg << 1; in ens160_write_reg_spi() local 97 .buf = &tx_buffer, in ens160_write_reg_spi() 118 uint8_t tx_buffer = reg << 1; in ens160_write_data_spi() local 122 .buf = &tx_buffer, in ens160_write_data_spi()
|
/Zephyr-latest/drivers/sensor/tdk/icm42605/ |
D | icm42605_spi.c | 44 unsigned char tx_buffer[2] = { 0, }; in inv_spi_read() local 46 tx_buffer[0] = 0x80 | reg; in inv_spi_read() 49 .buf = tx_buffer, in inv_spi_read() 59 .buf = tx_buffer, in inv_spi_read()
|
/Zephyr-latest/samples/boards/nordic/nrfx_prs/src/ |
D | main.c | 298 static const uint8_t tx_buffer[] = "Nordic Semiconductor"; in background_transfer() local 299 static uint8_t rx_buffer[sizeof(tx_buffer)]; in background_transfer() 309 .buf = (void *)tx_buffer, in background_transfer() 310 .len = sizeof(tx_buffer) in background_transfer() 345 static uint8_t tx_buffer[TRANSFER_LENGTH]; in main() local 346 static uint8_t rx_buffer[sizeof(tx_buffer)]; in main() 391 for (int i = 0; i < sizeof(tx_buffer); ++i) { in main() 392 tx_buffer[i] = fill_value++; in main() 395 ? spim_transfer(tx_buffer, in main() 396 sizeof(tx_buffer), in main() [all …]
|
/Zephyr-latest/modules/nrf_wifi/bus/ |
D | spi_if.c | 88 uint8_t tx_buffer[6] = { reg_addr }; in spim_read_reg() local 91 .buf = tx_buffer, in spim_read_reg() 92 .len = sizeof(tx_buffer) in spim_read_reg() 122 uint8_t tx_buffer[] = { reg_addr, reg_value }; in spim_write_reg() local 124 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_write_reg() 217 uint8_t tx_buffer[] = { 0x3f, 0x0 }; in spim_cmd_sleep_rpu() local 219 const struct spi_buf tx_buf = { .buf = tx_buffer, .len = sizeof(tx_buffer) }; in spim_cmd_sleep_rpu()
|
/Zephyr-latest/samples/drivers/peci/src/ |
D | main.c | 44 packet.tx_buffer.buf = NULL; in peci_ping() 45 packet.tx_buffer.len = PECI_PING_WR_LEN; in peci_ping() 72 packet.tx_buffer.buf = peci_req_buf; in peci_get_tjmax() 73 packet.tx_buffer.len = PECI_RD_PKG_WR_LEN; in peci_get_tjmax() 109 packet.tx_buffer.buf = NULL; in peci_get_temp() 110 packet.tx_buffer.len = PECI_GET_TEMP_WR_LEN; in peci_get_temp()
|
/Zephyr-latest/tests/kernel/pipe/pipe/src/ |
D | test_pipe.c | 26 ZTEST_BMEM uint8_t tx_buffer[PIPE_SIZE + 1]; variable 43 #define ALL_BYTES (sizeof(tx_buffer)) 153 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_single() 227 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_multiple() 303 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 319 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 332 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_forever_wait() 407 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_timeout() 421 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_timeout() 436 return_value = k_pipe_put(&test_pipe, &tx_buffer, in pipe_put_timeout() [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_shell.c | 42 uint8_t tx_buffer[MAX_SPI_BYTES] = {0}; in cmd_spi_transceive() local 52 tx_buffer[i] = strtol(argv[TXRX_ARGV_BYTES + i], NULL, 16); in cmd_spi_transceive() 55 const struct spi_buf tx_buffers = {.buf = tx_buffer, .len = bytes_to_send}; in cmd_spi_transceive() 69 shell_hexdump(ctx, tx_buffer, bytes_to_send); in cmd_spi_transceive()
|
D | spi_nrfx_spim.c | 63 uint8_t *tx_buffer; member 426 memcpy(dev_data->tx_buffer, tx_buf, chunk_len); in transfer_next_chunk() 429 sys_cache_data_flush_range(dev_data->tx_buffer, chunk_len); in transfer_next_chunk() 432 tx_buf = dev_data->tx_buffer; in transfer_next_chunk() 802 (.tx_buffer = spim_##idx##_tx_buffer, \
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_b91.c | 186 data.tx_buffer[0] = rf_tx_dma_len & 0xff; in b91_set_tx_payload() 187 data.tx_buffer[1] = (rf_tx_dma_len >> 8) & 0xff; in b91_set_tx_payload() 188 data.tx_buffer[2] = (rf_tx_dma_len >> 16) & 0xff; in b91_set_tx_payload() 189 data.tx_buffer[3] = (rf_tx_dma_len >> 24) & 0xff; in b91_set_tx_payload() 190 data.tx_buffer[4] = payload_len + IEEE802154_FCS_LENGTH; in b91_set_tx_payload() 191 memcpy(data.tx_buffer + B91_PAYLOAD_OFFSET, payload, payload_len); in b91_set_tx_payload() 257 rf_tx_pkt(data.tx_buffer); in b91_send_ack() 557 rf_tx_pkt(data.tx_buffer); in b91_tx()
|
D | ieee802154_b91.h | 95 uint8_t tx_buffer[B91_TRX_LENGTH]; member
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_spi.c | 35 uint8_t tx_buffer = REG_SPI_READ_BIT | reg; in spi_read_register() local 38 .buf = &tx_buffer, in spi_read_register()
|
/Zephyr-latest/samples/boards/enjoydigital/litex/i2s/src/ |
D | main.c | 29 static char tx_buffer[AUDIO_FRAME_BUF_BYTES * I2S_PLAY_BUF_COUNT]; variable 67 k_mem_slab_init(&i2s_tx_mem_slab, tx_buffer, AUDIO_FRAME_BUF_BYTES, in init()
|
/Zephyr-latest/drivers/serial/ |
D | uart_nrfx_uart.c | 64 const uint8_t *volatile tx_buffer; member 238 while (uart0_cb.tx_buffer) { in uart_nrfx_poll_out() 426 uart0_cb.tx_buffer = buf; in uart_nrfx_tx() 434 uint8_t txd = uart0_cb.tx_buffer[uart0_cb.tx_counter]; in uart_nrfx_tx() 455 .data.tx.buf = uart0_cb.tx_buffer, in uart_nrfx_tx_abort() 651 uint8_t txd = uart0_cb.tx_buffer[uart0_cb.tx_counter]; in tx_isr() 664 .data.tx.buf = uart0_cb.tx_buffer, in tx_isr() 670 uart0_cb.tx_buffer = NULL; in tx_isr() 771 evt.data.tx.buf = uart0_cb.tx_buffer; in tx_timeout()
|
D | uart_renesas_ra8_sci_b.c | 69 uint8_t *tx_buffer; member 553 .data.tx.buf = (uint8_t *)data->tx_buffer, in async_update_tx_buffer() 558 data->tx_buffer = NULL; in async_update_tx_buffer() 569 .data.tx.buf = (uint8_t *)data->tx_buffer, in async_tx_abort() 575 data->tx_buffer = NULL; in async_tx_abort() 637 data->tx_buffer = (uint8_t *)buf; in uart_ra_sci_b_async_tx()
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | hci_stm32wba.c | 306 uint8_t tx_buffer[BLE_CTRLR_STACK_BUFFER_SIZE]; in bt_hci_stm32wba_send() local 331 memcpy(&tx_buffer, buf->data, buf->len); in bt_hci_stm32wba_send() 333 event_length = BleStack_Request(tx_buffer); in bt_hci_stm32wba_send() 337 receive_data(dev, (uint8_t *)&tx_buffer, (size_t)event_length, NULL, 0); in bt_hci_stm32wba_send()
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 25 static uint8_t tx_buffer[APP_MQTT_BUFFER_SIZE]; variable 176 client->tx_buf = tx_buffer; in client_init() 177 client->tx_buf_size = sizeof(tx_buffer); in client_init()
|
/Zephyr-latest/samples/net/secure_mqtt_sensor_actuator/src/ |
D | mqtt_client.c | 21 static uint8_t tx_buffer[CONFIG_NET_SAMPLE_MQTT_PAYLOAD_SIZE]; variable 482 client->tx_buf = tx_buffer; in app_mqtt_init() 483 client->tx_buf_size = sizeof(tx_buffer); in app_mqtt_init()
|
/Zephyr-latest/samples/net/mqtt_publisher/src/ |
D | main.c | 34 static APP_BMEM uint8_t tx_buffer[APP_MQTT_BUFFER_SIZE]; variable 316 client->tx_buf = tx_buffer; in client_init() 317 client->tx_buf_size = sizeof(tx_buffer); in client_init()
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | mqtt.rst | 41 static uint8_t tx_buffer[256]; 91 client_ctx.tx_buf = tx_buffer; 92 client_ctx.tx_buf_size = sizeof(tx_buffer);
|
/Zephyr-latest/include/zephyr/drivers/ |
D | peci.h | 235 struct peci_buf tx_buffer; member
|
/Zephyr-latest/samples/net/cloud/aws_iot_mqtt/src/ |
D | main.c | 43 static uint8_t tx_buffer[MQTT_BUFFER_SIZE]; variable 258 client_ctx.tx_buf = tx_buffer; in aws_client_setup()
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_mss.c | 182 static int mss_i2c_write(const struct device *dev, uint8_t serial_addr, uint8_t *tx_buffer, in mss_i2c_write() argument 198 data->controller_tx_buffer = tx_buffer; in mss_i2c_write()
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_xlnx_gem_priv.h | 500 uint8_t tx_buffer\ 528 dev_data->first_tx_buffer = (uint8_t *)eth_xlnx_gem##port##_dma_area.tx_buffer;\
|
/Zephyr-latest/tests/net/lib/mqtt/v3_1_1/mqtt_client/src/ |
D | main.c | 28 static uint8_t tx_buffer[BUFFER_SIZE]; variable 573 client->tx_buf = tx_buffer; in client_init() 574 client->tx_buf_size = sizeof(tx_buffer); in client_init()
|