Lines Matching refs:whc
25 static void transfer_done(struct whc *whc) in transfer_done() argument
27 queue_work(whc->workqueue, &whc->async_work); in transfer_done()
28 queue_work(whc->workqueue, &whc->periodic_work); in transfer_done()
34 struct whc *whc = wusbhc_to_whc(wusbhc); in whc_int_handler() local
37 sts = le_readl(whc->base + WUSBSTS); in whc_int_handler()
40 le_writel(sts & WUSBSTS_INT_MASK, whc->base + WUSBSTS); in whc_int_handler()
43 wake_up(&whc->cmd_wq); in whc_int_handler()
46 dev_err(&whc->umc->dev, "FIXME: host system error\n"); in whc_int_handler()
49 wake_up(&whc->async_list_wq); in whc_int_handler()
52 wake_up(&whc->periodic_list_wq); in whc_int_handler()
55 queue_work(whc->workqueue, &whc->dn_work); in whc_int_handler()
62 transfer_done(whc); in whc_int_handler()
67 static int process_dn_buf(struct whc *whc) in process_dn_buf() argument
69 struct wusbhc *wusbhc = &whc->wusbhc; in process_dn_buf()
73 for (dn = whc->dn_buf; dn < whc->dn_buf + WHC_N_DN_ENTRIES; dn++) { in process_dn_buf()
87 struct whc *whc = container_of(work, struct whc, dn_work); in whc_dn_work() local
91 processed = process_dn_buf(whc); in whc_dn_work()