65 if ( ! ns16550->
base ) {
73 ns16550->
shift = shift;
80 ns16550->
clock = clock;
92 uart_nullify (
uart );
112 uart_nullify (
uart );
118 DT_ID (
"snps,dw-apb-uart",
"DesignWare UART" ),
119 DT_ID (
"ns16550a",
"NS16550-compatible" ),
struct arbelprm_rc_send_wqe rc
uint16_t offset
Offset to command line.
void * dt_ioremap(struct dt_device *dt, unsigned int offset, unsigned int index, size_t len)
Map devicetree range.
static void * dt_get_drvdata(struct dt_device *dt)
Get devicetree driver-private data.
#define DT_ID(_name, _desc)
static void dt_set_drvdata(struct dt_device *dt, void *priv)
Set devicetree driver-private data.
#define __dt_driver
Declare a devicetree driver.
static void dwuart_remove(struct dt_device *dt)
Remove devicetree device.
static const char * dwuart_ids[]
DesignWare UART compatible model identifiers.
static int dwuart_probe(struct dt_device *dt, unsigned int offset)
Probe devicetree device.
int fdt_u32(struct fdt *fdt, unsigned int offset, const char *name, uint32_t *value)
Get 32-bit integer property.
struct fdt sysfdt
The system flattened device tree (if present)
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENOMEM
Not enough space.
#define ENODEV
No such device.
void iounmap(volatile const void *io_addr)
Unmap I/O address.
#define NS16550_CLK_DEFAULT
Default input clock rate (1.8432 MHz)
struct uart_operations ns16550_operations
16550 UART operations
const char * name
Device name.
int(* probe)(struct dt_device *dt, unsigned int offset)
Probe device.
unsigned int clock
Input clock frequency.
unsigned int shift
Register shift.
void * base
Register base address.
struct uart_operations * op
UART operations.
void * priv
Driver-private data.
void uart_unregister(struct uart *uart)
Unregister UART.
struct uart * alloc_uart(size_t priv_len)
Allocate UART.
int uart_register(struct uart *uart)
Register UART.
static struct xen_remove_from_physmap * remove