Lines Matching refs:sie
33 static void c67x00_hub_reset_host_port(struct c67x00_sie *sie, int port) in c67x00_hub_reset_host_port() argument
35 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hub_reset_host_port()
38 c67x00_ll_husb_reset(sie, port); in c67x00_hub_reset_host_port()
41 c67x00_ll_husb_reset_port(sie, port); in c67x00_hub_reset_host_port()
44 c67x00_ll_set_husb_eot(sie->dev, DEFAULT_EOT); in c67x00_hub_reset_host_port()
50 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_status_data() local
55 status = c67x00_ll_usb_get_status(sie); in c67x00_hub_status_data()
70 struct c67x00_sie *sie = c67x00->sie; in c67x00_hub_control() local
87 status = c67x00_ll_usb_get_status(sie); in c67x00_hub_control()
88 usb_status = c67x00_ll_get_usb_ctl(sie); in c67x00_hub_control()
136 c67x00_hub_reset_host_port(sie, port); in c67x00_hub_control()
161 c67x00_hub_reset_host_port(sie, port); in c67x00_hub_control()
189 c67x00_ll_usb_clear_status(sie, in c67x00_hub_control()
236 static void c67x00_hcd_irq(struct c67x00_sie *sie, u16 int_status, u16 msg) in c67x00_hcd_irq() argument
238 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_irq()
257 if (int_status & SOFEOP_FLG(sie->sie_num)) { in c67x00_hcd_irq()
258 c67x00_ll_usb_clear_status(sie, SOF_EOP_IRQ_FLG); in c67x00_hcd_irq()
289 temp_val = c67x00_ll_husb_get_frame(c67x00->sie); in c67x00_hcd_get_frame()
329 int c67x00_hcd_probe(struct c67x00_sie *sie) in c67x00_hcd_probe() argument
339 hcd = usb_create_hcd(&c67x00_hc_driver, sie_dev(sie), "c67x00_sie"); in c67x00_hcd_probe()
347 c67x00->sie = sie; 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()
359 c67x00_ll_husb_init_host_port(sie); in c67x00_hcd_probe()
368 dev_dbg(sie_dev(sie), "%s: usb_add_hcd returned %d\n", in c67x00_hcd_probe()
375 spin_lock_irqsave(&sie->lock, flags); in c67x00_hcd_probe()
376 sie->private_data = c67x00; in c67x00_hcd_probe()
377 sie->irq = c67x00_hcd_irq; in c67x00_hcd_probe()
378 spin_unlock_irqrestore(&sie->lock, flags); in c67x00_hcd_probe()
391 void c67x00_hcd_remove(struct c67x00_sie *sie) in c67x00_hcd_remove() argument
393 struct c67x00_hcd *c67x00 = sie->private_data; in c67x00_hcd_remove()