Home
last modified time | relevance | path

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

1234

/drivers/usb/musb/
Dmusb_virthub.c223 u16 wValue, in musb_hub_control() argument
247 switch (wValue) { in musb_hub_control()
259 switch (wValue) { in musb_hub_control()
278 DBG(5, "clear feature %d\n", wValue); in musb_hub_control()
279 musb->port1_status &= ~(1 << wValue); in musb_hub_control()
350 switch (wValue) { in musb_hub_control()
414 DBG(5, "set feature %d\n", wValue); in musb_hub_control()
415 musb->port1_status |= 1 << wValue; in musb_hub_control()
Dmusb_gadget_ep0.c243 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
250 if (ctrlrequest->wValue in service_zero_data_request()
264 || ctrlrequest->wValue in service_zero_data_request()
295 switch (ctrlrequest->wValue) { in service_zero_data_request()
377 || ctrlrequest->wValue in service_zero_data_request()
556 le16_to_cpu(req->wValue), in musb_read_setup()
Dmusb_host.h90 u16 typeReq, u16 wValue, u16 wIndex,
/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.c153 u16 wValue, in ohci_s3c2410_hub_control() argument
165 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
171 ret = ohci_hub_control(hcd, typeReq, wValue, in ohci_s3c2410_hub_control()
180 if (wValue == USB_PORT_FEAT_POWER) { in ohci_s3c2410_hub_control()
188 switch (wValue) { in ohci_s3c2410_hub_control()
222 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
Duhci-hub.c239 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()
Dehci-hub.c38 u16 wValue,
557 u16 wValue, in ehci_hub_control() argument
581 switch (wValue) { in ehci_hub_control()
603 switch (wValue) { in ehci_hub_control()
807 switch (wValue) { in ehci_hub_control()
827 switch (wValue) { in ehci_hub_control()
Dohci-hub.c694 u16 wValue, in ohci_hub_control() argument
709 switch (wValue) { in ohci_hub_control()
724 switch (wValue) { in ohci_hub_control()
776 switch (wValue) { in ohci_hub_control()
789 switch (wValue) { in ohci_hub_control()
Dsl811-hcd.c1203 u16 wValue, in sl811h_hub_control() argument
1217 switch (wValue) { in sl811h_hub_control()
1229 switch (wValue) { in sl811h_hub_control()
1265 sl811->port1 &= ~(1 << wValue); in sl811h_hub_control()
1286 switch (wValue) { in sl811h_hub_control()
1319 sl811->port1 |= 1 << wValue; in sl811h_hub_control()
/drivers/usb/wusbcore/
Drh.c164 static int wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue, in wusbhc_rh_get_hub_descr() argument
350 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, in wusbhc_rh_control() argument
359 wusbhc, wValue, wIndex, in wusbhc_rh_control()
363 result = wusbhc_rh_clear_hub_feat(wusbhc, wValue); in wusbhc_rh_control()
370 result = wusbhc_rh_set_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
374 result = wusbhc_rh_clear_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control()
386 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
/drivers/staging/epl/
Damix86.c135 twStruct wValue; in AmiSetWordToBe() local
137 wValue.m_wWord = (WORD) ((wWordVal_p & 0x00FF) << 8); //LSB to MSB in AmiSetWordToBe()
138 wValue.m_wWord |= (WORD) ((wWordVal_p & 0xFF00) >> 8); //MSB to LSB in AmiSetWordToBe()
141 pwStruct->m_wWord = wValue.m_wWord; in AmiSetWordToBe()
242 twStruct wValue; in AmiGetWordFromBe() local
246 wValue.m_wWord = (WORD) ((pwStruct->m_wWord & 0x00FF) << 8); //LSB to MSB in AmiGetWordFromBe()
247 wValue.m_wWord |= (WORD) ((pwStruct->m_wWord & 0xFF00) >> 8); //MSB to LSB in AmiGetWordFromBe()
249 return (wValue.m_wWord); in AmiGetWordFromBe()
/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()
/drivers/staging/usbip/
Dvhci_hcd.c49 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 dbg_vhci_rh("typeReq %x wValue %x wIndex %x\n", typeReq, wValue, in vhci_hub_control()
300 switch (wValue) { in vhci_hub_control()
332 dbg_vhci_rh(" ClearPortFeature: default %x\n", wValue); in vhci_hub_control()
333 dum->port_status[rhport] &= ~(1 << wValue); in vhci_hub_control()
426 switch (wValue) { in vhci_hub_control()
463 dbg_vhci_rh(" SetPortFeature: default %d\n", wValue); in vhci_hub_control()
464 dum->port_status[rhport] |= (1 << wValue); in vhci_hub_control()
605 ctrlreq->wValue, vdev->rhport); in vhci_urb_enqueue()
[all …]
Dstub_rx.c33 (req->wValue == USB_ENDPOINT_HALT); in is_clear_halt_cmd()
63 value = le16_to_cpu(req->wValue); in is_reset_device_cmd()
119 alternate = le16_to_cpu(req->wValue); in tweak_set_interface_cmd()
142 config = le16_to_cpu(req->wValue); in tweak_set_configuration_cmd()
175 value = le16_to_cpu(req->wValue); in tweak_reset_device_cmd()
/drivers/media/dvb/b2c2/
Dflexcop-usb.c192 u16 wValue;
199 wValue = (func << 8) | extra;
204 wValue,
219 u16 wValue, wIndex; in flexcop_usb_i2c_req() local
246 wValue = (func << 8) | (i2c->port << 4); in flexcop_usb_i2c_req()
250 wValue & 0xff, wValue >> 8, wIndex & 0xff, wIndex >> 8); in flexcop_usb_i2c_req()
255 wValue, in flexcop_usb_i2c_req()
/drivers/input/misc/
Dpowermate.c127 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state()
131 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state()
163 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state()
167 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
/drivers/usb/core/
Dhcd.c358 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
380 wValue = le16_to_cpu (cmd->wValue); in rh_call_control()
416 if (wValue == USB_DEVICE_REMOTE_WAKEUP) in rh_call_control()
423 && wValue == USB_DEVICE_REMOTE_WAKEUP) in rh_call_control()
435 switch (wValue & 0xff00) { in rh_call_control()
459 n = rh_string (wValue & 0xff, hcd, ubuf, wLength); in rh_call_control()
477 wValue); in rh_call_control()
509 typeReq, wValue, wIndex, in rh_call_control()
523 typeReq, wValue, wIndex, in rh_call_control()
/drivers/usb/gadget/
Dprinter.c1140 u16 wValue = le16_to_cpu(ctrl->wValue); in printer_setup() local
1144 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_setup()
1156 switch (wValue >> 8) { in printer_setup()
1178 wValue >> 8, in printer_setup()
1179 wValue & 0xff, in printer_setup()
1187 wValue & 0xff, req->buf); in printer_setup()
1201 value = printer_set_config(dev, wValue); in printer_setup()
1274 wValue, wIndex, wLength); in printer_setup()
Df_ecm.c317 event->wValue = cpu_to_le16(1); in ecm_do_notify()
319 event->wValue = cpu_to_le16(0); in ecm_do_notify()
330 event->wValue = cpu_to_le16(0); in ecm_do_notify()
395 u16 w_value = le16_to_cpu(ctrl->wValue); in ecm_setup()
Ddummy_hcd.c1308 w_value = le16_to_cpu(setup.wValue); in dummy_timer()
1589 u16 wValue, in dummy_hub_control() argument
1607 switch (wValue) { in dummy_hub_control()
1621 dum->port_status &= ~(1 << wValue); in dummy_hub_control()
1676 switch (wValue) { in dummy_hub_control()
1706 dum->port_status |= (1 << wValue); in dummy_hub_control()
1715 typeReq, wValue, wIndex, wLength); in dummy_hub_control()
/drivers/usb/misc/
Dusbtest.c874 req.wValue = cpu_to_le16 (USB_DT_DEVICE << 8); in test_ctrl_queue()
878 req.wValue = cpu_to_le16 ((USB_DT_CONFIG << 8) | 0); in test_ctrl_queue()
900 req.wValue = cpu_to_le16 (USB_DT_DEVICE_QUALIFIER << 8); in test_ctrl_queue()
906 req.wValue = cpu_to_le16 ((USB_DT_CONFIG << 8) | 0); in test_ctrl_queue()
911 req.wValue = cpu_to_le16 (USB_DT_INTERFACE << 8); in test_ctrl_queue()
934 req.wValue = cpu_to_le16 ((USB_DT_CONFIG << 8) | 0); in test_ctrl_queue()
940 req.wValue = cpu_to_le16 (USB_DT_ENDPOINT << 8); in test_ctrl_queue()
947 req.wValue = cpu_to_le16 (USB_DT_STRING << 8); in test_ctrl_queue()
954 req.wValue = cpu_to_le16 ((USB_DT_CONFIG << 8) | 0); in test_ctrl_queue()
960 req.wValue = cpu_to_le16 ((USB_DT_DEVICE << 8) | 0); in test_ctrl_queue()
/drivers/net/irda/
Dks959-sir.c311 kingsun->tx_setuprequest->wValue = cpu_to_le16(wraplen); in ks959_submit_tx_fragment()
728 kingsun->rx_setuprequest->wValue = cpu_to_le16(0x0200); in ks959_probe()
748 kingsun->tx_setuprequest->wValue = 0; in ks959_probe()
760 kingsun->speed_setuprequest->wValue = cpu_to_le16(0x0200); in ks959_probe()
/drivers/staging/winbond/
Dwb35reg.c45 dr->wValue = cpu_to_le16( Flag ); // 0: Register number auto-increment, 1: No auto increment in Wb35Reg_BurstWrite()
190 dr->wValue = cpu_to_le16(0x0); in Wb35Reg_Write()
252 dr->wValue = cpu_to_le16(0x0); in Wb35Reg_WriteWithCallbackValue()
357 dr->wValue = cpu_to_le16(0x0); in Wb35Reg_Read()
Dmac_structures.h252 u16 __attribute__ ((packed)) wValue; member
481 u16 __attribute__ ((packed)) wValue; member
/drivers/net/usb/
Dcdc_ether.c367 event->wValue ? "on" : "off"); in cdc_status()
368 if (event->wValue) in cdc_status()

1234