Lines Matching refs:controller

100 ohci_dump_status (struct ohci_hcd *controller, char **next, unsigned *size)  in ohci_dump_status()  argument
102 struct ohci_regs __iomem *regs = controller->regs; in ohci_dump_status()
105 temp = ohci_readl (controller, &regs->revision) & 0xff; in ohci_dump_status()
106 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
110 rh_state_string(controller)); in ohci_dump_status()
112 temp = ohci_readl (controller, &regs->control); in ohci_dump_status()
113 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
127 temp = ohci_readl (controller, &regs->cmdstatus); in ohci_dump_status()
128 ohci_dbg_sw (controller, next, size, in ohci_dump_status()
137 ohci_dump_intr_mask (controller, "intrstatus", in ohci_dump_status()
138 ohci_readl (controller, &regs->intrstatus), in ohci_dump_status()
140 ohci_dump_intr_mask (controller, "intrenable", in ohci_dump_status()
141 ohci_readl (controller, &regs->intrenable), in ohci_dump_status()
145 maybe_print_eds (controller, "ed_periodcurrent", in ohci_dump_status()
146 ohci_readl (controller, &regs->ed_periodcurrent), in ohci_dump_status()
149 maybe_print_eds (controller, "ed_controlhead", in ohci_dump_status()
150 ohci_readl (controller, &regs->ed_controlhead), in ohci_dump_status()
152 maybe_print_eds (controller, "ed_controlcurrent", in ohci_dump_status()
153 ohci_readl (controller, &regs->ed_controlcurrent), in ohci_dump_status()
156 maybe_print_eds (controller, "ed_bulkhead", in ohci_dump_status()
157 ohci_readl (controller, &regs->ed_bulkhead), in ohci_dump_status()
159 maybe_print_eds (controller, "ed_bulkcurrent", in ohci_dump_status()
160 ohci_readl (controller, &regs->ed_bulkcurrent), in ohci_dump_status()
163 maybe_print_eds (controller, "donehead", in ohci_dump_status()
164 ohci_readl (controller, &regs->donehead), next, size); in ohci_dump_status()
191 struct ohci_hcd *controller, in ohci_dump_roothub() argument
198 temp = roothub_a (controller); in ohci_dump_roothub()
203 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
211 (temp & RH_A_NDP), controller->num_ports in ohci_dump_roothub()
213 temp = roothub_b (controller); in ohci_dump_roothub()
214 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
220 temp = roothub_status (controller); in ohci_dump_roothub()
221 ohci_dbg_sw (controller, next, size, in ohci_dump_roothub()
233 for (i = 0; i < controller->num_ports; i++) { in ohci_dump_roothub()
234 temp = roothub_portstatus (controller, i); in ohci_dump_roothub()
235 dbg_port_sw (controller, i, temp, next, size); in ohci_dump_roothub()
239 static void ohci_dump(struct ohci_hcd *controller) in ohci_dump() argument
241 ohci_dbg (controller, "OHCI controller state\n"); in ohci_dump()
244 ohci_dump_status (controller, NULL, NULL); in ohci_dump()
245 if (controller->hcca) in ohci_dump()
246 ohci_dbg (controller, in ohci_dump()
247 "hcca frame #%04x\n", ohci_frame_no(controller)); in ohci_dump()
248 ohci_dump_roothub (controller, 1, NULL, NULL); in ohci_dump()
604 hcd->self.controller->bus->name, in fill_registers_buffer()
605 dev_name(hcd->self.controller), in fill_registers_buffer()