17 #define SERIAL_PREFIX_null 19 #define SERIAL_PREFIX_null __null_ 29 #define SERIAL_INLINE( _subsys, _api_func ) \ 30 SINGLE_API_INLINE ( SERIAL_PREFIX_ ## _subsys, _api_func ) 39 #define PROVIDE_SERIAL( _subsys, _api_func, _func ) \ 40 PROVIDE_SINGLE_API ( SERIAL_PREFIX_ ## _subsys, _api_func, _func ) 48 #define PROVIDE_SERIAL_INLINE( _subsys, _api_func ) \ 49 PROVIDE_SINGLE_API_INLINE ( SERIAL_PREFIX_ ## _subsys, _api_func )
struct uart * default_serial_console(void)
Get serial console UART.
struct uart * serial_console
Active serial console UART.
#define __always_inline
Declare a function to be always inline.
Serial port configuration.
FILE_LICENCE(GPL2_OR_LATER)
struct uart * fixed_serial_console(void)
Get fixed serial console UART.
#define SERIAL_INLINE(_subsys, _api_func)
Calculate static inline serial API function name.
#define NULL
NULL pointer (VOID *)