File Index
Files and directories
Sign in
FILE

bdc_dbg.h

File preview with syntax highlighting.

linux-6.19.14/drivers/usb/gadget/udc/bdc/bdc_dbg.h C
 1/* SPDX-License-Identifier: GPL-2.0+ */
 2/*
 3 * bdc_dbg.h - header for the BDC debug functions
 4 *
 5 * Copyright (C) 2014 Broadcom Corporation
 6 *
 7 * Author: Ashwini Pahuja
 8 */
 9#ifndef __LINUX_BDC_DBG_H__
10#define __LINUX_BDC_DBG_H__
11
12#include "bdc.h"
13
14#ifdef CONFIG_USB_GADGET_VERBOSE
15void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep);
16void bdc_dbg_srr(struct bdc *bdc, u32 srr_num);
17void bdc_dbg_regs(struct bdc *bdc);
18void bdc_dump_epsts(struct bdc *bdc);
19#else
20static inline void bdc_dbg_regs(struct bdc *bdc)
21{ }
22
23static inline void bdc_dbg_srr(struct bdc *bdc, u32 srr_num)
24{ }
25
26static inline void bdc_dbg_bd_list(struct bdc *bdc, struct bdc_ep *ep)
27{ }
28
29static inline void bdc_dump_epsts(struct bdc *bdc)
30{ }
31#endif /* CONFIG_USB_GADGET_VERBOSE */
32#endif /* __LINUX_BDC_DBG_H__ */
~/ Read-only file preview.