xref: /kernel/linux/linux-6.6/include/linux/usb/xhci-dbgp.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/linux/usb/
162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Standalone xHCI debug capability driver
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2016 Intel Corporation
662306a36Sopenharmony_ci *
762306a36Sopenharmony_ci * Author: Lu Baolu <baolu.lu@linux.intel.com>
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#ifndef __LINUX_XHCI_DBGP_H
1162306a36Sopenharmony_ci#define __LINUX_XHCI_DBGP_H
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci#ifdef CONFIG_EARLY_PRINTK_USB_XDBC
1462306a36Sopenharmony_ciint __init early_xdbc_parse_parameter(char *s, int keep_early);
1562306a36Sopenharmony_ciint __init early_xdbc_setup_hardware(void);
1662306a36Sopenharmony_civoid __init early_xdbc_register_console(void);
1762306a36Sopenharmony_ci#else
1862306a36Sopenharmony_cistatic inline int __init early_xdbc_setup_hardware(void)
1962306a36Sopenharmony_ci{
2062306a36Sopenharmony_ci	return -ENODEV;
2162306a36Sopenharmony_ci}
2262306a36Sopenharmony_cistatic inline void __init early_xdbc_register_console(void)
2362306a36Sopenharmony_ci{
2462306a36Sopenharmony_ci}
2562306a36Sopenharmony_ci#endif /* CONFIG_EARLY_PRINTK_USB_XDBC */
2662306a36Sopenharmony_ci#endif /* __LINUX_XHCI_DBGP_H */
27

Indexes created Thu Nov 07 10:32:03 CST 2024