Lines Matching defs:lcr_h
287 unsigned int lcr_h;
757 unsigned int lcr_h, baud, quot, cflag, old_rcr, old_tcr, bits;
768 case CS7: lcr_h = _LCR_PE_DISABLE | _LCR_DB_7_BITS | _LCR_SB_1_BIT; bits = 9; break;
769 default: lcr_h = _LCR_PE_DISABLE | _LCR_DB_8_BITS | _LCR_SB_1_BIT; bits = 10; break; // CS8
772 lcr_h |= _LCR_SB_2_BIT;
776 lcr_h |= _LCR_PE_ENABLE;
779 lcr_h |= _LCR_PTY_ODD;
781 lcr_h |= _LCR_PTY_EVEN;
898 writeb(lcr_h, info->port->uart_base + BL_SICC_LCR);
1257 unsigned int lcr_h;
1262 lcr_h = readb(info->port + BL_SICC_LSR);
1264 lcr_h |= _LSR_LB_MASK;
1266 lcr_h &= ~_LSR_LB_MASK;
1267 writeb(lcr_h, info->port + BL_SICC_LSRS);
1862 u_int lcr_h, quot;
1896 case 7: cflag |= CS7; lcr_h = _LCR_PE_DISABLE | _LCR_DB_7_BITS | _LCR_SB_1_BIT; break;
1897 default: cflag |= CS8; lcr_h = _LCR_PE_DISABLE | _LCR_DB_8_BITS | _LCR_SB_1_BIT; break;
1901 case 'O': cflag |= PARODD; lcr_h |= _LCR_PTY_ODD; break;
1903 case 'E': cflag |= PARENB; lcr_h |= _LCR_PE_ENABLE | _LCR_PTY_ODD; break;
1946 writeb(lcr_h, port->uart_base + BL_SICC_LCR);