Home
last modified time | relevance | path

Searched refs:wValue (Results 1 – 25 of 146) sorted by relevance

123456

/linux-3.4.99/drivers/staging/vt6656/
Dusbpipe.h47 WORD wValue,
56 WORD wValue,
65 WORD wValue,
Drf.c997 WORD wLength,wValue; in RFbRFTableDownload() local
1055 wValue = 0; in RFbRFTableDownload()
1066 wValue, in RFbRFTableDownload()
1072 wValue += wLength; in RFbRFTableDownload()
1076 wValue = 0; in RFbRFTableDownload()
1087 wValue, in RFbRFTableDownload()
1093 wValue += wLength; in RFbRFTableDownload()
1113 wValue = 0; in RFbRFTableDownload()
1124 wValue, in RFbRFTableDownload()
1130 wValue += wLength; in RFbRFTableDownload()
Dusbpipe.c113 WORD wValue, in PIPEnsControlOutAsyn() argument
137 wValue, in PIPEnsControlOutAsyn()
156 WORD wValue, in PIPEnsControlOut() argument
178 pDevice->sUsbCtlRequest.wValue = cpu_to_le16p(&wValue); in PIPEnsControlOut()
221 WORD wValue, in PIPEnsControlIn() argument
243 pDevice->sUsbCtlRequest.wValue = cpu_to_le16p(&wValue); in PIPEnsControlIn()
/linux-3.4.99/drivers/usb/musb/
Dmusb_virthub.c233 u16 wValue, in musb_hub_control() argument
257 switch (wValue) { in musb_hub_control()
269 switch (wValue) { in musb_hub_control()
288 dev_dbg(musb->controller, "clear feature %d\n", wValue); in musb_hub_control()
289 musb->port1_status &= ~(1 << wValue); in musb_hub_control()
360 switch (wValue) { in musb_hub_control()
424 dev_dbg(musb->controller, "set feature %d\n", wValue); in musb_hub_control()
425 musb->port1_status |= 1 << wValue; in musb_hub_control()
Dmusb_gadget_ep0.c241 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
248 if (ctrlrequest->wValue in service_zero_data_request()
267 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
324 switch (ctrlrequest->wValue) { in service_zero_data_request()
431 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
611 le16_to_cpu(req->wValue), in musb_read_setup()
/linux-3.4.99/drivers/usb/wusbcore/
Drh.c166 static int wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue, in wusbhc_rh_get_hub_descr() argument
352 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, in wusbhc_rh_control() argument
361 wusbhc, wValue, wIndex, in wusbhc_rh_control()
365 result = wusbhc_rh_clear_hub_feat(wusbhc, wValue); in wusbhc_rh_control()
372 result = wusbhc_rh_set_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
376 result = wusbhc_rh_clear_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
388 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
/linux-3.4.99/drivers/usb/host/
Dfhci-hub.c206 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in fhci_hub_control() argument
222 switch (wValue) { in fhci_hub_control()
231 fhci->vroot_hub->feature &= (1 << wValue); in fhci_hub_control()
233 switch (wValue) { in fhci_hub_control()
295 switch (wValue) { in fhci_hub_control()
304 fhci->vroot_hub->feature |= (1 << wValue); in fhci_hub_control()
306 switch (wValue) { in fhci_hub_control()
Dohci-s3c2410.c149 u16 wValue, in ohci_s3c2410_hub_control() argument
161 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
167 ret = ohci_hub_control(hcd, typeReq, wValue, in ohci_s3c2410_hub_control()
176 if (wValue == USB_PORT_FEAT_POWER) { in ohci_s3c2410_hub_control()
184 switch (wValue) { in ohci_s3c2410_hub_control()
217 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
Dohci-jz4740.c81 static int ohci_jz4740_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_jz4740_hub_control() argument
89 if (wValue == USB_PORT_FEAT_POWER) in ohci_jz4740_hub_control()
93 if (wValue == USB_PORT_FEAT_POWER) in ohci_jz4740_hub_control()
101 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_jz4740_hub_control()
Duhci-hub.c240 static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in uhci_hub_control() argument
314 switch (wValue) { in uhci_hub_control()
326 switch (wValue) { in uhci_hub_control()
350 switch (wValue) { in uhci_hub_control()
Dxhci-hub.c351 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit() argument
357 switch (wValue) { in xhci_clear_port_change_bit()
538 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in xhci_hub_control() argument
568 wValue != (USB_DT_SS_HUB << 8))) { in xhci_hub_control()
577 if ((wValue & 0xff00) != (USB_DT_BOS << 8)) in xhci_hub_control()
696 if (wValue == USB_PORT_FEAT_LINK_STATE) in xhci_hub_control()
698 if (wValue == USB_PORT_FEAT_REMOTE_WAKE_MASK) in xhci_hub_control()
711 switch (wValue) { in xhci_hub_control()
868 switch (wValue) { in xhci_hub_control()
905 xhci_clear_port_change_bit(xhci, wValue, wIndex, in xhci_hub_control()
Dohci-at91.c300 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_at91_hub_control() argument
310 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
316 if (wValue == USB_PORT_FEAT_POWER) { in ohci_at91_hub_control()
328 switch (wValue) { in ohci_at91_hub_control()
361 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
Dohci-da8xx.c170 static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_da8xx_hub_control() argument
212 switch (wValue) { in ohci_da8xx_hub_control()
234 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_da8xx_hub_control()
Dehci-tegra.c133 u16 wValue, in tegra_ehci_hub_control() argument
155 if (typeReq == ClearPortFeature && wValue == USB_PORT_FEAT_ENABLE) { in tegra_ehci_hub_control()
170 else if (typeReq == SetPortFeature && wValue == USB_PORT_FEAT_SUSPEND) { in tegra_ehci_hub_control()
195 (typeReq == SetPortFeature && wValue == USB_PORT_FEAT_RESET)) { in tegra_ehci_hub_control()
208 wValue == USB_PORT_FEAT_SUSPEND) { in tegra_ehci_hub_control()
248 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in tegra_ehci_hub_control()
/linux-3.4.99/drivers/usb/c67x00/
Dc67x00-hcd.c80 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() argument
127 switch (wValue) { in c67x00_hub_control()
142 switch (wValue) { in c67x00_hub_control()
162 __func__, port, wValue); in c67x00_hub_control()
171 switch (wValue) { in c67x00_hub_control()
223 __func__, port, wValue); in c67x00_hub_control()
/linux-3.4.99/drivers/staging/usbip/
Dvhci_hcd.c46 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue,
261 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in vhci_hub_control() argument
278 usbip_dbg_vhci_rh("typeReq %x wValue %x wIndex %x\n", typeReq, wValue, in vhci_hub_control()
299 switch (wValue) { in vhci_hub_control()
333 wValue); in vhci_hub_control()
334 dum->port_status[rhport] &= ~(1 << wValue); in vhci_hub_control()
401 switch (wValue) { in vhci_hub_control()
423 wValue); in vhci_hub_control()
424 dum->port_status[rhport] |= (1 << wValue); in vhci_hub_control()
569 ctrlreq->wValue, vdev->rhport); in vhci_urb_enqueue()
[all …]
Dstub_rx.c36 (req->wValue == USB_ENDPOINT_HALT); in is_clear_halt_cmd()
66 value = le16_to_cpu(req->wValue); in is_reset_device_cmd()
122 alternate = le16_to_cpu(req->wValue); in tweak_set_interface_cmd()
145 config = le16_to_cpu(req->wValue); in tweak_set_configuration_cmd()
/linux-3.4.99/drivers/usb/dwc3/
Dep0.c313 u32 wValue; in dwc3_ep0_handle_feature() local
317 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_feature()
327 switch (wValue) { in dwc3_ep0_handle_feature()
338 switch (wValue) { in dwc3_ep0_handle_feature()
363 switch (wValue) { in dwc3_ep0_handle_feature()
378 switch (wValue) { in dwc3_ep0_handle_feature()
406 addr = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_address()
446 cfg = le16_to_cpu(ctrl->wValue); in dwc3_ep0_set_config()
/linux-3.4.99/drivers/media/dvb/b2c2/
Dflexcop-usb.c204 u16 wValue;
208 wValue = (func << 8) | extra;
213 wValue,
228 u16 wValue, wIndex; in flexcop_usb_i2c_req() local
252 wValue = (func << 8) | (i2c->port << 4); in flexcop_usb_i2c_req()
257 wValue & 0xff, wValue >> 8, in flexcop_usb_i2c_req()
263 wValue, in flexcop_usb_i2c_req()
/linux-3.4.99/drivers/usb/renesas_usbhs/
Dmod_host.c779 req.wValue = usbhsh_device_number(hpriv, udev); in usbhsh_setup_stage_packet_push()
780 dev_dbg(dev, "create new address - %d\n", req.wValue); in usbhsh_setup_stage_packet_push()
1089 u16 typeReq, u16 wValue, in __usbhsh_hub_hub_feature() argument
1095 switch (wValue) { in __usbhsh_hub_hub_feature()
1106 u16 typeReq, u16 wValue, in __usbhsh_hub_port_feature() argument
1120 switch (wValue) { in __usbhsh_hub_port_feature()
1183 usbhsh_port_stat_set(hpriv, (1 << wValue)); in __usbhsh_hub_port_feature()
1185 usbhsh_port_stat_clear(hpriv, (1 << wValue)); in __usbhsh_hub_port_feature()
1191 u16 typeReq, u16 wValue, in __usbhsh_hub_get_status() argument
1230 static int usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in usbhsh_hub_control() argument
[all …]
/linux-3.4.99/drivers/media/video/cx231xx/
Dcx231xx-core.c181 ven_req.wValue = in cx231xx_send_usb_command()
186 ven_req.wValue = in cx231xx_send_usb_command()
376 ven_req->wValue = ven_req->wValue & 0xFFFB; in cx231xx_send_vendor_cmd()
377 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x2; in cx231xx_send_vendor_cmd()
380 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
385 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x42; in cx231xx_send_vendor_cmd()
391 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
397 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x40; in cx231xx_send_vendor_cmd()
401 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
406 ven_req->wValue, ven_req->wIndex, in cx231xx_send_vendor_cmd()
[all …]
/linux-3.4.99/include/linux/
Dusbdevice_fs.h42 __u16 wValue; member
135 u16 wValue; member
/linux-3.4.99/drivers/staging/ozwpan/
Dozusbsvc1.c189 unsigned wvalue = le16_to_cpu(setup->wValue); in oz_usb_control_req()
194 (void *)(((unsigned long)(setup->wValue))<<16 | in oz_usb_control_req()
218 setup->wValue); in oz_usb_control_req()
224 (u8)windex, setup->wValue); in oz_usb_control_req()
229 setup->bRequest, setup->wValue, setup->wIndex, in oz_usb_control_req()
/linux-3.4.99/drivers/input/misc/
Dpowermate.c126 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state()
130 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state()
162 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state()
166 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
/linux-3.4.99/drivers/usb/gadget/
Df_uac1.c361 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_intf_req()
398 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_intf_req()
433 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req()
469 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_endpoint_req()
497 u16 w_value = le16_to_cpu(ctrl->wValue); in f_audio_setup()

123456