Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Standalone xHCI debug capability driver
0004  *
0005  * Copyright (C) 2016 Intel Corporation
0006  *
0007  * Author: Lu Baolu <baolu.lu@linux.intel.com>
0008  */
0009 
0010 #ifndef __LINUX_XHCI_DBGP_H
0011 #define __LINUX_XHCI_DBGP_H
0012 
0013 #ifdef CONFIG_EARLY_PRINTK_USB_XDBC
0014 int __init early_xdbc_parse_parameter(char *s, int keep_early);
0015 int __init early_xdbc_setup_hardware(void);
0016 void __init early_xdbc_register_console(void);
0017 #else
0018 static inline int __init early_xdbc_setup_hardware(void)
0019 {
0020     return -ENODEV;
0021 }
0022 static inline void __init early_xdbc_register_console(void)
0023 {
0024 }
0025 #endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
0026 #endif /* __LINUX_XHCI_DBGP_H */