mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-05 10:56:48 +07:00
e4df9a8053
As we can detect when the LCR register is split between TX and RX, we don't need three entries in the table to deal with this. Reduce this down to two entries by converting the REG_ST_LCRH_* entries to standard REG_LCRH_* and remove REG_LCRH. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Reviewed-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
35 lines
426 B
C
35 lines
426 B
C
#ifndef AMBA_PL011_H
|
|
#define AMBA_PL011_H
|
|
|
|
enum {
|
|
REG_DR,
|
|
REG_ST_DMAWM,
|
|
REG_ST_TIMEOUT,
|
|
REG_FR,
|
|
REG_LCRH_RX,
|
|
REG_LCRH_TX,
|
|
REG_IBRD,
|
|
REG_FBRD,
|
|
REG_CR,
|
|
REG_IFLS,
|
|
REG_IMSC,
|
|
REG_RIS,
|
|
REG_MIS,
|
|
REG_ICR,
|
|
REG_DMACR,
|
|
REG_ST_XFCR,
|
|
REG_ST_XON1,
|
|
REG_ST_XON2,
|
|
REG_ST_XOFF1,
|
|
REG_ST_XOFF2,
|
|
REG_ST_ITCR,
|
|
REG_ST_ITIP,
|
|
REG_ST_ABCR,
|
|
REG_ST_ABIMSC,
|
|
|
|
/* The size of the array - must be last */
|
|
REG_ARRAY_SIZE,
|
|
};
|
|
|
|
#endif
|