__hc32;
__hc16;
struct ed { … } __attribute__ ((aligned …));
#define ED_MASK …
struct td { … } __attribute__ ((aligned …));
#define TD_MASK …
#define TD_CC_NOERROR …
#define TD_CC_CRC …
#define TD_CC_BITSTUFFING …
#define TD_CC_DATATOGGLEM …
#define TD_CC_STALL …
#define TD_DEVNOTRESP …
#define TD_PIDCHECKFAIL …
#define TD_UNEXPECTEDPID …
#define TD_DATAOVERRUN …
#define TD_DATAUNDERRUN …
#define TD_BUFFEROVERRUN …
#define TD_BUFFERUNDERRUN …
#define TD_NOTACCESSED …
static const int __maybe_unused cc_to_error [16] = …;
struct ohci_hcca { … } __attribute__ ((aligned …));
struct ohci_regs { … } __attribute__ ((aligned …));
#define OHCI_CTRL_CBSR …
#define OHCI_CTRL_PLE …
#define OHCI_CTRL_IE …
#define OHCI_CTRL_CLE …
#define OHCI_CTRL_BLE …
#define OHCI_CTRL_HCFS …
#define OHCI_CTRL_IR …
#define OHCI_CTRL_RWC …
#define OHCI_CTRL_RWE …
#define OHCI_USB_RESET …
#define OHCI_USB_RESUME …
#define OHCI_USB_OPER …
#define OHCI_USB_SUSPEND …
#define OHCI_HCR …
#define OHCI_CLF …
#define OHCI_BLF …
#define OHCI_OCR …
#define OHCI_SOC …
#define OHCI_INTR_SO …
#define OHCI_INTR_WDH …
#define OHCI_INTR_SF …
#define OHCI_INTR_RD …
#define OHCI_INTR_UE …
#define OHCI_INTR_FNO …
#define OHCI_INTR_RHSC …
#define OHCI_INTR_OC …
#define OHCI_INTR_MIE …
#define RH_PS_CCS …
#define RH_PS_PES …
#define RH_PS_PSS …
#define RH_PS_POCI …
#define RH_PS_PRS …
#define RH_PS_PPS …
#define RH_PS_LSDA …
#define RH_PS_CSC …
#define RH_PS_PESC …
#define RH_PS_PSSC …
#define RH_PS_OCIC …
#define RH_PS_PRSC …
#define RH_HS_LPS …
#define RH_HS_OCI …
#define RH_HS_DRWE …
#define RH_HS_LPSC …
#define RH_HS_OCIC …
#define RH_HS_CRWE …
#define RH_B_DR …
#define RH_B_PPCM …
#define RH_A_NDP …
#define RH_A_PSM …
#define RH_A_NPS …
#define RH_A_DT …
#define RH_A_OCPM …
#define RH_A_NOCP …
#define RH_A_POTPGT …
urb_priv_t;
#define TD_HASH_SIZE …
#define TD_HASH_FUNC(td_dma) …
enum ohci_rh_state { … };
struct ohci_hcd { … };
#ifdef CONFIG_USB_PCI
static inline int quirk_nec(struct ohci_hcd *ohci)
{ … }
static inline int quirk_zfmicro(struct ohci_hcd *ohci)
{ … }
static inline int quirk_amdiso(struct ohci_hcd *ohci)
{ … }
static inline int quirk_amdprefetch(struct ohci_hcd *ohci)
{ … }
#else
static inline int quirk_nec(struct ohci_hcd *ohci)
{
return 0;
}
static inline int quirk_zfmicro(struct ohci_hcd *ohci)
{
return 0;
}
static inline int quirk_amdiso(struct ohci_hcd *ohci)
{
return 0;
}
static inline int quirk_amdprefetch(struct ohci_hcd *ohci)
{
return 0;
}
#endif
static inline struct ohci_hcd *hcd_to_ohci (struct usb_hcd *hcd)
{ … }
static inline struct usb_hcd *ohci_to_hcd (const struct ohci_hcd *ohci)
{ … }
#define ohci_dbg(ohci, fmt, args...) …
#define ohci_err(ohci, fmt, args...) …
#define ohci_info(ohci, fmt, args...) …
#define ohci_warn(ohci, fmt, args...) …
#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_DESC
#ifdef CONFIG_USB_OHCI_LITTLE_ENDIAN
#define big_endian_desc …
#else
#define big_endian_desc …
#endif
#else
#define big_endian_desc(ohci) …
#endif
#ifdef CONFIG_USB_OHCI_BIG_ENDIAN_MMIO
#ifdef CONFIG_USB_OHCI_LITTLE_ENDIAN
#define big_endian_mmio …
#else
#define big_endian_mmio …
#endif
#else
#define big_endian_mmio(ohci) …
#endif
static inline unsigned int _ohci_readl (const struct ohci_hcd *ohci,
__hc32 __iomem * regs)
{ … }
static inline void _ohci_writel (const struct ohci_hcd *ohci,
const unsigned int val, __hc32 __iomem *regs)
{ … }
#define ohci_readl(o,r) …
#define ohci_writel(o,v,r) …
static inline __hc16 cpu_to_hc16 (const struct ohci_hcd *ohci, const u16 x)
{ … }
static inline __hc16 cpu_to_hc16p (const struct ohci_hcd *ohci, const u16 *x)
{ … }
static inline __hc32 cpu_to_hc32 (const struct ohci_hcd *ohci, const u32 x)
{ … }
static inline __hc32 cpu_to_hc32p (const struct ohci_hcd *ohci, const u32 *x)
{ … }
static inline u16 hc16_to_cpu (const struct ohci_hcd *ohci, const __hc16 x)
{ … }
static inline u16 hc16_to_cpup (const struct ohci_hcd *ohci, const __hc16 *x)
{ … }
static inline u32 hc32_to_cpu (const struct ohci_hcd *ohci, const __hc32 x)
{ … }
static inline u32 hc32_to_cpup (const struct ohci_hcd *ohci, const __hc32 *x)
{ … }
static inline u16 ohci_frame_no(const struct ohci_hcd *ohci)
{ … }
static inline __hc16 *ohci_hwPSWp(const struct ohci_hcd *ohci,
const struct td *td, int index)
{ … }
static inline u16 ohci_hwPSW(const struct ohci_hcd *ohci,
const struct td *td, int index)
{ … }
#define FI …
#define FSMP(fi) …
#define FIT …
#define LSTHRESH …
static inline void periodic_reinit (struct ohci_hcd *ohci)
{ … }
#define read_roothub(hc, register, mask) …
static inline u32 roothub_a (struct ohci_hcd *hc)
{ … }
static inline u32 roothub_b (struct ohci_hcd *hc)
{ … }
static inline u32 roothub_status (struct ohci_hcd *hc)
{ … }
static inline u32 roothub_portstatus (struct ohci_hcd *hc, int i)
{ … }
struct ohci_driver_overrides { … };
extern void ohci_init_driver(struct hc_driver *drv,
const struct ohci_driver_overrides *over);
extern int ohci_restart(struct ohci_hcd *ohci);
extern int ohci_setup(struct usb_hcd *hcd);
extern int ohci_suspend(struct usb_hcd *hcd, bool do_wakeup);
extern int ohci_resume(struct usb_hcd *hcd, bool hibernated);
extern int ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
u16 wIndex, char *buf, u16 wLength);
extern int ohci_hub_status_data(struct usb_hcd *hcd, char *buf);