Lines Matching refs:c67x00
35 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hub_reset_host_port() local
40 spin_lock_irqsave(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
42 spin_unlock_irqrestore(&c67x00->lock, flags); in c67x00_hub_reset_host_port()
49 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_status_data() local
50 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_status_data()
69 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hub_control() local
70 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_control()
99 c67x00->low_speed_ports |= (1 << port); in c67x00_hub_control()
101 c67x00->low_speed_ports &= ~(1 << port); in c67x00_hub_control()
130 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
146 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
166 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
172 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
178 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
184 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
195 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
201 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
207 dev_dbg(c67x00_hcd_dev(c67x00), in c67x00_hub_control()
220 dev_dbg(c67x00_hcd_dev(c67x00), "%s: unknown\n", __func__); in c67x00_hub_control()
238 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_irq() local
239 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_irq()
244 c67x00_sched_kick(c67x00); in c67x00_hcd_irq()
246 dev_warn(c67x00_hcd_dev(c67x00), in c67x00_hcd_irq()
259 c67x00_sched_kick(c67x00); in c67x00_hcd_irq()
285 struct c67x00_hcd *c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hcd_get_frame() local
288 dev_dbg(c67x00_hcd_dev(c67x00), "%s\n", __func__); in c67x00_hcd_get_frame()
289 temp_val = c67x00_ll_husb_get_frame(c67x00->sie); in c67x00_hcd_get_frame()
331 struct c67x00_hcd *c67x00; in c67x00_hcd_probe() local
344 c67x00 = hcd_to_c67x00_hcd(hcd); in c67x00_hcd_probe()
346 spin_lock_init(&c67x00->lock); in c67x00_hcd_probe()
347 c67x00->sie = sie; in c67x00_hcd_probe()
349 INIT_LIST_HEAD(&c67x00->list[PIPE_ISOCHRONOUS]); in c67x00_hcd_probe()
350 INIT_LIST_HEAD(&c67x00->list[PIPE_INTERRUPT]); in c67x00_hcd_probe()
351 INIT_LIST_HEAD(&c67x00->list[PIPE_CONTROL]); in c67x00_hcd_probe()
352 INIT_LIST_HEAD(&c67x00->list[PIPE_BULK]); in c67x00_hcd_probe()
353 c67x00->urb_count = 0; in c67x00_hcd_probe()
354 INIT_LIST_HEAD(&c67x00->td_list); in c67x00_hcd_probe()
355 c67x00->td_base_addr = CY_HCD_BUF_ADDR + SIE_TD_OFFSET(sie->sie_num); in c67x00_hcd_probe()
356 c67x00->buf_base_addr = CY_HCD_BUF_ADDR + SIE_BUF_OFFSET(sie->sie_num); in c67x00_hcd_probe()
357 c67x00->max_frame_bw = MAX_FRAME_BW_STD; in c67x00_hcd_probe()
361 init_completion(&c67x00->endpoint_disable); in c67x00_hcd_probe()
362 retval = c67x00_sched_start_scheduler(c67x00); in c67x00_hcd_probe()
376 sie->private_data = c67x00; in c67x00_hcd_probe()
383 c67x00_sched_stop_scheduler(c67x00); in c67x00_hcd_probe()
393 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_remove() local
394 struct usb_hcd *hcd = c67x00_hcd_to_hcd(c67x00); in c67x00_hcd_remove()
396 c67x00_sched_stop_scheduler(c67x00); in c67x00_hcd_remove()