Lines Matching refs:cfg_baud
87 uint8_t userial_to_tcio_baud(uint8_t cfg_baud, uint32_t *baud) in userial_to_tcio_baud() argument
89 if (cfg_baud == USERIAL_BAUD_115200) in userial_to_tcio_baud()
91 else if (cfg_baud == USERIAL_BAUD_4M) in userial_to_tcio_baud()
93 else if (cfg_baud == USERIAL_BAUD_3M) in userial_to_tcio_baud()
95 else if (cfg_baud == USERIAL_BAUD_2M) in userial_to_tcio_baud()
97 else if (cfg_baud == USERIAL_BAUD_1M) in userial_to_tcio_baud()
99 else if (cfg_baud == USERIAL_BAUD_921600) in userial_to_tcio_baud()
101 else if (cfg_baud == USERIAL_BAUD_460800) in userial_to_tcio_baud()
103 else if (cfg_baud == USERIAL_BAUD_230400) in userial_to_tcio_baud()
105 else if (cfg_baud == USERIAL_BAUD_57600) in userial_to_tcio_baud()
107 else if (cfg_baud == USERIAL_BAUD_19200) in userial_to_tcio_baud()
109 else if (cfg_baud == USERIAL_BAUD_9600) in userial_to_tcio_baud()
111 else if (cfg_baud == USERIAL_BAUD_1200) in userial_to_tcio_baud()
113 else if (cfg_baud == USERIAL_BAUD_600) in userial_to_tcio_baud()
117 ALOGE( "userial vendor open: unsupported baud idx %i", cfg_baud); in userial_to_tcio_baud()