Home
last modified time | relevance | path

Searched refs:anchor (Results 1 – 11 of 11) 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.c1650 struct usb_anchor *anchor = urb->anchor; in __usb_hcd_giveback_urb() local
1661 usb_anchor_suspend_wakeups(anchor); in __usb_hcd_giveback_urb()
1677 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.h913 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()
364 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.h1019 struct usb_anchor *anchor; member
/drivers/iommu/
Diova.c87 iovad->cached_node = &iovad->anchor.node; in init_iova_domain()
88 iovad->cached32_node = &iovad->anchor.node; in init_iova_domain()
95 iovad->anchor.pfn_lo = iovad->anchor.pfn_hi = IOVA_ANCHOR; in init_iova_domain()
96 rb_link_node(&iovad->anchor.node, NULL, &iovad->rbroot.rb_node); in init_iova_domain()
97 rb_insert_color(&iovad->anchor.node, &iovad->rbroot); in init_iova_domain()
208 return &iovad->anchor.node; in iova_find_limit()
340 curr = &iovad->anchor.node; in __alloc_and_insert_iova_best_fit()
/drivers/char/xillybus/
Dxillyusb.c104 struct usb_anchor anchor; member
449 usb_kill_anchored_urbs(&ep->anchor); in endpoint_quiesce()
500 init_usb_anchor(&ep->anchor); in endpoint_alloc()
731 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_in()
835 usb_anchor_urb(urb, &ep->anchor); in try_queue_bulk_out()
/drivers/pci/hotplug/
Dcpqphp.h75 char anchor[4]; member
93 ANCHOR = offsetof(struct smbios_entry_point, anchor[0]),
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_ste_v1.c387 u8 anchor, u8 offset, in dr_ste_v1_set_insert_hdr() argument
392 MLX5_SET(ste_double_action_insert_with_ptr_v1, d_action, start_anchor, anchor); in dr_ste_v1_set_insert_hdr()
406 u8 anchor, u8 offset, in dr_ste_v1_set_remove_hdr() argument
411 MLX5_SET(ste_single_action_remove_header_size_v1, s_action, start_anchor, anchor); in dr_ste_v1_set_remove_hdr()