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

Go to the source code of this file.

Macros

#define dbg_port(hc, label, num, value)
 
#define OHCI_SCHED_ENABLES   (OHCI_CTRL_CLE|OHCI_CTRL_BLE|OHCI_CTRL_PLE|OHCI_CTRL_IE)
 
#define ohci_start_port_reset   NULL
 
#define PORT_RESET_MSEC   10
 
#define PORT_RESET_HW_MSEC   10
 
#define tick_before(t1, t2)   ((s16)(((s16)(t1))-((s16)(t2))) < 0)
 

Macro Definition Documentation

#define dbg_port (   hc,
  label,
  num,
  value 
)
Value:
ohci_dbg (hc, \
"%s roothub.portstatus [%d] " \
"= 0x%08x%s%s%s%s%s%s%s%s%s%s%s%s\n", \
label, num, temp, \
(temp & RH_PS_PRSC) ? " PRSC" : "", \
(temp & RH_PS_OCIC) ? " OCIC" : "", \
(temp & RH_PS_PSSC) ? " PSSC" : "", \
(temp & RH_PS_PESC) ? " PESC" : "", \
(temp & RH_PS_CSC) ? " CSC" : "", \
\
(temp & RH_PS_LSDA) ? " LSDA" : "", \
(temp & RH_PS_PPS) ? " PPS" : "", \
(temp & RH_PS_PRS) ? " PRS" : "", \
(temp & RH_PS_POCI) ? " POCI" : "", \
(temp & RH_PS_PSS) ? " PSS" : "", \
\
(temp & RH_PS_PES) ? " PES" : "", \
(temp & RH_PS_CCS) ? " CCS" : "" \
);

Definition at line 16 of file ohci-hub.c.

#define OHCI_SCHED_ENABLES   (OHCI_CTRL_CLE|OHCI_CTRL_BLE|OHCI_CTRL_PLE|OHCI_CTRL_IE)

Definition at line 39 of file ohci-hub.c.

#define ohci_start_port_reset   NULL

Definition at line 616 of file ohci-hub.c.

#define PORT_RESET_HW_MSEC   10

Definition at line 635 of file ohci-hub.c.

#define PORT_RESET_MSEC   10

Definition at line 631 of file ohci-hub.c.

#define tick_before (   t1,
  t2 
)    ((s16)(((s16)(t1))-((s16)(t2))) < 0)

Definition at line 638 of file ohci-hub.c.