Lines Matching refs:controller

101 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size)
103 struct ohci_regs __iomem *regs = controller->regs;
106 temp = ohci_readl (controller, &regs->revision) & 0xff;
107 ohci_dbg_sw (controller, next, size,
111 rh_state_string(controller));
113 temp = ohci_readl (controller, &regs->control);
114 ohci_dbg_sw (controller, next, size,
128 temp = ohci_readl (controller, &regs->cmdstatus);
129 ohci_dbg_sw (controller, next, size,
138 ohci_dump_intr_mask (controller, "intrstatus",
139 ohci_readl (controller, &regs->intrstatus),
141 ohci_dump_intr_mask (controller, "intrenable",
142 ohci_readl (controller, &regs->intrenable),
146 maybe_print_eds (controller, "ed_periodcurrent",
147 ohci_readl (controller, &regs->ed_periodcurrent),
150 maybe_print_eds (controller, "ed_controlhead",
151 ohci_readl (controller, &regs->ed_controlhead),
153 maybe_print_eds (controller, "ed_controlcurrent",
154 ohci_readl (controller, &regs->ed_controlcurrent),
157 maybe_print_eds (controller, "ed_bulkhead",
158 ohci_readl (controller, &regs->ed_bulkhead),
160 maybe_print_eds (controller, "ed_bulkcurrent",
161 ohci_readl (controller, &regs->ed_bulkcurrent),
164 maybe_print_eds (controller, "donehead",
165 ohci_readl (controller, &regs->donehead), next, size);
192 struct ohci_hcd *controller,
199 temp = roothub_a (controller);
204 ohci_dbg_sw (controller, next, size,
212 (temp & RH_A_NDP), controller->num_ports
214 temp = roothub_b (controller);
215 ohci_dbg_sw (controller, next, size,
221 temp = roothub_status (controller);
222 ohci_dbg_sw (controller, next, size,
234 for (i = 0; i < controller->num_ports; i++) {
235 temp = roothub_portstatus (controller, i);
236 dbg_port_sw (controller, i, temp, next, size);
240 static void ohci_dump(struct ohci_hcd *controller)
242 ohci_dbg (controller, "OHCI controller state\n");
245 ohci_dump_status (controller, NULL, NULL);
246 if (controller->hcca)
247 ohci_dbg (controller,
248 "hcca frame #%04x\n", ohci_frame_no(controller));
249 ohci_dump_roothub (controller, 1, NULL, NULL);
605 hcd->self.controller->bus->name,
606 dev_name(hcd->self.controller),