Searched refs:header_slave (Results 1 – 3 of 3) sorted by relevance
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/ |
D | spi.c | 149 uint8_t header_slave[5]; in bt_spi_get_header() local 163 ret = bt_spi_transceive(header_master, 5, header_slave, 5); in bt_spi_get_header() 169 loop_cond = header_slave[STATUS_HEADER_TOREAD] == 0U; in bt_spi_get_header() 172 loop_cond = ((header_slave[1] | header_slave[2] | header_slave[3] | in bt_spi_get_header() 173 header_slave[4]) == 0U); in bt_spi_get_header() 175 } while ((header_slave[STATUS_HEADER_READY] != READY_NOW) || loop_cond); in bt_spi_get_header() 177 *size = (reading ? header_slave[size_offset] : SPI_MAX_MSG_LEN); in bt_spi_get_header()
|
D | hci_spi_st.c | 223 uint8_t header_slave[5]; in bt_spi_get_header() local 249 ret = bt_spi_transceive(header_master, 5, header_slave, 5); in bt_spi_get_header() 255 *size = (header_slave[STATUS_HEADER_READY] == READY_NOW) ? in bt_spi_get_header() 256 header_slave[size_offset] : 0; in bt_spi_get_header() 284 uint8_t header_slave[5]; in bt_spi_get_header() local 310 bt_spi_transceive(header_master, 0, header_slave, 0); in bt_spi_get_header() 319 ret = bt_spi_transceive(header_master, 5, header_slave, 5); in bt_spi_get_header() 320 *size = header_slave[size_offset] | (header_slave[size_offset + 1] << 8); in bt_spi_get_header()
|
/Zephyr-Core-3.7.0/samples/bluetooth/hci_spi/src/ |
D | main.c | 106 uint8_t header_slave[5] = { READY_NOW, SANITY_CHECK, in spi_send() local 130 header_slave[STATUS_HEADER_TOREAD] = buf->len; in spi_send() 137 tx.buf = header_slave; in spi_send() 166 uint8_t header_slave[5] = { READY_NOW, SANITY_CHECK, in bt_tx_thread() local 184 tx.buf = header_slave; in bt_tx_thread()
|