Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/samples/bluetooth/hci_spi/src/
Dmain.c86 static const struct device *const spi_hci_dev = DEVICE_DT_GET(DT_BUS(HCI_SPI_NODE)); variable
142 ret = spi_transceive(spi_hci_dev, &spi_cfg, &tx_bufs, &rx_bufs); in spi_send()
151 ret = spi_write(spi_hci_dev, &spi_cfg, &tx_bufs); in spi_send()
190 ret = spi_transceive(spi_hci_dev, &spi_cfg, in bt_tx_thread()
211 ret = spi_transceive(spi_hci_dev, &spi_cfg, in bt_tx_thread()
267 if (!device_is_ready(spi_hci_dev)) { in hci_spi_init()
268 LOG_ERR("SPI bus %s is not ready", spi_hci_dev->name); in hci_spi_init()