Lines Matching refs:stopbits
286 opt->stopbits > 2 + 255 || in usart_init_rs232()
305 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232()
310 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232()
314 usart->mr |= opt->stopbits << AVR32_USART_MR_NBSTOP_OFFSET; in usart_init_rs232()
338 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_rs232_tx_only()
357 if (opt->stopbits > USART_2_STOPBITS) in usart_init_rs232_tx_only()
362 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_rs232_tx_only()
366 usart->mr |= opt->stopbits << AVR32_USART_MR_NBSTOP_OFFSET; in usart_init_rs232_tx_only()
418 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_master()
437 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_master()
442 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_master()
446 usart->mr |= opt->stopbits << AVR32_USART_MR_NBSTOP_OFFSET; in usart_init_sync_master()
471 opt->stopbits == 1 || opt->stopbits > 2 + 255 || in usart_init_sync_slave()
490 if (opt->stopbits > USART_2_STOPBITS) in usart_init_sync_slave()
495 usart->ttgr = opt->stopbits - USART_2_STOPBITS; in usart_init_sync_slave()
499 usart->mr |= opt->stopbits << AVR32_USART_MR_NBSTOP_OFFSET; in usart_init_sync_slave()