Lines Matching refs:bh
1693 struct giveback_urb_bh *bh = from_tasklet(bh, t, bh); in usb_giveback_urb_bh() local
1696 spin_lock_irq(&bh->lock); in usb_giveback_urb_bh()
1697 bh->running = true; in usb_giveback_urb_bh()
1699 list_replace_init(&bh->head, &local_list); in usb_giveback_urb_bh()
1700 spin_unlock_irq(&bh->lock); in usb_giveback_urb_bh()
1707 bh->completing_ep = urb->ep; in usb_giveback_urb_bh()
1709 bh->completing_ep = NULL; in usb_giveback_urb_bh()
1713 spin_lock_irq(&bh->lock); in usb_giveback_urb_bh()
1714 if (!list_empty(&bh->head)) in usb_giveback_urb_bh()
1716 bh->running = false; in usb_giveback_urb_bh()
1717 spin_unlock_irq(&bh->lock); in usb_giveback_urb_bh()
1743 struct giveback_urb_bh *bh; in usb_hcd_giveback_urb() local
1756 bh = &hcd->high_prio_bh; in usb_hcd_giveback_urb()
1759 bh = &hcd->low_prio_bh; in usb_hcd_giveback_urb()
1763 spin_lock(&bh->lock); in usb_hcd_giveback_urb()
1764 list_add_tail(&urb->urb_list, &bh->head); in usb_hcd_giveback_urb()
1765 running = bh->running; in usb_hcd_giveback_urb()
1766 spin_unlock(&bh->lock); in usb_hcd_giveback_urb()
1771 tasklet_hi_schedule(&bh->bh); in usb_hcd_giveback_urb()
1773 tasklet_schedule(&bh->bh); in usb_hcd_giveback_urb()
2566 static void init_giveback_urb_bh(struct giveback_urb_bh *bh) in init_giveback_urb_bh() argument
2569 spin_lock_init(&bh->lock); in init_giveback_urb_bh()
2570 INIT_LIST_HEAD(&bh->head); in init_giveback_urb_bh()
2571 tasklet_setup(&bh->bh, usb_giveback_urb_bh); in init_giveback_urb_bh()