Home
last modified time | relevance | path

Searched refs:len_val (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/xen/xen-pciback/
Dconf_space_header.c22 u32 len_val; member
220 *value = bar->which ? bar->len_val : bar->val; in bar_read()
240 bar->len_val = -resource_size(&res[pos - 1]) >> 32; in bar_init()
252 bar->len_val = -resource_size(&res[pos]) | in bar_init()
/Linux-v5.10/drivers/tty/serial/
Dsirfsoc_uart.c709 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()
[all …]