Lines Matching refs:tx_frame
145 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()
247 reg_base->SPIP_DATA = tx_frame; in spi_npcx_spip_isr()