LCOV - code coverage report
Current view: top level - include/linux/usb - xhci-dbgp.h (source / functions) Hit Total Coverage
Test: landlock.info Lines: 2 2 100.0 %
Date: 2021-04-22 12:43:58 Functions: 0 0 -

          Line data    Source code
       1             : // SPDX-License-Identifier: GPL-2.0
       2             : /*
       3             :  * Standalone xHCI debug capability driver
       4             :  *
       5             :  * Copyright (C) 2016 Intel Corporation
       6             :  *
       7             :  * Author: Lu Baolu <baolu.lu@linux.intel.com>
       8             :  *
       9             :  * This program is free software; you can redistribute it and/or modify
      10             :  * it under the terms of the GNU General Public License version 2 as
      11             :  * published by the Free Software Foundation.
      12             :  */
      13             : 
      14             : #ifndef __LINUX_XHCI_DBGP_H
      15             : #define __LINUX_XHCI_DBGP_H
      16             : 
      17             : #ifdef CONFIG_EARLY_PRINTK_USB_XDBC
      18             : int __init early_xdbc_parse_parameter(char *s);
      19             : int __init early_xdbc_setup_hardware(void);
      20             : void __init early_xdbc_register_console(void);
      21             : #else
      22           1 : static inline int __init early_xdbc_setup_hardware(void)
      23             : {
      24           1 :         return -ENODEV;
      25             : }
      26             : static inline void __init early_xdbc_register_console(void)
      27             : {
      28             : }
      29             : #endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
      30             : #endif /* __LINUX_XHCI_DBGP_H */

Generated by: LCOV version 1.14