Lines Matching refs:sie

47 static void c67x00_hub_reset_host_port(struct c67x00_sie *sie, int port)  in c67x00_hub_reset_host_port()  argument
49 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hub_reset_host_port()
52 c67x00_ll_husb_reset(sie, port); in c67x00_hub_reset_host_port()
55 c67x00_ll_husb_reset_port(sie, port); in c67x00_hub_reset_host_port()
58 c67x00_ll_set_husb_eot(sie->dev, DEFAULT_EOT); in c67x00_hub_reset_host_port()
64 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_status_data() local
69 status = c67x00_ll_usb_get_status(sie); in c67x00_hub_status_data()
84 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_control() local
101 status = c67x00_ll_usb_get_status(sie); in c67x00_hub_control()
102 usb_status = c67x00_ll_get_usb_ctl(sie); in c67x00_hub_control()
150 c67x00_hub_reset_host_port(sie, port); in c67x00_hub_control()
175 c67x00_hub_reset_host_port(sie, port); in c67x00_hub_control()
203 c67x00_ll_usb_clear_status(sie, in c67x00_hub_control()
250 static void c67x00_hcd_irq(struct c67x00_sie *sie, u16 int_status, u16 msg) in c67x00_hcd_irq() argument
252 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_irq()
271 if (int_status & SOFEOP_FLG(sie->sie_num)) { in c67x00_hcd_irq()
272 c67x00_ll_usb_clear_status(sie, SOF_EOP_IRQ_FLG); in c67x00_hcd_irq()
304 temp_val = c67x00_ll_husb_get_frame(c67x00->sie); in c67x00_hcd_get_frame()
344 int c67x00_hcd_probe(struct c67x00_sie *sie) in c67x00_hcd_probe() argument
354 hcd = usb_create_hcd(&c67x00_hc_driver, sie_dev(sie), "c67x00_sie"); in c67x00_hcd_probe()
362 c67x00->sie = sie; in c67x00_hcd_probe()
370 c67x00->td_base_addr = CY_HCD_BUF_ADDR + SIE_TD_OFFSET(sie->sie_num); in c67x00_hcd_probe()
371 c67x00->buf_base_addr = CY_HCD_BUF_ADDR + SIE_BUF_OFFSET(sie->sie_num); in c67x00_hcd_probe()
374 c67x00_ll_husb_init_host_port(sie); in c67x00_hcd_probe()
383 dev_dbg(sie_dev(sie), "%s: usb_add_hcd returned %d\n", in c67x00_hcd_probe()
388 spin_lock_irqsave(&sie->lock, flags); in c67x00_hcd_probe()
389 sie->private_data = c67x00; in c67x00_hcd_probe()
390 sie->irq = c67x00_hcd_irq; in c67x00_hcd_probe()
391 spin_unlock_irqrestore(&sie->lock, flags); in c67x00_hcd_probe()
404 void c67x00_hcd_remove(struct c67x00_sie *sie) in c67x00_hcd_remove() argument
406 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_remove()