Home
last modified time | relevance | path

Searched refs:wLength (Results 1 – 25 of 92) sorted by relevance

1234

/drivers/usb/wusbcore/
Drh.c167 u16 wLength) in wusbhc_rh_get_hub_descr() argument
172 if (wLength < length) in wusbhc_rh_get_hub_descr()
224 u16 wLength) in wusbhc_rh_get_hub_status() argument
330 u32 *_buf, u16 wLength) in wusbhc_rh_get_port_status() argument
351 u16 wIndex, char *buf, u16 wLength) in wusbhc_rh_control() argument
360 (struct usb_hub_descriptor *) buf, wLength); in wusbhc_rh_control()
366 result = wusbhc_rh_get_hub_status(wusbhc, (u32 *)buf, wLength); in wusbhc_rh_control()
379 (u32 *)buf, wLength); in wusbhc_rh_control()
386 wValue, wIndex, buf, wLength); in wusbhc_rh_control()
/drivers/usb/core/
Ddevio.c676 unsigned wLength; in proc_control() local
684 wLength = ctrl.wLength; /* To suppress 64k PAGE_SIZE warning */ in proc_control()
685 if (wLength > PAGE_SIZE) in proc_control()
692 if (ctrl.wLength && !access_ok(VERIFY_WRITE, ctrl.data, in proc_control()
693 ctrl.wLength)) { in proc_control()
701 ctrl.wIndex, ctrl.wLength); in proc_control()
706 tbuf, ctrl.wLength, tmo); in proc_control()
708 if ((i > 0) && ctrl.wLength) { in proc_control()
721 if (ctrl.wLength) { in proc_control()
722 if (copy_from_user(tbuf, ctrl.data, ctrl.wLength)) { in proc_control()
[all …]
Dhcd.c358 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
382 wLength = le16_to_cpu (cmd->wLength); in rh_call_control()
384 if (wLength > urb->transfer_buffer_length) in rh_call_control()
459 n = rh_string (wValue & 0xff, hcd, ubuf, wLength); in rh_call_control()
510 tbuf, wLength); in rh_call_control()
524 wLength, status); in rh_call_control()
/drivers/usb/host/
Dohci-s3c2410.c156 u16 wLength) in ohci_s3c2410_hub_control() argument
165 hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
172 wIndex, buf, wLength); in ohci_s3c2410_hub_control()
222 ret = ohci_hub_control(hcd, typeReq, wValue, wIndex, buf, wLength); in ohci_s3c2410_hub_control()
Dfhci-hub.c207 u16 wIndex, char *buf, u16 wLength) in fhci_hub_control() argument
276 len = (buf[0] < wLength) ? buf[0] : wLength; in fhci_hub_control()
Duhci-hub.c240 u16 wIndex, char *buf, u16 wLength) in uhci_hub_control() argument
402 len = min_t(unsigned int, sizeof(root_hub_hub_des), wLength); in uhci_hub_control()
/drivers/usb/gadget/
Dprinter.c1141 u16 wLength = le16_to_cpu(ctrl->wLength); in printer_setup() local
1144 ctrl->bRequestType, ctrl->bRequest, wValue, wIndex, wLength); in printer_setup()
1159 value = min(wLength, (u16) sizeof device_desc); in printer_setup()
1166 value = min(wLength, in printer_setup()
1182 value = min(wLength, (u16) value); in printer_setup()
1189 value = min(wLength, (u16) value); in printer_setup()
1207 value = min(wLength, (u16) 1); in printer_setup()
1224 value = min(wLength, (u16) 1); in printer_setup()
1251 value = min(wLength, (u16) 1); in printer_setup()
1274 wValue, wIndex, wLength); in printer_setup()
[all …]
Df_ecm.c320 event->wLength = 0; in ecm_do_notify()
331 event->wLength = cpu_to_le16(8); in ecm_do_notify()
396 u16 w_length = le16_to_cpu(ctrl->wLength); in ecm_setup()
Ds3c2410_udc.c572 crq->wValue, crq->wIndex, crq->wLength); in s3c2410_udc_read_fifo_crq()
593 if (ep_num > 4 || crq->wLength > 2) in s3c2410_udc_get_status()
652 crq->bRequest, crq->bRequestType, crq->wLength); in s3c2410_udc_handle_ep0_idle()
709 if (crq->wValue != USB_ENDPOINT_HALT || crq->wLength != 0) in s3c2410_udc_handle_ep0_idle()
722 if (crq->wValue != USB_ENDPOINT_HALT || crq->wLength != 0) in s3c2410_udc_handle_ep0_idle()
Datmel_usba_udc.c1258 if (crq->wLength != __constant_cpu_to_le16(sizeof(status))) in handle_ep0_setup()
1277 if (crq->wLength != __constant_cpu_to_le16(0) in handle_ep0_setup()
1311 if (crq->wLength != __constant_cpu_to_le16(0) in handle_ep0_setup()
1350 le16_to_cpu(crq->wLength)); in handle_ep0_setup()
1517 if (crq.crq.wLength != __constant_cpu_to_le16(0)) in usba_control_irq()
1534 le16_to_cpu(crq.crq.wLength), ep->state, ret); in usba_control_irq()
Dfsl_usb2_udc.c1256 u16 wLength = le16_to_cpu(setup->wLength); in setup_received_irq() local
1267 ch9getstatus(udc, setup->bRequestType, wValue, wIndex, wLength); in setup_received_irq()
1275 ch9setaddress(udc, wValue, wIndex, wLength); in setup_received_irq()
1289 if (wValue != 0 || wLength != 0 || pipe > udc->max_ep) in setup_received_irq()
1331 if (wLength) { in setup_received_irq()
Dimx_udc.c601 le16_to_cpus(&u.r.wLength); in handle_ep0_devreq()
605 u.r.wValue, u.r.wIndex, u.r.wLength); in handle_ep0_devreq()
1071 u.wLength = 0; in imx_udc_irq()
1087 u.wLength = 0; in imx_udc_irq()
Df_acm.c300 u16 w_length = le16_to_cpu(ctrl->wLength); in acm_setup()
463 notify->wLength = cpu_to_le16(length); in acm_cdc_notify()
Dci13xxx_udc.c925 le16_to_cpu(req->wIndex), le16_to_cpu(req->wLength)); in dbg_setup()
1878 if (req.wLength != 0) in isr_tr_complete_handler()
1897 if (le16_to_cpu(req.wLength) != 2 || in isr_tr_complete_handler()
1905 if (le16_to_cpu(req.wLength) != 0 || in isr_tr_complete_handler()
1917 if (req.wLength != 0) in isr_tr_complete_handler()
1931 if (req.wLength == 0) /* no data phase */ in isr_tr_complete_handler()
/drivers/usb/musb/
Dmusb_host.c959 if (!request->wLength) { in musb_h_ep0_continue()
1153 size_t wLength = 0; in musb_host_tx() local
1247 wLength = dma->actual_len; in musb_host_tx()
1249 wLength = qh->segsize; in musb_host_tx()
1250 qh->offset += wLength; in musb_host_tx()
1262 wLength = d->length; in musb_host_tx()
1277 wLength = urb->transfer_buffer_length in musb_host_tx()
1306 if (wLength > qh->maxpacket) in musb_host_tx()
1307 wLength = qh->maxpacket; in musb_host_tx()
1308 musb_write_fifo(hw_ep, wLength, buf); in musb_host_tx()
[all …]
Dmusb_host.h91 char *buf, u16 wLength);
Dmusb_gadget_ep0.c151 u16 len = le16_to_cpu(ctrlrequest->wLength); in service_tx_status_request()
558 le16_to_cpu(req->wLength)); in musb_read_setup()
575 if (req->wLength == 0) { in musb_read_setup()
/drivers/staging/winbond/
Dwb35reg.c47 dr->wLength = cpu_to_le16( DataSize ); in Wb35Reg_BurstWrite()
192 dr->wLength = cpu_to_le16(4); in Wb35Reg_Write()
254 dr->wLength = cpu_to_le16(4); in Wb35Reg_WriteWithCallbackValue()
359 dr->wLength = cpu_to_le16 (4); in Wb35Reg_Read()
435 (u8 *)dr,pBuffer,cpu_to_le16(dr->wLength), in Wb35Reg_EP0VM()
Dwb35reg_s.h31 #define REG_BUF_SIZE(_x) ((_x)->bRequest== 0x04 ? cpu_to_le16((_x)->wLength) : 4)
/drivers/net/irda/
Dks959-sir.c312 kingsun->tx_setuprequest->wLength = cpu_to_le16(padlen); in ks959_submit_tx_fragment()
730 kingsun->rx_setuprequest->wLength = cpu_to_le16(KINGSUN_RCV_FIFO_SIZE); in ks959_probe()
750 kingsun->tx_setuprequest->wLength = 0; in ks959_probe()
762 kingsun->speed_setuprequest->wLength = in ks959_probe()
/drivers/usb/c67x00/
Dc67x00-hcd.c81 u16 wIndex, char *buf, u16 wLength) in c67x00_hub_control() argument
229 len = min_t(unsigned int, sizeof(c67x00_hub_des), wLength); in c67x00_hub_control()
/drivers/usb/class/
Dcdc-wdm.c196 dr->wIndex, dr->wLength); in wdm_int_callback()
209 dr->bNotificationType, dr->wIndex, dr->wLength); in wdm_int_callback()
217 req->wLength = cpu_to_le16(desc->wMaxCommand); in wdm_int_callback()
358 req->wLength = cpu_to_le16(count); in wdm_write()
/drivers/usb/serial/
Dti_usb_3410_5052.h227 __le16 wLength; member
/drivers/input/joystick/iforce/
Diforce-usb.c160 iforce->cr.wLength = cpu_to_le16(16); in iforce_usb_probe()
/drivers/net/usb/
Dpegasus.c155 pegasus->dr.wLength = cpu_to_le16(size); in get_registers()
213 pegasus->dr.wLength = cpu_to_le16(size); in set_registers()
266 pegasus->dr.wLength = cpu_to_le16(1); in set_register()
302 pegasus->dr.wLength = cpu_to_le16(3); in update_eth_regs_async()

1234