Back to home page

OSCL-LXR

 
 

    


0001 /*
0002    BlueZ - Bluetooth protocol stack for Linux
0003    Copyright (C) 2014 Intel Corporation
0004 
0005    This program is free software; you can redistribute it and/or modify
0006    it under the terms of the GNU General Public License version 2 as
0007    published by the Free Software Foundation;
0008 
0009    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
0010    OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
0011    FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY RIGHTS.
0012    IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) AND AUTHOR(S) BE LIABLE FOR ANY
0013    CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES
0014    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
0015    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
0016    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0017 
0018    ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY PATENTS,
0019    COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS
0020    SOFTWARE IS DISCLAIMED.
0021 */
0022 
0023 #if IS_ENABLED(CONFIG_BT_DEBUGFS)
0024 
0025 void hci_debugfs_create_common(struct hci_dev *hdev);
0026 void hci_debugfs_create_bredr(struct hci_dev *hdev);
0027 void hci_debugfs_create_le(struct hci_dev *hdev);
0028 void hci_debugfs_create_conn(struct hci_conn *conn);
0029 void hci_debugfs_create_basic(struct hci_dev *hdev);
0030 
0031 #else
0032 
0033 static inline void hci_debugfs_create_common(struct hci_dev *hdev)
0034 {
0035 }
0036 
0037 static inline void hci_debugfs_create_bredr(struct hci_dev *hdev)
0038 {
0039 }
0040 
0041 static inline void hci_debugfs_create_le(struct hci_dev *hdev)
0042 {
0043 }
0044 
0045 static inline void hci_debugfs_create_conn(struct hci_conn *conn)
0046 {
0047 }
0048 
0049 static inline void hci_debugfs_create_basic(struct hci_dev *hdev)
0050 {
0051 }
0052 
0053 #endif