Searched refs:baud_value (Results 1 – 1 of 1) sorted by relevance
425 unsigned int baud_value; in AT91F_SSC_SetBaudrate() local430 baud_value = 0; in AT91F_SSC_SetBaudrate()434 baud_value = ( unsigned int ) ( mainClock * 10 ) / ( 2 * speed ); in AT91F_SSC_SetBaudrate()436 if( ( baud_value % 10 ) >= 5 ) in AT91F_SSC_SetBaudrate()438 baud_value = ( baud_value / 10 ) + 1; in AT91F_SSC_SetBaudrate()442 baud_value /= 10; in AT91F_SSC_SetBaudrate()446 pSSC->SSC_CMR = baud_value; in AT91F_SSC_SetBaudrate()2075 unsigned int baud_value = ( ( main_clock * 10 ) / ( baud_rate * 16 ) ); in AT91F_US_Baudrate() local2077 if( ( baud_value % 10 ) >= 5 ) in AT91F_US_Baudrate()2079 baud_value = ( baud_value / 10 ) + 1; in AT91F_US_Baudrate()[all …]