Home
last modified time | relevance | path

Searched refs:wValue (Results 26 – 50 of 195) sorted by relevance

12345678

/openbmc/u-boot/drivers/usb/gadget/
H A Dfotg210.c367 debug("fotg210: set_cfg(%d)\n", req->wValue & 0x00FF); in fotg210_setup()
368 if (!(req->wValue & 0x00FF)) { in fotg210_setup()
380 debug("fotg210: set_addr(0x%04X)\n", req->wValue); in fotg210_setup()
382 chip->addr = req->wValue & DEVADDR_ADDR_MASK; in fotg210_setup()
389 req->bRequestType & 0x03, req->wValue); in fotg210_setup()
390 switch (req->wValue) { in fotg210_setup()
405 req->wValue, req->wIndex & 0xf); in fotg210_setup()
406 switch (req->wValue) { in fotg210_setup()
H A Ddwc2_udc_otg_xfer_dma.c1151 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature()
1170 usb_ctrl->wValue); in dwc2_udc_clear_feature()
1172 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_clear_feature()
1215 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature()
1249 if (usb_ctrl->wValue == USB_ENDPOINT_HALT) { in dwc2_udc_set_feature()
1286 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1347 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1352 udc_set_address(dev, usb_ctrl->wValue); in dwc2_ep0_setup()
1360 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
1376 __func__, usb_ctrl->wValue); in dwc2_ep0_setup()
/openbmc/linux/drivers/usb/host/
H A Dohci-at91.c351 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_at91_hub_control() argument
362 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control()
368 switch (wValue) { in ohci_at91_hub_control()
389 switch (wValue) { in ohci_at91_hub_control()
431 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
H A Dohci-da8xx.c35 u16 wValue, u16 wIndex, char *buf, u16 wLength);
301 static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_da8xx_hub_control() argument
342 switch (wValue) { in ohci_da8xx_hub_control()
361 return orig_ohci_hub_control(hcd, typeReq, wValue, in ohci_da8xx_hub_control()
H A Dxhci-hub.c617 switch (wValue) { in xhci_clear_port_change_bit()
1197 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in xhci_hub_control() argument
1235 wValue != (USB_DT_SS_HUB << 8))) { in xhci_hub_control()
1244 if ((wValue & 0xff00) != (USB_DT_BOS << 8)) in xhci_hub_control()
1276 if (wValue == 0x02) { in xhci_hub_control()
1290 if (wValue == USB_PORT_FEAT_LINK_STATE) in xhci_hub_control()
1292 if (wValue == USB_PORT_FEAT_REMOTE_WAKE_MASK) in xhci_hub_control()
1294 if (wValue == USB_PORT_FEAT_TEST) in xhci_hub_control()
1313 switch (wValue) { in xhci_hub_control()
1564 switch (wValue) { in xhci_hub_control()
[all …]
H A Dohci-hub.c679 u16 wValue, in ohci_hub_control() argument
694 switch (wValue) { in ohci_hub_control()
710 switch (wValue) { in ohci_hub_control()
760 switch (wValue) { in ohci_hub_control()
773 switch (wValue) { in ohci_hub_control()
H A Dehci-brcm.c55 u16 wValue, in ehci_brcm_hub_control() argument
91 retval = ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ehci_brcm_hub_control()
H A Dohci-pxa27x.c192 static int pxa27x_ohci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in pxa27x_ohci_hub_control() argument
204 if (wValue != USB_PORT_FEAT_POWER) in pxa27x_ohci_hub_control()
214 return ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in pxa27x_ohci_hub_control()
/openbmc/linux/drivers/input/misc/
H A Dpowermate.c130 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state()
134 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state()
166 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state()
170 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
/openbmc/linux/drivers/media/usb/cx231xx/
H A Dcx231xx-core.c163 ven_req.wValue = (req_data->dev_addr << 9 | _i2c_period << 4 | in cx231xx_send_usb_command()
355 ven_req->wValue = ven_req->wValue & 0xFFFB; in cx231xx_send_vendor_cmd()
356 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x2; in cx231xx_send_vendor_cmd()
359 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
364 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x42; in cx231xx_send_vendor_cmd()
370 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
376 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x40; in cx231xx_send_vendor_cmd()
380 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd()
385 ven_req->wValue, ven_req->wIndex, in cx231xx_send_vendor_cmd()
1479 ven_req.wValue = (u16) (gpio_bit >> 16 & 0xffff); in cx231xx_send_gpio_cmd()
/openbmc/linux/drivers/hid/
H A Dhid-thrustmaster.c132 .wValue = 0,
140 .wValue = 0, // Will be filled by the driver
244 tm_wheel->change_request->wValue = cpu_to_le16(twi->switch_value); in thrustmaster_model_handler()
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_gadget_ep0.c222 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
229 if (ctrlrequest->wValue in service_zero_data_request()
248 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
305 switch (ctrlrequest->wValue) { in service_zero_data_request()
412 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
592 le16_to_cpu(req->wValue), in musb_read_setup()
H A Dmusb_host.h69 u16 typeReq, u16 wValue, u16 wIndex,
/openbmc/linux/drivers/usb/musb/
H A Dmusb_gadget_ep0.c220 musb->address = (u8) (ctrlrequest->wValue & 0x7f); in service_zero_data_request()
227 if (ctrlrequest->wValue in service_zero_data_request()
246 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
303 switch (ctrlrequest->wValue) { in service_zero_data_request()
406 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request()
588 le16_to_cpu(req->wValue), in musb_read_setup()
/openbmc/linux/drivers/usb/dwc3/
H A Dtrace.h78 __field(__u16, wValue)
85 __entry->wValue = le16_to_cpu(ctrl->wValue);
91 __entry->bRequest, __entry->wValue,
/openbmc/linux/drivers/media/usb/b2c2/
H A Dflexcop-usb.c235 u16 wValue, wIndex; in flexcop_usb_i2c_req() local
264 wValue = (func << 8) | (i2c->port << 4); in flexcop_usb_i2c_req()
269 wValue & 0xff, wValue >> 8, in flexcop_usb_i2c_req()
280 wValue, in flexcop_usb_i2c_req()
/openbmc/linux/include/linux/usb/
H A Dch9.h56 __u8 bRequest, __u16 wValue, __u16 wIndex,
/openbmc/linux/drivers/net/usb/
H A Dcdc_ether.c420 event->wValue ? "on" : "off"); in usbnet_cdc_status()
421 usbnet_link_change(dev, !!event->wValue, 0); in usbnet_cdc_status()
515 event->wValue ? "on" : "off"); in usbnet_cdc_zte_status()
517 if (event->wValue && in usbnet_cdc_zte_status()
521 usbnet_link_change(dev, !!event->wValue, 0); in usbnet_cdc_zte_status()
/openbmc/linux/include/linux/
H A Dusbdevice_fs.h40 u16 wValue; member
/openbmc/linux/drivers/usb/usbip/
H A Dstub_rx.c23 (req->wValue == USB_ENDPOINT_HALT); in is_clear_halt_cmd()
53 value = le16_to_cpu(req->wValue); in is_reset_device_cmd()
111 alternate = le16_to_cpu(req->wValue); in tweak_set_interface_cmd()
139 config = le16_to_cpu(req->wValue); in tweak_set_configuration_cmd()
/openbmc/u-boot/drivers/usb/host/
H A Ddwc2.c598 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_in_descriptor() local
603 switch (wValue & 0xff00) { in dwc_otg_submit_rh_msg_in_descriptor()
613 switch (wValue & 0xff) { in dwc_otg_submit_rh_msg_in_descriptor()
727 uint16_t wValue = cpu_to_le16(cmd->value); in dwc_otg_submit_rh_msg_out() local
735 switch (wValue) { in dwc_otg_submit_rh_msg_out()
743 switch (wValue) { in dwc_otg_submit_rh_msg_out()
770 priv->root_hub_devnum = wValue; in dwc_otg_submit_rh_msg_out()
H A Dohci-hcd.c1250 __u16 wValue; in ohci_submit_rh_msg() local
1267 wValue = le16_to_cpu(cmd->value); in ohci_submit_rh_msg()
1272 dev->devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in ohci_submit_rh_msg()
1301 switch (wValue) { in ohci_submit_rh_msg()
1308 switch (wValue) { in ohci_submit_rh_msg()
1318 switch (wValue) { in ohci_submit_rh_msg()
1331 switch (wValue) { in ohci_submit_rh_msg()
1349 ohci->rh.devnum = wValue; in ohci_submit_rh_msg()
1353 switch ((wValue & 0xff00) >> 8) { in ohci_submit_rh_msg()
1369 if (wValue == 0x0300) { in ohci_submit_rh_msg()
[all …]
/openbmc/linux/drivers/usb/core/
H A Dhcd.c460 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
481 wValue = le16_to_cpu (cmd->wValue); in rh_call_control()
531 if (wValue == USB_DEVICE_REMOTE_WAKEUP) in rh_call_control()
538 && wValue == USB_DEVICE_REMOTE_WAKEUP) in rh_call_control()
550 switch (wValue & 0xff00) { in rh_call_control()
596 if ((wValue & 0xff) < 4) in rh_call_control()
617 wValue); in rh_call_control()
645 if (wValue == HUB_PORT_STATUS) in rh_call_control()
659 typeReq, wValue, wIndex, in rh_call_control()
677 typeReq, wValue, wIndex, in rh_call_control()
[all …]
/openbmc/linux/drivers/usb/gadget/udc/
H A Drenesas_usbf.c2241 u16 wValue; in usbf_req_get_status() local
2244 wValue = le16_to_cpu(ctrlrequest->wValue); in usbf_req_get_status()
2263 if ((wValue != 0) || (wLength != 2)) in usbf_req_get_status()
2301 u16 wValue; in usbf_req_clear_set_feature() local
2304 wValue = le16_to_cpu(ctrlrequest->wValue); in usbf_req_clear_set_feature()
2374 u16 wValue; in usbf_req_set_address() local
2378 wValue = le16_to_cpu(ctrlrequest->wValue); in usbf_req_set_address()
2388 addr = wValue; in usbf_req_set_address()
2410 u16 wValue; in usbf_req_set_configuration() local
2418 wValue = le16_to_cpu(ctrlrequest->wValue); in usbf_req_set_configuration()
[all …]
/openbmc/u-boot/include/
H A Dusbdevice.h353 u16 wValue; member
731 serial_printf("\twValue 0x%4.4x\n", r->wValue); in print_usb_device_request()
733 switch (r->wValue >> 8) { in print_usb_device_request()

12345678