Searched refs:GetUartSpeed (Results 1 – 6 of 6) sorted by relevance
24 return static_cast<int32_t>(GetUartSpeed(static_cast<int>(speed))); in GetUartSpeedExt()
94 int GetUartSpeed(int speed);
319 int GetUartSpeed(int speed) { function408 newttys1.c_cflag = GetUartSpeed(nSpeed);
643 HWTEST_F(HdcUARTBaseTest, GetUartSpeed, TestSize.Level1)645 EXPECT_EQ(mockUARTBase.GetUartSpeed(UART_SPEED2400), B2400);646 EXPECT_EQ(mockUARTBase.GetUartSpeed(UART_SPEED4800), B4800);647 EXPECT_EQ(mockUARTBase.GetUartSpeed(UART_SPEED9600), B9600);648 EXPECT_EQ(mockUARTBase.GetUartSpeed(UART_SPEED115200), B115200);649 EXPECT_EQ(mockUARTBase.GetUartSpeed(UART_SPEED921600), B921600);650 EXPECT_EQ(mockUARTBase.GetUartSpeed(-1), B921600);
202 int GetUartSpeed(int speed);
96 int HdcUARTBase::GetUartSpeed(int speed) in GetUartSpeed() function in Hdc::HdcUARTBase187 newttys1.c_cflag = GetUartSpeed(nSpeed); in SetSerial()