Lines Matching refs:len_val
709 u32 data_bit_len, stop_bit_len, len_val; in sirfsoc_uart_set_termios() local
813 len_val = ((1 << SIRFSOC_USP_MODE2_RXD_DELAY_OFFSET) | in sirfsoc_uart_set_termios()
815 len_val |= ((clk_div_reg & SIRFSOC_USP_MODE2_CLK_DIVISOR_MASK) in sirfsoc_uart_set_termios()
817 wr_regl(port, ureg->sirfsoc_mode2, len_val); in sirfsoc_uart_set_termios()
832 len_val = (data_bit_len - 1) << SIRFSOC_USP_TX_DATA_LEN_OFFSET; in sirfsoc_uart_set_termios()
833 len_val |= (data_bit_len + 1 + stop_bit_len - 1) << in sirfsoc_uart_set_termios()
835 len_val |= ((data_bit_len - 1) << in sirfsoc_uart_set_termios()
837 len_val |= (((clk_div_reg & 0xc00) >> 10) << in sirfsoc_uart_set_termios()
839 wr_regl(port, ureg->sirfsoc_tx_frame_ctrl, len_val); in sirfsoc_uart_set_termios()
841 len_val = (data_bit_len - 1) << SIRFSOC_USP_RX_DATA_LEN_OFFSET; in sirfsoc_uart_set_termios()
842 len_val |= (data_bit_len + 1 + stop_bit_len - 1) << in sirfsoc_uart_set_termios()
844 len_val |= (data_bit_len - 1) << in sirfsoc_uart_set_termios()
846 len_val |= (((clk_div_reg & 0xf000) >> 12) << in sirfsoc_uart_set_termios()
848 wr_regl(port, ureg->sirfsoc_rx_frame_ctrl, len_val); in sirfsoc_uart_set_termios()