Searched refs:h4_read (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/samples/bluetooth/hci_uart/src/ |
D | main.c | 65 static int h4_read(const struct device *uart, uint8_t *buf, size_t len) in h4_read() function 126 read = h4_read(hci_uart_dev, &type, sizeof(type)); in rx_isr() 143 read = h4_read(hci_uart_dev, in rx_isr() 175 read = h4_read(hci_uart_dev, net_buf_tail(buf), in rx_isr() 191 read = h4_read(hci_uart_dev, discard, to_read); in rx_isr()
|
/Zephyr-latest/samples/boards/st/bluetooth/interactive_gui/src/ |
D | main.c | 159 static int h4_read(const struct device *uart, uint8_t *buf, size_t len) in h4_read() function 252 read = h4_read(hci_uart_dev, &type, sizeof(type)); in rx_isr() 269 read = h4_read(hci_uart_dev, &hdr_buf[hdr_len(type) - remaining], in rx_isr() 311 read = h4_read(hci_uart_dev, net_buf_tail(buf), remaining); in rx_isr() 325 read = h4_read(hci_uart_dev, discard, to_read); in rx_isr()
|