Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/uart/uart_bus.h
Context not available. | |||||
#define UART_IOCTL_OFLOW 3 | #define UART_IOCTL_OFLOW 3 | ||||
#define UART_IOCTL_BAUD 4 | #define UART_IOCTL_BAUD 4 | ||||
/* UART quirk flag */ | |||||
#define UART_F_BUSY_DETECT 0x1 | |||||
/* | /* | ||||
* UART class & instance (=softc) | * UART class & instance (=softc) | ||||
*/ | */ | ||||
Context not available. | |||||
u_int uc_range; /* Bus space address range. */ | u_int uc_range; /* Bus space address range. */ | ||||
u_int uc_rclk; /* Default rclk for this device. */ | u_int uc_rclk; /* Default rclk for this device. */ | ||||
u_int uc_rshift; /* Default regshift for this device. */ | u_int uc_rshift; /* Default regshift for this device. */ | ||||
u_int uc_riowidth; /* Default reg io width for this device. */ | |||||
}; | }; | ||||
struct uart_softc { | struct uart_softc { | ||||
Context not available. | |||||
int uart_bus_resume(device_t dev); | int uart_bus_resume(device_t dev); | ||||
serdev_intr_t *uart_bus_ihand(device_t dev, int ipend); | serdev_intr_t *uart_bus_ihand(device_t dev, int ipend); | ||||
int uart_bus_ipend(device_t dev); | int uart_bus_ipend(device_t dev); | ||||
int uart_bus_probe(device_t dev, int regshft, int rclk, int rid, int chan); | int uart_bus_probe(device_t dev, int regshft, int regiowidth, int rclk, int rid, int chan, int quirks); | ||||
int uart_bus_sysdev(device_t dev); | int uart_bus_sysdev(device_t dev); | ||||
void uart_sched_softih(struct uart_softc *, uint32_t); | void uart_sched_softih(struct uart_softc *, uint32_t); | ||||
Context not available. |