Searched refs:anchor (Results 1 – 9 of 9) sorted by relevance
/drivers/usb/core/ |
D | urb.c | 126 void usb_anchor_urb(struct urb *urb, struct usb_anchor *anchor) in usb_anchor_urb() argument 130 spin_lock_irqsave(&anchor->lock, flags); in usb_anchor_urb() 132 list_add_tail(&urb->anchor_list, &anchor->urb_list); in usb_anchor_urb() 133 urb->anchor = anchor; in usb_anchor_urb() 135 if (unlikely(anchor->poisoned)) in usb_anchor_urb() 138 spin_unlock_irqrestore(&anchor->lock, flags); in usb_anchor_urb() 142 static int usb_anchor_check_wakeup(struct usb_anchor *anchor) in usb_anchor_check_wakeup() argument 144 return atomic_read(&anchor->suspend_wakeups) == 0 && in usb_anchor_check_wakeup() 145 list_empty(&anchor->urb_list); in usb_anchor_check_wakeup() 149 static void __usb_unanchor_urb(struct urb *urb, struct usb_anchor *anchor) in __usb_unanchor_urb() argument [all …]
|
D | hcd.c | 1649 struct usb_anchor *anchor = urb->anchor; in __usb_hcd_giveback_urb() local 1660 usb_anchor_suspend_wakeups(anchor); in __usb_hcd_giveback_urb() 1678 usb_anchor_resume_wakeups(anchor); in __usb_hcd_giveback_urb()
|
/drivers/mtd/ubi/ |
D | fastmap-wl.c | 75 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor) in ubi_wl_get_fm_peb() argument 82 if (anchor) in ubi_wl_get_fm_peb() 313 struct ubi_wl_entry *anchor; in ubi_ensure_anchor_pebs() local 324 anchor = ubi_wl_get_fm_peb(ubi, 1); in ubi_ensure_anchor_pebs() 325 if (anchor) { in ubi_ensure_anchor_pebs() 326 ubi->fm_anchor = anchor; in ubi_ensure_anchor_pebs()
|
D | ubi.h | 915 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor);
|
/drivers/usb/serial/ |
D | opticon.c | 46 struct usb_anchor anchor; member 159 usb_kill_anchored_urbs(&priv->anchor); in opticon_close() 240 usb_anchor_urb(urb, &priv->anchor); in opticon_write() 381 init_usb_anchor(&priv->anchor); in opticon_port_probe()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00usb.c | 182 usb_anchor_urb(urb, rd->rt2x00dev->anchor); in rt2x00usb_register_read_async_cb() 220 usb_anchor_urb(urb, rt2x00dev->anchor); in rt2x00usb_register_read_async() 748 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_uninitialize() 833 rt2x00dev->anchor = devm_kmalloc(&usb_dev->dev, in rt2x00usb_probe() 836 if (!rt2x00dev->anchor) { in rt2x00usb_probe() 840 init_usb_anchor(rt2x00dev->anchor); in rt2x00usb_probe() 849 usb_kill_anchored_urbs(rt2x00dev->anchor); in rt2x00usb_probe()
|
D | rt2x00.h | 1009 struct usb_anchor *anchor; member
|
/drivers/iommu/ |
D | iova.c | 42 iovad->cached_node = &iovad->anchor.node; in init_iova_domain() 43 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain() 50 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain() 51 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain() 52 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain() 236 curr = &iovad->anchor.node; in __alloc_and_insert_iova_range() 278 curr = &iovad->anchor.node; in __alloc_and_insert_iova_best_fit()
|
/drivers/pci/hotplug/ |
D | cpqphp.h | 75 char anchor[4]; member 93 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
|