2 * bdc_dbg.h - header for the BDC debug functions
4 * Copyright (C) 2014 Broadcom Corporation
6 * Author: Ashwini Pahuja
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License as published by the
10 * Free Software Foundation; either version 2 of the License, or (at your
11 * option) any later version.
14 #ifndef __LINUX_BDC_DBG_H__
15 #define __LINUX_BDC_DBG_H__
19 #ifdef CONFIG_USB_GADGET_VERBOSE
20 void bdc_dbg_bd_list(struct bdc *, struct bdc_ep*);
21 void bdc_dbg_srr(struct bdc *, u32);
22 void bdc_dbg_regs(struct bdc *);
23 void bdc_dump_epsts(struct bdc *);
25 static inline void bdc_dbg_regs(struct bdc *bdc)
28 static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num)
31 static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep)
34 static inline void bdc_dump_epsts(struct bdc *bdc)
36 #endif /* CONFIG_USB_GADGET_VERBOSE */
37 #endif /* __LINUX_BDC_DBG_H__ */