Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
ehci-dbg.c File Reference

Go to the source code of this file.

Data Structures

struct  debug_buffer
 

Macros

#define ehci_dbg(ehci, fmt, args...)   dev_dbg (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
 
#define ehci_err(ehci, fmt, args...)   dev_err (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
 
#define ehci_info(ehci, fmt, args...)   dev_info (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
 
#define ehci_warn(ehci, fmt, args...)   dev_warn (ehci_to_hcd(ehci)->self.controller , fmt , ## args )
 
#define dbg_status(ehci, label, status)
 
#define dbg_cmd(ehci, label, command)
 
#define dbg_port(ehci, label, port, status)
 
#define speed_char(info1)
 
#define DBG_SCHED_LIMIT   64
 

Macro Definition Documentation

#define dbg_cmd (   ehci,
  label,
  command 
)
Value:
{ \
char _buf [80]; \
dbg_command_buf (_buf, sizeof _buf, label, command); \
ehci_dbg (ehci, "%s\n", _buf); \
}

Definition at line 328 of file ehci-dbg.c.

#define dbg_port (   ehci,
  label,
  port,
  status 
)
Value:
{ \
char _buf [80]; \
dbg_port_buf (_buf, sizeof _buf, label, port, status); \
ehci_dbg (ehci, "%s\n", _buf); \
}

Definition at line 334 of file ehci-dbg.c.

#define DBG_SCHED_LIMIT   64

Definition at line 555 of file ehci-dbg.c.

#define dbg_status (   ehci,
  label,
  status 
)
Value:
{ \
char _buf [80]; \
dbg_status_buf (_buf, sizeof _buf, label, status); \
ehci_dbg (ehci, "%s\n", _buf); \
}

Definition at line 322 of file ehci-dbg.c.

#define ehci_dbg (   ehci,
  fmt,
  args... 
)    dev_dbg (ehci_to_hcd(ehci)->self.controller , fmt , ## args )

Definition at line 21 of file ehci-dbg.c.

#define ehci_err (   ehci,
  fmt,
  args... 
)    dev_err (ehci_to_hcd(ehci)->self.controller , fmt , ## args )

Definition at line 23 of file ehci-dbg.c.

#define ehci_info (   ehci,
  fmt,
  args... 
)    dev_info (ehci_to_hcd(ehci)->self.controller , fmt , ## args )

Definition at line 25 of file ehci-dbg.c.

#define ehci_warn (   ehci,
  fmt,
  args... 
)    dev_warn (ehci_to_hcd(ehci)->self.controller , fmt , ## args )

Definition at line 27 of file ehci-dbg.c.

#define speed_char (   info1)
Value:
({ char tmp; \
switch (info1 & (3 << 12)) { \
case QH_FULL_SPEED: tmp = 'f'; break; \
case QH_LOW_SPEED: tmp = 'l'; break; \
case QH_HIGH_SPEED: tmp = 'h'; break; \
default: tmp = '?'; break; \
}; tmp; })

Definition at line 405 of file ehci-dbg.c.