Home
last modified time | relevance | path

Searched refs:bytes_per_frame (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/drivers/spi/
Dspi_nxp_s32.h32 #define SPI_NXP_S32_MAX_BYTES_PER_PACKAGE(bytes_per_frame) \ argument
33 ((UINT16_MAX / bytes_per_frame) * bytes_per_frame)
42 uint8_t bytes_per_frame; member
Dspi_npcx_spip.c30 uint8_t bytes_per_frame; member
84 data->bytes_per_frame = 1; in spi_npcx_spip_configure()
88 data->bytes_per_frame = 2; in spi_npcx_spip_configure()
149 if (data->bytes_per_frame == 1) { in spi_npcx_spip_process_tx_buf()
159 spi_context_update_tx(&data->ctx, data->bytes_per_frame, 1); in spi_npcx_spip_process_tx_buf()
165 if (data->bytes_per_frame == 1) { in spi_npcx_spip_process_rx_buf()
171 spi_context_update_rx(&data->ctx, data->bytes_per_frame, 1); in spi_npcx_spip_process_rx_buf()
282 spi_context_buffers_setup(ctx, tx_bufs, rx_bufs, data->bytes_per_frame); in transceive()
Dspi_nxp_s32.c56 SPI_NXP_S32_MAX_BYTES_PER_PACKAGE(data->bytes_per_frame)); in spi_nxp_s32_transfer_next_packet()
373 data->bytes_per_frame = SPI_NXP_S32_BYTE_PER_FRAME(frame_size); in spi_nxp_s32_configure()
Dspi_ll_stm32.c742 uint8_t bytes_per_frame = SPI_WORD_SIZE_GET(config->operation) / 8; in spi_stm32_count_bufset_frames() local
744 if ((num_bytes % bytes_per_frame) != 0) { in spi_stm32_count_bufset_frames()
747 return num_bytes / bytes_per_frame; in spi_stm32_count_bufset_frames()