Home
last modified time | relevance | path

Searched refs:wa (Results 1 – 11 of 11) sorted by relevance

/linux-4.4.14/drivers/usb/wusbcore/
Dwa-hc.h117 struct wahc *wa; member
249 extern int wa_create(struct wahc *wa, struct usb_interface *iface,
251 extern void __wa_destroy(struct wahc *wa);
252 extern int wa_dti_start(struct wahc *wa);
253 void wa_reset_all(struct wahc *wa);
270 static inline int wa_nep_arm(struct wahc *wa, gfp_t gfp_mask) in wa_nep_arm() argument
272 struct urb *urb = wa->nep_urb; in wa_nep_arm()
273 urb->transfer_buffer = wa->nep_buffer; in wa_nep_arm()
274 urb->transfer_buffer_length = wa->nep_buffer_size; in wa_nep_arm()
278 static inline void wa_nep_disarm(struct wahc *wa) in wa_nep_disarm() argument
[all …]
Dwa-nep.c62 struct wahc *wa; member
98 struct wahc *wa = nw->wa; in wa_notif_dispatch() local
102 struct device *dev = &wa->usb_iface->dev; in wa_notif_dispatch()
109 atomic_dec(&wa->notifs_queued); /* Throttling ctl */ in wa_notif_dispatch()
110 dev = &wa->usb_iface->dev; in wa_notif_dispatch()
130 wusbhc_handle_dn(wa->wusb, hwa_dn->bSourceDeviceAddr, in wa_notif_dispatch()
136 wa_handle_notif_xfer(wa, notif_hdr); in wa_notif_dispatch()
153 wa_put(wa); in wa_notif_dispatch()
181 static int wa_nep_queue(struct wahc *wa, size_t size) in wa_nep_queue() argument
184 struct device *dev = &wa->usb_iface->dev; in wa_nep_queue()
[all …]
Dwa-hc.c36 int wa_create(struct wahc *wa, struct usb_interface *iface, in wa_create() argument
42 result = wa_rpipes_create(wa); in wa_create()
45 wa->quirks = quirks; in wa_create()
47 wa->dti_epd = &iface->cur_altsetting->endpoint[1].desc; in wa_create()
48 wa->dto_epd = &iface->cur_altsetting->endpoint[2].desc; in wa_create()
49 wa->dti_buf_size = usb_endpoint_maxp(wa->dti_epd); in wa_create()
50 wa->dti_buf = kmalloc(wa->dti_buf_size, GFP_KERNEL); in wa_create()
51 if (wa->dti_buf == NULL) { in wa_create()
55 result = wa_nep_create(wa, iface); in wa_create()
64 kfree(wa->dti_buf); in wa_create()
[all …]
Dwa-rpipe.c68 static int __rpipe_get_descr(struct wahc *wa, in __rpipe_get_descr() argument
72 struct device *dev = &wa->usb_iface->dev; in __rpipe_get_descr()
78 wa->usb_dev, usb_rcvctrlpipe(wa->usb_dev, 0), in __rpipe_get_descr()
106 static int __rpipe_set_descr(struct wahc *wa, in __rpipe_set_descr() argument
110 struct device *dev = &wa->usb_iface->dev; in __rpipe_set_descr()
116 wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), in __rpipe_set_descr()
148 static unsigned rpipe_get_idx(struct wahc *wa, unsigned rpipe_idx) in rpipe_get_idx() argument
152 spin_lock_irqsave(&wa->rpipe_lock, flags); in rpipe_get_idx()
153 rpipe_idx = find_next_zero_bit(wa->rpipe_bm, wa->rpipes, rpipe_idx); in rpipe_get_idx()
154 if (rpipe_idx < wa->rpipes) in rpipe_get_idx()
[all …]
Dwa-xfer.c153 struct wahc *wa; /* Wire adapter we are plugged to */ member
221 static inline int __wa_dto_try_get(struct wahc *wa) in __wa_dto_try_get() argument
223 return (test_and_set_bit(0, &wa->dto_in_use) == 0); in __wa_dto_try_get()
227 static inline void __wa_dto_put(struct wahc *wa) in __wa_dto_put() argument
229 clear_bit_unlock(0, &wa->dto_in_use); in __wa_dto_put()
233 static void wa_check_for_delayed_rpipes(struct wahc *wa) in wa_check_for_delayed_rpipes() argument
239 spin_lock_irqsave(&wa->rpipe_lock, flags); in wa_check_for_delayed_rpipes()
240 while (!list_empty(&wa->rpipe_delayed_list) && !dto_waiting) { in wa_check_for_delayed_rpipes()
241 rpipe = list_first_entry(&wa->rpipe_delayed_list, in wa_check_for_delayed_rpipes()
252 spin_unlock_irqrestore(&wa->rpipe_lock, flags); in wa_check_for_delayed_rpipes()
[all …]
DMakefile4 obj-$(CONFIG_USB_HWA_HCD) += wusb-wa.o
21 wusb-wa-y := \
22 wa-hc.o \
23 wa-nep.o \
24 wa-rpipe.o \
25 wa-xfer.o
/linux-4.4.14/drivers/usb/host/
Dhwa-hc.c67 struct wahc wa; member
80 struct wahc *wa = &hwahc->wa; in __hwahc_set_cluster_id() local
81 struct device *dev = &wa->usb_iface->dev; in __hwahc_set_cluster_id()
83 result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), in __hwahc_set_cluster_id()
87 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_set_cluster_id()
101 struct wahc *wa = &hwahc->wa; in __hwahc_op_set_num_dnts() local
103 return usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), in __hwahc_op_set_num_dnts()
107 wa->usb_iface->cur_altsetting->desc.bInterfaceNumber, in __hwahc_op_set_num_dnts()
122 struct device *dev = &hwahc->wa.usb_iface->dev; in hwahc_op_reset()
125 wa_nep_disarm(&hwahc->wa); in hwahc_op_reset()
[all …]
/linux-4.4.14/drivers/crypto/ccp/
Dccp-ops.c480 static void ccp_sg_free(struct ccp_sg_workarea *wa) in ccp_sg_free() argument
482 if (wa->dma_count) in ccp_sg_free()
483 dma_unmap_sg(wa->dma_dev, wa->dma_sg, wa->nents, wa->dma_dir); in ccp_sg_free()
485 wa->dma_count = 0; in ccp_sg_free()
488 static int ccp_init_sg_workarea(struct ccp_sg_workarea *wa, struct device *dev, in ccp_init_sg_workarea() argument
492 memset(wa, 0, sizeof(*wa)); in ccp_init_sg_workarea()
494 wa->sg = sg; in ccp_init_sg_workarea()
498 wa->nents = sg_nents_for_len(sg, len); in ccp_init_sg_workarea()
499 if (wa->nents < 0) in ccp_init_sg_workarea()
500 return wa->nents; in ccp_init_sg_workarea()
[all …]
/linux-4.4.14/scripts/
Dkallsyms.c641 int wa, wb; in compare_symbols() local
653 wa = (sa->sym[0] == 'w') || (sa->sym[0] == 'W'); in compare_symbols()
655 if (wa != wb) in compare_symbols()
656 return wa - wb; in compare_symbols()
659 wa = may_be_linker_script_provide_symbol(sa); in compare_symbols()
661 if (wa != wb) in compare_symbols()
662 return wa - wb; in compare_symbols()
665 wa = prefix_underscores_count((const char *)sa->sym + 1); in compare_symbols()
667 if (wa != wb) in compare_symbols()
668 return wa - wb; in compare_symbols()
/linux-4.4.14/drivers/net/wireless/b43/
DMakefile3 b43-$(CONFIG_B43_PHY_G) += phy_a.o phy_g.o tables.o lo.o wa.o
/linux-4.4.14/Documentation/thermal/
Dintel_powerclamp.txt289 Cpu(s): 71.2%us, 4.7%sy, 0.0%ni, 24.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st