wlan-ap-Telecominfraproject/feeds/mediatek-sdk/mediatek/files-5.4/drivers/usb/host/xhci-mtk-test.h
John Crispin 1e7cf483a4 mediatek-sdk: update to latest SDK kernel
Signed-off-by: John Crispin <john@phrozen.org>
2024-04-27 16:15:25 +02:00

33 lines
794 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* xhci-mtk-unusuallib.h -- xhci toolkit header file
*
* Copyright (C) 2021 Mediatek Inc - http://www.mediatek.com
*
* Author: Zhanyong Wang <zhanyong.wang@mediatek.com>
* Shaocheng.Wang <shaocheng.wang@mediatek.com>
* Chunfeng.Yun <chunfeng.yun@mediatek.com>
*/
#ifndef __XHCI_MTK_TEST_H
#define __XHCI_MTK_TEST_H
#ifdef CONFIG_USB_XHCI_MTK_DEBUGFS
int hqa_create_attr(struct device *dev);
void hqa_remove_attr(struct device *dev);
void ssusb_remap_ip_regs(struct device *dev);
#else
static inline int hqa_create_attr(struct device *dev)
{
return 0;
}
static inline void hqa_remove_attr(struct device *dev)
{
}
static inline void ssusb_remap_ip_regs(struct device *dev)
{
}
#endif
#endif /* __XHCI_MTK_TEST_H */