Home
last modified time | relevance | path

Searched refs:SPI_MAX_MSG_LEN (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/bluetooth/hci_spi/src/
Dmain.c52 #define SPI_MAX_MSG_LEN 255 macro
54 static uint8_t rxmsg[SPI_MAX_MSG_LEN];
61 static uint8_t txmsg[SPI_MAX_MSG_LEN];
125 if (buf->len > SPI_MAX_MSG_LEN) { in spi_send()
181 (void)memset(txmsg, 0xFF, SPI_MAX_MSG_LEN); in bt_tx_thread()
206 tx.len = SPI_MAX_MSG_LEN; in bt_tx_thread()
208 rx.len = SPI_MAX_MSG_LEN; in bt_tx_thread()
/Zephyr-latest/drivers/bluetooth/hci/
Dspi.c54 #define SPI_MAX_MSG_LEN 255 /* As defined by X-NUCLEO-IDB04A1 BSP */ macro
62 #define MAX_MTU (SPI_MAX_MSG_LEN - H4_HDR_SIZE - BT_L2CAP_HDR_SIZE - BT_HCI_ACL_HDR_SIZE)
73 static uint8_t __noinit rxmsg[SPI_MAX_MSG_LEN];
74 static uint8_t __noinit txmsg[SPI_MAX_MSG_LEN];
177 *size = (reading ? header_slave[size_offset] : SPI_MAX_MSG_LEN); in bt_spi_get_header()
253 (void)memset(&txmsg, 0xFF, SPI_MAX_MSG_LEN); in bt_spi_rx_thread()
313 if (buf->len >= SPI_MAX_MSG_LEN) { in bt_spi_send()
Dhci_spi_st.c59 #define SPI_MAX_MSG_LEN 259 macro
65 #define MAX_MTU (SPI_MAX_MSG_LEN - H4_HDR_SIZE - BT_L2CAP_HDR_SIZE - BT_HCI_ACL_HDR_SIZE)
72 static uint8_t __noinit rxmsg[SPI_MAX_MSG_LEN];
73 static uint8_t __noinit txmsg[SPI_MAX_MSG_LEN];
514 (void)memset(&txmsg, 0xFF, SPI_MAX_MSG_LEN); in bt_spi_rx_thread()
567 if (buf->len >= SPI_MAX_MSG_LEN) { in bt_spi_send()