Blame view
include/linux/serial_sci.h
846 Bytes
96de1a8f0
|
1 2 |
#ifndef __LINUX_SERIAL_SCI_H #define __LINUX_SERIAL_SCI_H |
ecd956168
|
3 4 |
#include <linux/serial_core.h> |
14baf9d7f
|
5 |
#include <linux/sh_dma.h> |
ecd956168
|
6 7 |
/* |
96de1a8f0
|
8 |
* Generic header for SuperH SCI(F) (used by sh/sh64/h8300 and related parts) |
ecd956168
|
9 10 11 12 13 14 15 16 17 18 |
*/ /* Offsets into the sci_port->irqs array */ enum { SCIx_ERI_IRQ, SCIx_RXI_IRQ, SCIx_TXI_IRQ, SCIx_BRI_IRQ, SCIx_NR_IRQS, }; |
73a19e4c0
|
19 |
struct device; |
ecd956168
|
20 21 22 23 24 25 26 27 28 |
/* * Platform device specific platform_data struct */ struct plat_sci_port { void __iomem *membase; /* io cookie */ unsigned long mapbase; /* resource base */ unsigned int irqs[SCIx_NR_IRQS]; /* ERI, RXI, TXI, BRI */ unsigned int type; /* SCI / SCIF / IRDA */ upf_t flags; /* UPF_* flags */ |
501b825d0
|
29 |
char *clk; /* clock string */ |
73a19e4c0
|
30 |
struct device *dma_dev; |
04e82ffb0
|
31 |
#ifdef CONFIG_SERIAL_SH_SCI_DMA |
4bab9d426
|
32 33 |
unsigned int dma_slave_tx; unsigned int dma_slave_rx; |
04e82ffb0
|
34 |
#endif |
ecd956168
|
35 |
}; |
96de1a8f0
|
36 |
#endif /* __LINUX_SERIAL_SCI_H */ |