1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * bdc_dbg.h - header for the BDC debug functions
5 * Copyright (C) 2014 Broadcom Corporation
7 * Author: Ashwini Pahuja
9 #ifndef __LINUX_BDC_DBG_H__
10 #define __LINUX_BDC_DBG_H__
14 #ifdef CONFIG_USB_GADGET_VERBOSE
15 void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep);
16 void bdc_dbg_srr(struct bdc *bdc, u32 srr_num);
17 void bdc_dbg_regs(struct bdc *bdc);
18 void bdc_dump_epsts(struct bdc *bdc);
20 static inline void bdc_dbg_regs(struct bdc *bdc)
23 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num)
26 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep)
29 static inline void bdc_dump_epsts(struct bdc *bdc)
31 #endif /* CONFIG_USB_GADGET_VERBOSE */
32 #endif /* __LINUX_BDC_DBG_H__ */