Lines Matching refs:line
48 typedef u32 (*fifo_full_mask)(int line);
49 typedef u32 (*fifo_empty_mask)(int line);
108 u32 usp_ff_full(int line) in usp_ff_full() argument
112 u32 usp_ff_empty(int line) in usp_ff_empty() argument
116 u32 uart_ff_full(int line) in uart_ff_full() argument
118 return (line == 1) ? (0x20) : (0x80); in uart_ff_full()
120 u32 uart_ff_empty(int line) in uart_ff_empty() argument
122 return (line == 1) ? (0x40) : (0x100); in uart_ff_empty()
335 (((port)->line > 2) ? (x & 0xFFFF) : ((x) & 0xFFFF) << 16)
337 #define SIRFUART_FIFO_THD(port) ((port->line) == 1 ? 16 : 64)
342 ((port->line > 2) ? 0 : uint_st->sirfsoc_parity_err))
350 ((port->line > 2) ? 0 : uint_en->sirfsoc_parity_err_en))
361 ((port->line > 2) ? 0 : uint_en->sirfsoc_parity_err_en))
382 #define SIRFUART_TX_FIFO_CHK_SC(line, value) ((((line) == 1) ? (value & 0x3) :\ argument
384 #define SIRFUART_TX_FIFO_CHK_LC(line, value) ((((line) == 1) ? (value & 0x3) :\ argument
386 #define SIRFUART_TX_FIFO_CHK_HC(line, value) ((((line) == 1) ? (value & 0x3) :\ argument
450 #define SIRFUART_FIFOLEVEL_MASK(port) ((port->line == 1) ? (0x1f) : (0x7f))
451 #define SIRFUART_FIFOFULL_MASK(port) ((port->line == 1) ? (0x20) : (0x80))
452 #define SIRFUART_FIFOEMPTY_MASK(port) ((port->line == 1) ? (0x40) : (0x100))