/Linux-v4.19/drivers/usb/gadget/udc/aspeed-vhub/ |
D | hub.c | 173 u16 wIndex, u16 wValue) in ast_vhub_hub_dev_status() argument 196 u16 wIndex, u16 wValue) in ast_vhub_hub_ep_status() argument 215 u16 wIndex, u16 wValue, in ast_vhub_hub_dev_feature() argument 219 is_set ? "SET" : "CLEAR", wValue); in ast_vhub_hub_dev_feature() 221 if (wValue != USB_DEVICE_REMOTE_WAKEUP) in ast_vhub_hub_dev_feature() 232 u16 wIndex, u16 wValue, in ast_vhub_hub_ep_feature() argument 240 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_hub_ep_feature() 244 if (wValue != USB_ENDPOINT_HALT) in ast_vhub_hub_ep_feature() 339 u16 wValue, wIndex, wLength; in ast_vhub_std_hub_request() local 341 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_hub_request() [all …]
|
D | dev.c | 100 u16 wIndex, u16 wValue, in ast_vhub_dev_feature() argument 104 is_set ? "SET" : "CLEAR", wValue); in ast_vhub_dev_feature() 106 if (wValue != USB_DEVICE_REMOTE_WAKEUP) in ast_vhub_dev_feature() 115 u16 wIndex, u16 wValue, bool is_set) in ast_vhub_ep_feature() argument 122 is_set ? "SET" : "CLEAR", ep_num, wValue); in ast_vhub_ep_feature() 127 if (wValue != USB_ENDPOINT_HALT) in ast_vhub_ep_feature() 147 u16 wIndex, u16 wValue) in ast_vhub_dev_status() argument 161 u16 wIndex, u16 wValue) in ast_vhub_ep_status() argument 201 u16 wValue, wIndex; in ast_vhub_std_dev_request() local 221 wValue = le16_to_cpu(crq->wValue); in ast_vhub_std_dev_request() [all …]
|
/Linux-v4.19/drivers/usb/dwc3/ |
D | debug.h | 406 __u8 bRequest, __u16 wValue, __u16 wIndex, __u16 wLength) in dwc3_decode_ctrl() argument 414 dwc3_decode_set_clear_feature(bRequestType, bRequest, wValue, in dwc3_decode_ctrl() 418 dwc3_decode_set_address(wValue, str); in dwc3_decode_ctrl() 422 dwc3_decode_get_set_descriptor(bRequestType, bRequest, wValue, in dwc3_decode_ctrl() 429 dwc3_decode_set_configuration(wValue, str); in dwc3_decode_ctrl() 435 dwc3_decode_set_intf(wValue, wIndex, str); in dwc3_decode_ctrl() 444 dwc3_decode_set_isoch_delay(wValue, str); in dwc3_decode_ctrl() 449 cpu_to_le16(wValue) & 0xff, in dwc3_decode_ctrl() 450 cpu_to_le16(wValue) >> 8, in dwc3_decode_ctrl()
|
D | ep0.c | 318 value = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_status() 443 u32 wValue; in dwc3_ep0_handle_device() local 447 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_device() 451 switch (wValue) { in dwc3_ep0_handle_device() 480 u32 wValue; in dwc3_ep0_handle_intf() local 483 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_intf() 485 switch (wValue) { in dwc3_ep0_handle_intf() 506 u32 wValue; in dwc3_ep0_handle_endpoint() local 509 wValue = le16_to_cpu(ctrl->wValue); in dwc3_ep0_handle_endpoint() 511 switch (wValue) { in dwc3_ep0_handle_endpoint() [all …]
|
D | trace.h | 77 __field(__u16, wValue) 85 __entry->wValue = le16_to_cpu(ctrl->wValue); 90 __entry->bRequest, __entry->wValue,
|
/Linux-v4.19/drivers/usb/wusbcore/ |
D | rh.c | 160 static int wusbhc_rh_get_hub_descr(struct wusbhc *wusbhc, u16 wValue, in wusbhc_rh_get_hub_descr() argument 346 int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue, in wusbhc_rh_control() argument 355 wusbhc, wValue, wIndex, in wusbhc_rh_control() 359 result = wusbhc_rh_clear_hub_feat(wusbhc, wValue); in wusbhc_rh_control() 366 result = wusbhc_rh_set_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control() 370 result = wusbhc_rh_clear_port_feat(wusbhc, wValue, wIndex >> 8, in wusbhc_rh_control() 382 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
|
/Linux-v4.19/drivers/usb/musb/ |
D | musb_virthub.c | 264 u16 wValue, in musb_hub_control() argument 289 switch (wValue) { in musb_hub_control() 301 switch (wValue) { in musb_hub_control() 320 musb_dbg(musb, "clear feature %d", wValue); in musb_hub_control() 321 musb->port1_status &= ~(1 << wValue); in musb_hub_control() 361 switch (wValue) { in musb_hub_control() 425 musb_dbg(musb, "set feature %d", wValue); in musb_hub_control() 426 musb->port1_status |= 1 << wValue; in musb_hub_control()
|
D | musb_gadget_ep0.c | 220 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() 410 ctrlrequest->wValue != USB_ENDPOINT_HALT) in service_zero_data_request() 592 le16_to_cpu(req->wValue), in musb_read_setup()
|
/Linux-v4.19/drivers/usb/host/ |
D | fhci-hub.c | 202 int fhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in fhci_hub_control() argument 217 switch (wValue) { in fhci_hub_control() 226 fhci->vroot_hub->feature &= (1 << wValue); in fhci_hub_control() 228 switch (wValue) { in fhci_hub_control() 286 switch (wValue) { in fhci_hub_control() 295 fhci->vroot_hub->feature |= (1 << wValue); in fhci_hub_control() 297 switch (wValue) { in fhci_hub_control()
|
D | ohci-s3c2410.c | 165 u16 wValue, in ohci_s3c2410_hub_control() argument 177 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control() 183 ret = ohci_hub_control(hcd, typeReq, wValue, in ohci_s3c2410_hub_control() 192 if (wValue == USB_PORT_FEAT_POWER) { in ohci_s3c2410_hub_control() 200 switch (wValue) { in ohci_s3c2410_hub_control() 233 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
|
D | uhci-hub.c | 243 static int uhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in uhci_hub_control() argument 319 switch (wValue) { in uhci_hub_control() 331 switch (wValue) { in uhci_hub_control() 356 switch (wValue) { in uhci_hub_control()
|
D | ehci-tegra.c | 173 u16 wValue, in tegra_ehci_hub_control() argument 199 else if (typeReq == SetPortFeature && wValue == USB_PORT_FEAT_SUSPEND) { in tegra_ehci_hub_control() 224 (typeReq == SetPortFeature && wValue == USB_PORT_FEAT_RESET)) { in tegra_ehci_hub_control() 237 wValue == USB_PORT_FEAT_SUSPEND) { in tegra_ehci_hub_control() 277 return ehci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in tegra_ehci_hub_control()
|
D | ohci-at91.c | 325 static int ohci_at91_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_at91_hub_control() argument 336 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_at91_hub_control() 342 switch (wValue) { in ohci_at91_hub_control() 364 switch (wValue) { in ohci_at91_hub_control() 407 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex + 1, buf, wLength); in ohci_at91_hub_control()
|
D | xhci-hub.c | 494 static void xhci_clear_port_change_bit(struct xhci_hcd *xhci, u16 wValue, in xhci_clear_port_change_bit() argument 500 switch (wValue) { in xhci_clear_port_change_bit() 1011 int xhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in xhci_hub_control() argument 1046 wValue != (USB_DT_SS_HUB << 8))) { in xhci_hub_control() 1055 if ((wValue & 0xff00) != (USB_DT_BOS << 8)) in xhci_hub_control() 1086 if (wValue == 0x02) { in xhci_hub_control() 1100 if (wValue == USB_PORT_FEAT_LINK_STATE) in xhci_hub_control() 1102 if (wValue == USB_PORT_FEAT_REMOTE_WAKE_MASK) in xhci_hub_control() 1104 if (wValue == USB_PORT_FEAT_TEST) in xhci_hub_control() 1120 switch (wValue) { in xhci_hub_control() [all …]
|
D | ohci-da8xx.c | 33 u16 wValue, u16 wIndex, char *buf, u16 wLength); 329 static int ohci_da8xx_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in ohci_da8xx_hub_control() argument 370 switch (wValue) { in ohci_da8xx_hub_control() 389 return orig_ohci_hub_control(hcd, typeReq, wValue, in ohci_da8xx_hub_control()
|
/Linux-v4.19/drivers/media/usb/gspca/ |
D | dtcs033.c | 28 u16 wValue; member 36 u16 wValue, u16 wIndex, u16 wLength) in reg_rw() argument 48 wValue, wIndex, in reg_rw() 70 preq->wValue, preq->wIndex, preq->wLength); in reg_reqs() 164 u16 wValue = (0xFF00&gainVal)>>8; in dtcs033_setexposure() local 175 bRequestType, bRequest, wValue, wIndex, 0); in dtcs033_setexposure()
|
/Linux-v4.19/drivers/usb/c67x00/ |
D | c67x00-hcd.c | 66 static int c67x00_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in c67x00_hub_control() argument 113 switch (wValue) { in c67x00_hub_control() 128 switch (wValue) { in c67x00_hub_control() 148 __func__, port, wValue); in c67x00_hub_control() 157 switch (wValue) { in c67x00_hub_control() 209 __func__, port, wValue); in c67x00_hub_control()
|
/Linux-v4.19/drivers/staging/greybus/ |
D | usb.c | 24 __le16 wValue; member 98 static int hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, u16 wIndex, in hub_control() argument 121 request->wValue = cpu_to_le16(wValue); in hub_control()
|
/Linux-v4.19/drivers/usb/usbip/ |
D | vhci_hcd.c | 34 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, 315 static int vhci_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in vhci_hub_control() argument 335 usbip_dbg_vhci_rh("typeReq %x wValue %x wIndex %x\n", typeReq, wValue, in vhci_hub_control() 373 switch (wValue) { in vhci_hub_control() 398 wValue); in vhci_hub_control() 399 vhci_hcd->port_status[rhport] &= ~(1 << wValue); in vhci_hub_control() 407 wValue != (USB_DT_SS_HUB << 8))) { in vhci_hub_control() 420 if ((wValue >> 8) != USB_DT_BOS) in vhci_hub_control() 494 switch (wValue) { in vhci_hub_control() 590 wValue); in vhci_hub_control() [all …]
|
D | stub_rx.c | 22 (req->wValue == USB_ENDPOINT_HALT); in is_clear_halt_cmd() 52 value = le16_to_cpu(req->wValue); in is_reset_device_cmd() 110 alternate = le16_to_cpu(req->wValue); in tweak_set_interface_cmd() 138 config = le16_to_cpu(req->wValue); in tweak_set_configuration_cmd()
|
/Linux-v4.19/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 779 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() 1092 u16 typeReq, u16 wValue, in __usbhsh_hub_hub_feature() argument 1098 switch (wValue) { in __usbhsh_hub_hub_feature() 1109 u16 typeReq, u16 wValue, in __usbhsh_hub_port_feature() argument 1123 switch (wValue) { in __usbhsh_hub_port_feature() 1186 usbhsh_port_stat_set(hpriv, (1 << wValue)); in __usbhsh_hub_port_feature() 1188 usbhsh_port_stat_clear(hpriv, (1 << wValue)); in __usbhsh_hub_port_feature() 1194 u16 typeReq, u16 wValue, in __usbhsh_hub_get_status() argument 1234 static int usbhsh_hub_control(struct usb_hcd *hcd, u16 typeReq, u16 wValue, in usbhsh_hub_control() argument [all …]
|
/Linux-v4.19/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 386 u16 wValue; in setup_first_bd_ep0() local 398 wValue = le16_to_cpu(bdc->setup_pkt.wValue); in setup_first_bd_ep0() 399 if ((wValue > req_len) && in setup_first_bd_ep0() 402 wValue, req_len, in setup_first_bd_ep0() 1110 addr = le16_to_cpu(ctrl->wValue); in ep0_set_address() 1144 static int ep0_handle_feature_dev(struct bdc *bdc, u16 wValue, in ep0_handle_feature_dev() argument 1152 switch (wValue) { in ep0_handle_feature_dev() 1219 dev_err(bdc->dev, "Unknown wValue:%d\n", wValue); in ep0_handle_feature_dev() 1232 u16 wValue; in ep0_handle_feature() local 1236 wValue = le16_to_cpu(setup_pkt->wValue); in ep0_handle_feature() [all …]
|
/Linux-v4.19/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 179 ven_req.wValue = (req_data->dev_addr << 9 | _i2c_period << 4 | in cx231xx_send_usb_command() 371 ven_req->wValue = ven_req->wValue & 0xFFFB; in cx231xx_send_vendor_cmd() 372 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x2; in cx231xx_send_vendor_cmd() 375 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd() 380 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x42; in cx231xx_send_vendor_cmd() 386 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd() 392 ven_req->wValue = (ven_req->wValue & 0xFFBD) | 0x40; in cx231xx_send_vendor_cmd() 396 ven_req->wValue, ven_req->wIndex, pdata, in cx231xx_send_vendor_cmd() 401 ven_req->wValue, ven_req->wIndex, in cx231xx_send_vendor_cmd() 1495 ven_req.wValue = (u16) (gpio_bit >> 16 & 0xffff); in cx231xx_send_gpio_cmd()
|
/Linux-v4.19/drivers/input/misc/ |
D | powermate.c | 129 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state() 133 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state() 165 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state() 169 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
|
/Linux-v4.19/drivers/media/usb/b2c2/ |
D | flexcop-usb.c | 235 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()
|