cregit-Linux how code gets into the kernel

Release 4.18 drivers/usb/musb/musb_debug.h

Directory: drivers/usb/musb
// 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

PersonTokensPropCommitsCommitProp
Felipe Balbi981.82%150.00%
Greg Kroah-Hartman218.18%150.00%
Total11100.00%2100.00%


static inline void musb_exit_debugfs(struct musb *musb) { }

Contributors

PersonTokensPropCommitsCommitProp
Felipe Balbi11100.00%1100.00%
Total11100.00%1100.00%

#endif #endif /* __MUSB_LINUX_DEBUG_H__ */

Overall Contributors

PersonTokensPropCommitsCommitProp
Felipe Balbi9682.05%233.33%
Bin Liu1613.68%116.67%
Greg Kroah-Hartman54.27%350.00%
Total117100.00%6100.00%
Directory: drivers/usb/musb
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.