Lines Matching full:baudrate

43 /* Default BAUDRATE */
65 static int bt_hci_uart_set_baudrate(const struct device *bt_uart_dev, uint32_t baudrate) in bt_hci_uart_set_baudrate() argument
76 if (uart_cfg.baudrate != baudrate) { in bt_hci_uart_set_baudrate()
78 uart_cfg.baudrate = baudrate; in bt_hci_uart_set_baudrate()
90 static int bt_update_controller_baudrate(const struct device *bt_uart_dev, uint32_t baudrate) in bt_update_controller_baudrate() argument
93 * NOTE from datasheet for update baudrate: in bt_update_controller_baudrate()
110 /* Baudrate is loaded LittleEndian */ in bt_update_controller_baudrate()
113 hci_data[2] = (uint8_t)(baudrate & 0xFFUL); in bt_update_controller_baudrate()
114 hci_data[3] = (uint8_t)((baudrate >> 8) & 0xFFUL); in bt_update_controller_baudrate()
115 hci_data[4] = (uint8_t)((baudrate >> 16) & 0xFFUL); in bt_update_controller_baudrate()
116 hci_data[5] = (uint8_t)((baudrate >> 24) & 0xFFUL); in bt_update_controller_baudrate()
118 /* Allocate buffer for update uart baudrate command. in bt_update_controller_baudrate()
131 /* Send update uart baudrate command. */ in bt_update_controller_baudrate()
137 /* Re-configure Uart baudrate */ in bt_update_controller_baudrate()
138 err = bt_hci_uart_set_baudrate(bt_uart_dev, baudrate); in bt_update_controller_baudrate()
252 /* Re-configure baudrate for BT Controller */ in bt_h4_vnd_setup()
269 /* When FW launched, HCI UART baudrate should be configured to default */ in bt_h4_vnd_setup()
283 /* Set host controller functionality to user defined baudrate in bt_h4_vnd_setup()