Release 4.18 drivers/usb/musb/musb_debug.h
// SPDX-License-Identifier: GPL-2.0
/*
* MUSB OTG driver debug defines
*
* Copyright 2005 Mentor Graphics Corporation
* Copyright (C) 2005-2006 by Texas Instruments
* Copyright (C) 2006-2007 Nokia Corporation
*/
#ifndef __MUSB_LINUX_DEBUG_H__
#define __MUSB_LINUX_DEBUG_H__
#define yprintk(facility, format, args...) \
do { printk(facility "%s %d: " format , \
__func__, __LINE__ , ## args); } while (0)
#define WARNING(fmt, args...) yprintk(KERN_WARNING, fmt, ## args)
#define INFO(fmt, args...) yprintk(KERN_INFO, fmt, ## args)
#define ERR(fmt, args...) yprintk(KERN_ERR, fmt, ## args)
void musb_dbg(struct musb *musb, const char *fmt, ...);
#ifdef CONFIG_DEBUG_FS
void musb_init_debugfs(struct musb *musb);
void musb_exit_debugfs(struct musb *musb);
#else
static inline void musb_init_debugfs(struct musb *musb)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Felipe Balbi | 9 | 81.82% | 1 | 50.00% |
Greg Kroah-Hartman | 2 | 18.18% | 1 | 50.00% |
Total | 11 | 100.00% | 2 | 100.00% |
static inline void musb_exit_debugfs(struct musb *musb)
{
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Felipe Balbi | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
#endif
#endif /* __MUSB_LINUX_DEBUG_H__ */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Felipe Balbi | 96 | 82.05% | 2 | 33.33% |
Bin Liu | 16 | 13.68% | 1 | 16.67% |
Greg Kroah-Hartman | 5 | 4.27% | 3 | 50.00% |
Total | 117 | 100.00% | 6 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.