Lines Matching full:baudrate
45 /* Default BAUDRATE */
67 static int bt_hci_uart_set_baudrate(const struct device *bt_uart_dev, uint32_t baudrate) in bt_hci_uart_set_baudrate() argument
78 if (uart_cfg.baudrate != baudrate) { in bt_hci_uart_set_baudrate()
80 uart_cfg.baudrate = baudrate; in bt_hci_uart_set_baudrate()
92 static int bt_update_controller_baudrate(const struct device *bt_uart_dev, uint32_t baudrate) in bt_update_controller_baudrate() argument
95 * NOTE from datasheet for update baudrate: in bt_update_controller_baudrate()
112 /* Baudrate is loaded LittleEndian */ in bt_update_controller_baudrate()
115 hci_data[2] = (uint8_t)(baudrate & 0xFFUL); in bt_update_controller_baudrate()
116 hci_data[3] = (uint8_t)((baudrate >> 8) & 0xFFUL); in bt_update_controller_baudrate()
117 hci_data[4] = (uint8_t)((baudrate >> 16) & 0xFFUL); in bt_update_controller_baudrate()
118 hci_data[5] = (uint8_t)((baudrate >> 24) & 0xFFUL); in bt_update_controller_baudrate()
120 /* Allocate buffer for update uart baudrate command. in bt_update_controller_baudrate()
133 /* Send update uart baudrate command. */ in bt_update_controller_baudrate()
139 /* Re-configure Uart baudrate */ in bt_update_controller_baudrate()
140 err = bt_hci_uart_set_baudrate(bt_uart_dev, baudrate); in bt_update_controller_baudrate()
258 /* Re-configure baudrate for BT Controller */ in bt_h4_vnd_setup()
275 /* When FW launched, HCI UART baudrate should be configured to default */ in bt_h4_vnd_setup()
289 /* Set host controller functionality to user defined baudrate in bt_h4_vnd_setup()