linux/include/linux/serial_bcm63xx.h

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SERIAL_BCM63XX_H
#define _LINUX_SERIAL_BCM63XX_H

/* UART Control Register */
#define UART_CTL_REG
#define UART_CTL_RXTMOUTCNT_SHIFT
#define UART_CTL_RXTMOUTCNT_MASK
#define UART_CTL_RSTTXDN_SHIFT
#define UART_CTL_RSTTXDN_MASK
#define UART_CTL_RSTRXFIFO_SHIFT
#define UART_CTL_RSTRXFIFO_MASK
#define UART_CTL_RSTTXFIFO_SHIFT
#define UART_CTL_RSTTXFIFO_MASK
#define UART_CTL_STOPBITS_SHIFT
#define UART_CTL_STOPBITS_MASK
#define UART_CTL_STOPBITS_1
#define UART_CTL_STOPBITS_2
#define UART_CTL_BITSPERSYM_SHIFT
#define UART_CTL_BITSPERSYM_MASK
#define UART_CTL_XMITBRK_SHIFT
#define UART_CTL_XMITBRK_MASK
#define UART_CTL_RSVD_SHIFT
#define UART_CTL_RSVD_MASK
#define UART_CTL_RXPAREVEN_SHIFT
#define UART_CTL_RXPAREVEN_MASK
#define UART_CTL_RXPAREN_SHIFT
#define UART_CTL_RXPAREN_MASK
#define UART_CTL_TXPAREVEN_SHIFT
#define UART_CTL_TXPAREVEN_MASK
#define UART_CTL_TXPAREN_SHIFT
#define UART_CTL_TXPAREN_MASK
#define UART_CTL_LOOPBACK_SHIFT
#define UART_CTL_LOOPBACK_MASK
#define UART_CTL_RXEN_SHIFT
#define UART_CTL_RXEN_MASK
#define UART_CTL_TXEN_SHIFT
#define UART_CTL_TXEN_MASK
#define UART_CTL_BRGEN_SHIFT
#define UART_CTL_BRGEN_MASK

/* UART Baudword register */
#define UART_BAUD_REG

/* UART Misc Control register */
#define UART_MCTL_REG
#define UART_MCTL_DTR_SHIFT
#define UART_MCTL_DTR_MASK
#define UART_MCTL_RTS_SHIFT
#define UART_MCTL_RTS_MASK
#define UART_MCTL_RXFIFOTHRESH_SHIFT
#define UART_MCTL_RXFIFOTHRESH_MASK
#define UART_MCTL_TXFIFOTHRESH_SHIFT
#define UART_MCTL_TXFIFOTHRESH_MASK
#define UART_MCTL_RXFIFOFILL_SHIFT
#define UART_MCTL_RXFIFOFILL_MASK
#define UART_MCTL_TXFIFOFILL_SHIFT
#define UART_MCTL_TXFIFOFILL_MASK

/* UART External Input Configuration register */
#define UART_EXTINP_REG
#define UART_EXTINP_RI_SHIFT
#define UART_EXTINP_RI_MASK
#define UART_EXTINP_CTS_SHIFT
#define UART_EXTINP_CTS_MASK
#define UART_EXTINP_DCD_SHIFT
#define UART_EXTINP_DCD_MASK
#define UART_EXTINP_DSR_SHIFT
#define UART_EXTINP_DSR_MASK
#define UART_EXTINP_IRSTAT(x)
#define UART_EXTINP_IRMASK(x)
#define UART_EXTINP_IR_RI
#define UART_EXTINP_IR_CTS
#define UART_EXTINP_IR_DCD
#define UART_EXTINP_IR_DSR
#define UART_EXTINP_RI_NOSENSE_SHIFT
#define UART_EXTINP_RI_NOSENSE_MASK
#define UART_EXTINP_CTS_NOSENSE_SHIFT
#define UART_EXTINP_CTS_NOSENSE_MASK
#define UART_EXTINP_DCD_NOSENSE_SHIFT
#define UART_EXTINP_DCD_NOSENSE_MASK
#define UART_EXTINP_DSR_NOSENSE_SHIFT
#define UART_EXTINP_DSR_NOSENSE_MASK

/* UART Interrupt register */
#define UART_IR_REG
#define UART_IR_MASK(x)
#define UART_IR_STAT(x)
#define UART_IR_EXTIP
#define UART_IR_TXUNDER
#define UART_IR_TXOVER
#define UART_IR_TXTRESH
#define UART_IR_TXRDLATCH
#define UART_IR_TXEMPTY
#define UART_IR_RXUNDER
#define UART_IR_RXOVER
#define UART_IR_RXTIMEOUT
#define UART_IR_RXFULL
#define UART_IR_RXTHRESH
#define UART_IR_RXNOTEMPTY
#define UART_IR_RXFRAMEERR
#define UART_IR_RXPARERR
#define UART_IR_RXBRK
#define UART_IR_TXDONE

/* UART Fifo register */
#define UART_FIFO_REG
#define UART_FIFO_VALID_SHIFT
#define UART_FIFO_VALID_MASK
#define UART_FIFO_FRAMEERR_SHIFT
#define UART_FIFO_FRAMEERR_MASK
#define UART_FIFO_PARERR_SHIFT
#define UART_FIFO_PARERR_MASK
#define UART_FIFO_BRKDET_SHIFT
#define UART_FIFO_BRKDET_MASK
#define UART_FIFO_ANYERR_MASK

#endif /* _LINUX_SERIAL_BCM63XX_H */