Home
last modified time | relevance | path

Searched refs:tx_frame (Results 1 – 11 of 11) sorted by relevance

/Zephyr-latest/drivers/ieee802154/
Dieee802154_mcxw.c371 mcxw_radio->tx_frame.length = payload_len + IEEE802154_FCS_LENGTH; in mcxw_tx()
372 memcpy(mcxw_radio->tx_frame.psdu, payload, payload_len); in mcxw_tx()
374 mcxw_radio->tx_frame.sec_processed = net_pkt_ieee802154_frame_secured(pkt); in mcxw_tx()
375 mcxw_radio->tx_frame.hdr_updated = net_pkt_ieee802154_mac_hdr_rdy(pkt); in mcxw_tx()
381 msg->msgData.dataReq.psduLength = mcxw_radio->tx_frame.length; in mcxw_tx()
388 msg->msgData.dataReq.pPsdu = mcxw_radio->tx_frame.psdu; in mcxw_tx()
395 (3 + mcxw_radio->tx_frame.length) * RADIO_SYMBOLS_PER_OCTET + in mcxw_tx()
423 mcxw_radio->tx_frame.tx_delay = net_pkt_timestamp_ns(pkt); in mcxw_tx()
425 rf_adjust_tstamp_from_app(mcxw_radio->tx_frame.tx_delay); in mcxw_tx()
436 if (is_keyid_mode_1(mcxw_radio->tx_frame.psdu, mcxw_radio->tx_frame.length)) { in mcxw_tx()
[all …]
Dieee802154_mcxw.h108 mcxw_tx_frame tx_frame; member
/Zephyr-latest/drivers/spi/
Dspi_npcx_spip.c145 static void spi_npcx_spip_process_tx_buf(struct spi_npcx_spip_data *const data, uint16_t *tx_frame) in spi_npcx_spip_process_tx_buf() argument
150 *tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_npcx_spip_process_tx_buf()
152 *tx_frame = UNALIGNED_GET((uint16_t *)(data->ctx.tx_buf)); in spi_npcx_spip_process_tx_buf()
180 uint16_t tx_frame = SPI_NPCX_SPIP_TX_NOP; in spi_npcx_spip_xfer_frame() local
183 spi_npcx_spip_process_tx_buf(data, &tx_frame); in spi_npcx_spip_xfer_frame()
191 reg_base->SPIP_DATA = tx_frame; in spi_npcx_spip_xfer_frame()
218 uint16_t tx_frame = SPI_NPCX_SPIP_TX_NOP; in spi_npcx_spip_isr() local
227 spi_npcx_spip_process_tx_buf(data, &tx_frame); in spi_npcx_spip_isr()
228 reg_base->SPIP_DATA = tx_frame; in spi_npcx_spip_isr()
246 spi_npcx_spip_process_tx_buf(data, &tx_frame); in spi_npcx_spip_isr()
[all …]
Dspi_silabs_usart.c242 uint8_t tx_frame = 0; in spi_silabs_usart_next_tx() local
245 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_silabs_usart_next_tx()
248 return tx_frame; in spi_silabs_usart_next_tx()
254 uint8_t tx_frame; in spi_silabs_usart_shift_frames() local
257 tx_frame = spi_silabs_usart_next_tx(data); in spi_silabs_usart_shift_frames()
258 spi_silabs_usart_send(usart, tx_frame); in spi_silabs_usart_shift_frames()
Dspi_numaker.c145 uint32_t tx_frame, rx_frame; in spi_numaker_txrx() local
174 tx_frame = ((ctx->tx_buf == NULL) ? SPI_NUMAKER_TX_NOP in spi_numaker_txrx()
177 SPI_WRITE_TX(dev_cfg->spi, tx_frame); in spi_numaker_txrx()
189 LOG_DBG("%s --> TX [0x%x] done", __func__, tx_frame); in spi_numaker_txrx()
Dspi_silabs_eusart.c522 uint8_t tx_frame = 0; in spi_silabs_eusart_next_tx() local
525 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_silabs_eusart_next_tx()
528 return tx_frame; in spi_silabs_eusart_next_tx()
534 uint8_t tx_frame; in spi_silabs_eusart_shift_frames() local
537 tx_frame = spi_silabs_eusart_next_tx(data); in spi_silabs_eusart_shift_frames()
538 spi_silabs_eusart_send(eusart, tx_frame); in spi_silabs_eusart_shift_frames()
Dspi_ll_stm32.c317 uint32_t tx_frame = SPI_STM32_TX_NOP; in spi_stm32_send_next_frame() local
321 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_stm32_send_next_frame()
323 LL_SPI_TransmitData8(spi, tx_frame); in spi_stm32_send_next_frame()
327 tx_frame = UNALIGNED_GET((uint16_t *)(data->ctx.tx_buf)); in spi_stm32_send_next_frame()
329 LL_SPI_TransmitData16(spi, tx_frame); in spi_stm32_send_next_frame()
425 uint16_t tx_frame; in spi_stm32_shift_s() local
428 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_stm32_shift_s()
429 LL_SPI_TransmitData8(spi, tx_frame); in spi_stm32_shift_s()
432 tx_frame = UNALIGNED_GET((uint16_t *)(data->ctx.tx_buf)); in spi_stm32_shift_s()
433 LL_SPI_TransmitData16(spi, tx_frame); in spi_stm32_shift_s()
Dspi_gd32.c199 uint16_t tx_frame = 0U, rx_frame = 0U; in spi_gd32_frame_exchange() local
207 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_gd32_frame_exchange()
210 SPI_DATA(cfg->reg) = tx_frame; in spi_gd32_frame_exchange()
215 tx_frame = UNALIGNED_GET((uint8_t *)(data->ctx.tx_buf)); in spi_gd32_frame_exchange()
217 SPI_DATA(cfg->reg) = tx_frame; in spi_gd32_frame_exchange()
/Zephyr-latest/drivers/ethernet/
Deth_xmc4xxx.c188 struct eth_xmc4xxx_tx_frame *tx_frame = SYS_SLIST_CONTAINER(node, tx_frame, node); in eth_xmc4xxx_flush_tx() local
190 net_pkt_unref(tx_frame->pkt); in eth_xmc4xxx_flush_tx()
191 k_mem_slab_free(&tx_frame_slab, (void *)tx_frame); in eth_xmc4xxx_flush_tx()
233 struct eth_xmc4xxx_tx_frame *tx_frame; in eth_xmc4xxx_send() local
257 ret = k_mem_slab_alloc(&tx_frame_slab, (void **)&tx_frame, K_NO_WAIT); in eth_xmc4xxx_send()
265 tx_frame->pkt = pkt; in eth_xmc4xxx_send()
266 tx_frame->tail_index = dev_data->dma_desc_tx_head; in eth_xmc4xxx_send()
273 k_mem_slab_free(&tx_frame_slab, (void **)&tx_frame); in eth_xmc4xxx_send()
315 tx_frame->head_index = dev_data->dma_desc_tx_head; in eth_xmc4xxx_send()
325 k_mem_slab_free(&tx_frame_slab, (void **)&tx_frame); in eth_xmc4xxx_send()
[all …]
/Zephyr-latest/drivers/watchdog/
Dwdt_nxp_fs26.c150 struct fs26_spi_tx_frame *tx_frame, in fs26_spi_transceive() argument
176 tx_buf = (uint32_t)(FS26_SET_REG_ADDR(tx_frame->addr) in fs26_spi_transceive()
177 | FS26_SET_DATA(tx_frame->data) in fs26_spi_transceive()
178 | (tx_frame->write ? FS26_RW : 0)); in fs26_spi_transceive()
225 struct fs26_spi_tx_frame tx_frame = { in fs26_getreg() local
231 return fs26_spi_transceive(spi, &tx_frame, rx_frame); in fs26_getreg()
245 struct fs26_spi_tx_frame tx_frame = { in fs26_setreg() local
251 return fs26_spi_transceive(spi, &tx_frame, NULL); in fs26_setreg()
/Zephyr-latest/drivers/can/
Dcan_mcp2515.c538 uint8_t tx_frame[MCP2515_FRAME_LEN]; in mcp2515_send() local
579 mcp2515_convert_canframe_to_mcp2515frame(frame, tx_frame); in mcp2515_send()
585 len = sizeof(tx_frame) - CAN_MAX_DLC + frame->dlc; in mcp2515_send()
587 mcp2515_cmd_load_tx_buffer(dev, abc, tx_frame, len); in mcp2515_send()