Home
last modified time | relevance | path

Searched refs:anchor (Results 1 – 9 of 9) sorted by relevance

/drivers/usb/core/
Durb.c126 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 …]
Dhcd.c1649 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/
Dfastmap-wl.c75 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()
Dubi.h915 struct ubi_wl_entry *ubi_wl_get_fm_peb(struct ubi_device *ubi, int anchor);
/drivers/usb/serial/
Dopticon.c46 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/
Drt2x00usb.c182 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()
Drt2x00.h1009 struct usb_anchor *anchor; member
/drivers/iommu/
Diova.c42 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/
Dcpqphp.h75 char anchor[4]; member
93 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),