#include <linux/delay.h>
#include <linux/device.h>
#include <linux/dmapool.h>
#include <linux/dma-mapping.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/module.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/pm_runtime.h>
#include <linux/usb/ch9.h>
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <linux/usb/chipidea.h>
#include "ci.h"
#include "udc.h"
#include "bits.h"
#include "debug.h"
Go to the source code of this file.
#define DBG_DATA_MAX 128UL |
#define DBG_DATA_MSG 64UL |
show_registers: dumps all registers
Check "device.h" for details
Definition at line 620 of file debug.c.
dbg_create_files: initializes the attribute interface : device
This function returns an error code
Definition at line 735 of file debug.c.
dbg_done: prints a DONE event : endpoint address : transfer descriptor : status
Definition at line 287 of file debug.c.
dbg_remove_files: destroys the attribute interface : device
This function returns an error code
Definition at line 791 of file debug.c.
dbg_setup: prints a SETUP event : endpoint address : setup request
Definition at line 331 of file debug.c.