Lines Matching refs:data_rate
1960 if (info->params.data_rate <= 460800) in mgsl_change_params()
1961 info->params.data_rate = tty_get_baud_rate(info->port.tty); in mgsl_change_params()
1963 if ( info->params.data_rate ) { in mgsl_change_params()
1965 info->params.data_rate; in mgsl_change_params()
3152 if ( info->params.data_rate ) { in mgsl_wait_until_sent()
5271 static void usc_enable_aux_clock( struct mgsl_struct *info, u32 data_rate ) in usc_enable_aux_clock() argument
5276 if ( data_rate ) { in usc_enable_aux_clock()
5290 Tc = (u16)(XtalSpeed/data_rate); in usc_enable_aux_clock()
5291 if ( !(((XtalSpeed % data_rate) * 2) / data_rate) ) in usc_enable_aux_clock()
6010 usc_enable_async_clock( info, info->params.data_rate ); in usc_set_async_mode()
6290 static void usc_enable_async_clock( struct mgsl_struct *info, u32 data_rate ) in usc_enable_async_clock() argument
6292 if ( data_rate ) { in usc_enable_async_clock()
6317 usc_OutReg( info, TC0R, (u16)((691200/data_rate) - 1) ); in usc_enable_async_clock()
6319 usc_OutReg( info, TC0R, (u16)((921600/data_rate) - 1) ); in usc_enable_async_clock()