serial_at91rm9200.h
来自「LINUX 2.6.17.4的源码」· C头文件 代码 · 共 37 行
H
37 行
/* * linux/include/asm-arm/mach/serial_at91rm9200.h * * Based on serial_sa1100.h by Nicolas Pitre * * Copyright (C) 2002 ATMEL Rousset * * Low level machine dependent UART functions. */#include <linux/config.h>struct uart_port;/* * This is a temporary structure for registering these * functions; it is intended to be discarded after boot. */struct at91rm9200_port_fns { void (*set_mctrl)(struct uart_port *, u_int); u_int (*get_mctrl)(struct uart_port *); void (*enable_ms)(struct uart_port *); void (*pm)(struct uart_port *, u_int, u_int); int (*set_wake)(struct uart_port *, u_int); int (*open)(struct uart_port *); void (*close)(struct uart_port *);};#if defined(CONFIG_SERIAL_AT91)void at91_register_uart_fns(struct at91rm9200_port_fns *fns);void at91_register_uart(int idx, int port);#else#define at91_register_uart_fns(fns) do { } while (0)#define at91_register_uart(idx,port) do { } while (0)#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?