Home | History | Annotate | Download | only in tools

Lines Matching refs:uart

529 	/* It seems that if we set the CSR UART speed straight away, it
530 * won't work, the CSR UART gets into a state where we can't talk
535 * debugging) and only then set the CSR UART speed. Doing like
537 * The CSR UART control may be slow to wake up or something because
631 fprintf(stderr, "Reading CSR UART speed %d [%s]\n", rlen, temp+1);
648 /* Now, create the command that will set the UART speed */
669 fprintf(stderr, "Writing CSR UART speed %d [%s]\n", clen, temp + 1);
676 /* Send the command to set the CSR UART speed */
710 cmd[8] = 0x01; // HCI Transport Type = UART
757 // 01 Hci Transport type = Uart
780 // now the uart baud rate on the silicon wave module is set and effective.
1037 struct uart_t uart[] = {
1146 for (i = 0; uart[i].type; i++) {
1147 if (uart[i].m_id == m_id && uart[i].p_id == p_id)
1148 return &uart[i];
1156 for (i = 0; uart[i].type; i++) {
1157 if (!strcmp(uart[i].type, type))
1158 return &uart[i];
1163 /* Initialize UART driver */
1231 perror("Can't set UART flags");
1248 printf("hciattach - HCI UART driver initialization utility\n");
1294 for (i = 0; uart[i].type; i++) {
1295 printf("%-10s0x%04x,0x%04x\n", uart[i].type,
1296 uart[i].m_id, uart[i].p_id);