Lines Matching refs:gohci

75 static ohci_t gohci;  variable
383 ohci = &gohci; in sohci_submit_job()
456 ohci_t *ohci = &gohci; in sohci_get_current_frame_number()
667 ohci_t *ohci = &gohci; in td_submit_job()
850 #define WR_RH_STAT(x) {info("WR:status %#8x", (x));writel((x), &gohci.regs->roothub.status);}
851 #define WR_RH_PORTSTAT(x) {info("WR:portstatus[%d] %#8x", wIndex-1, (x));writel((x), &gohci.regs->r…
853 #define WR_RH_STAT(x) writel((x), &gohci.regs->roothub.status)
854 #define WR_RH_PORTSTAT(x) writel((x), &gohci.regs->roothub.portstatus[wIndex-1])
856 #define RD_RH_STAT roothub_status(&gohci)
857 #define RD_RH_PORTSTAT roothub_portstatus(&gohci,wIndex-1)
990 case RH_SET_ADDRESS: gohci.rh.devnum = wValue; OK(0); in ohci_submit_rh_msg()
1034 __u32 temp = roothub_a (&gohci); in ohci_submit_rh_msg()
1050 temp = roothub_b (&gohci); in ohci_submit_rh_msg()
1075 ohci_dump_roothub (&gohci, 1); in ohci_submit_rh_msg()
1165 ohci_dump_roothub (&gohci, 1); in submit_common_msg()
1169 timeout = rh_check_port_status(&gohci); in submit_common_msg()
1173 usb_hub_port_connect_change(gohci.rh.dev, timeout - 1); in submit_common_msg()
1223 if (((pipe >> 8) & 0x7f) == gohci.rh.devnum) { in submit_control_msg()
1224 gohci.rh.dev = dev; in submit_control_msg()
1352 ohci_t *ohci = &gohci; in hc_interrupt()
1391 stat = dl_done_list (&gohci, dl_reverse_done_list (&gohci)); in hc_interrupt()
1532 memset (&gohci, 0, sizeof (ohci_t)); in usb_lowlevel_init()
1553 gohci.hcca = phcca; in usb_lowlevel_init()
1556 gohci.disabled = 1; in usb_lowlevel_init()
1557 gohci.sleeping = 0; in usb_lowlevel_init()
1558 gohci.irq = -1; in usb_lowlevel_init()
1559 gohci.regs = (struct ohci_regs *)(USB_OHCI_BASE | 0xA0000000); in usb_lowlevel_init()
1561 gohci.flags = 0; in usb_lowlevel_init()
1562 gohci.slot_name = "au1x00"; in usb_lowlevel_init()
1566 readl(&gohci.regs->revision), in usb_lowlevel_init()
1567 readl(&gohci.regs->roothub.a), readl(&gohci.regs->roothub.b)); in usb_lowlevel_init()
1569 if (hc_reset (&gohci) < 0) in usb_lowlevel_init()
1573 writel (gohci.hc_control = OHCI_USB_RESET, &gohci.regs->control); in usb_lowlevel_init()
1576 if (hc_start (&gohci) < 0) in usb_lowlevel_init()
1580 ohci_dump (&gohci, 1); in usb_lowlevel_init()
1589 hc_release_ohci (&gohci); in usb_lowlevel_init()
1603 hc_reset (&gohci); in usb_lowlevel_stop()