Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 /*
  2  *  arch/arm/include/asm/mach/serial_sa1100.h
  3  *
  4  *  Author: Nicolas Pitre
  5  *
  6  * Moved and changed lots, Russell King
  7  *
  8  * Low level machine dependent UART functions.
  9  */
 10 
 11 struct uart_port;
 12 struct uart_info;
 13 
 14 /*
 15  * This is a temporary structure for registering these
 16  * functions; it is intended to be discarded after boot.
 17  */
 18 struct sa1100_port_fns {
 19         void    (*set_mctrl)(struct uart_port *, u_int);
 20         u_int   (*get_mctrl)(struct uart_port *);
 21         void    (*pm)(struct uart_port *, u_int, u_int);
 22         int     (*set_wake)(struct uart_port *, u_int);
 23 };
 24 
 25 #ifdef CONFIG_SERIAL_SA1100
 26 void sa1100_register_uart_fns(struct sa1100_port_fns *fns);
 27 void sa1100_register_uart(int idx, int port);
 28 #else
 29 #define sa1100_register_uart_fns(fns) do { } while (0)
 30 #define sa1100_register_uart(idx,port) do { } while (0)
 31 #endif
 32 
  This page was automatically generated by the LXR engine.