Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/drivers/usb/host/
Dhc_sl811_rh.c274 __u16 wLength; in rh_submit_urb() local
290 wLength = le16_to_cpu (cmd->wLength); in rh_submit_urb()
293 bmRType_bReq, bmRType_bReq, wLength); in rh_submit_urb()
416 len = min (leni, min ((__u16)sizeof (root_hub_dev_des), wLength)); in rh_submit_urb()
421 len = min (leni, min ((__u16)sizeof (root_hub_config_des), wLength)); in rh_submit_urb()
427 "SL811HS", data, wLength); in rh_submit_urb()
440 min_t(unsigned int, sizeof (root_hub_hub_des), wLength)); in rh_submit_urb()
Dehci-hub.c143 u16 wLength in ehci_hub_control() argument
Dusb-uhci.c1984 __u16 wLength; in rh_submit_urb() local
2000 wLength = le16_to_cpu (cmd->wLength); in rh_submit_urb()
2006 uhci->rh.devnum, 8, bmRType_bReq, wValue, wIndex, wLength); in rh_submit_urb()
2118 sizeof (root_hub_dev_des), wLength)); in rh_submit_urb()
2124 sizeof (root_hub_config_des), wLength)); in rh_submit_urb()
2130 data, wLength); in rh_submit_urb()
2141 min_t(unsigned int, sizeof (root_hub_hub_des), wLength)); in rh_submit_urb()
Duhci.c2099 __u16 wLength; in rh_submit_urb() local
2113 wLength = le16_to_cpu(cmd->wLength); in rh_submit_urb()
2222 sizeof(root_hub_dev_des), wLength)); in rh_submit_urb()
2228 sizeof(root_hub_config_des), wLength)); in rh_submit_urb()
2234 data, wLength); in rh_submit_urb()
2244 min_t(unsigned int, sizeof(root_hub_hub_des), wLength)); in rh_submit_urb()
Dusb-ohci.c1966 __u16 wLength; in rh_submit_urb() local
1984 wLength = le16_to_cpu (cmd->wLength); in rh_submit_urb()
2070 wLength)); in rh_submit_urb()
2077 wLength)); in rh_submit_urb()
2082 data, wLength); in rh_submit_urb()
2121 min_t(unsigned int, data_buf [0], wLength)); in rh_submit_urb()
Dsl811.c395 __u16 wLength; in sl811_rh_submit_urb() local
410 wLength = le16_to_cpu (cmd->wLength); in sl811_rh_submit_urb()
412 PDEBUG(5, "submit rh urb, req = %d(%x) len=%d", bmRType_bReq, bmRType_bReq, wLength); in sl811_rh_submit_urb()
536 len = usb_root_hub_string(wValue & 0xff, (int)(long)0, "SL811HS", data, wLength); in sl811_rh_submit_urb()
/linux-2.4.37.9/drivers/usb/gadget/
Dzero.c942 value = min (ctrl->wLength, (u16) sizeof device_desc); in zero_setup()
949 value = min (ctrl->wLength, (u16) sizeof dev_qualifier); in zero_setup()
963 value = min (ctrl->wLength, (u16) value); in zero_setup()
975 value = min (ctrl->wLength, (u16) value); in zero_setup()
998 value = min (ctrl->wLength, (u16) 1); in zero_setup()
1035 value = min (ctrl->wLength, (u16) 1); in zero_setup()
1049 if (ctrl->wLength > USB_BUFSIZ) in zero_setup()
1051 value = ctrl->wLength; in zero_setup()
1059 if (ctrl->wLength > USB_BUFSIZ in zero_setup()
1060 || ctrl->wLength != req->length) in zero_setup()
[all …]
Dether.c1278 u16 wLength; member
1297 event->wLength = __constant_cpu_to_le16 (8); in eth_status_complete()
1360 event->wLength = 0; in issue_start_status()
1460 value = min (ctrl->wLength, (u16) sizeof device_desc); in eth_setup()
1467 value = min (ctrl->wLength, (u16) sizeof dev_qualifier); in eth_setup()
1482 value = min (ctrl->wLength, (u16) value); in eth_setup()
1489 value = min (ctrl->wLength, (u16) value); in eth_setup()
1509 value = min (ctrl->wLength, (u16) 1); in eth_setup()
1592 value = min (ctrl->wLength, (u16) 1); in eth_setup()
1603 || ctrl->wLength != 0 in eth_setup()
[all …]
Dfile_storage.c1273 value = min(ctrl->wLength, (u16) 1); in class_setup_req()
1290 if (ctrl->wLength > MAX_COMMAND_SIZE) { in class_setup_req()
1294 value = ctrl->wLength; in class_setup_req()
1305 ctrl->wValue, ctrl->wIndex, ctrl->wLength); in class_setup_req()
1332 value = min(ctrl->wLength, (u16) sizeof device_desc); in standard_setup_req()
1340 value = min(ctrl->wLength, (u16) sizeof dev_qualifier); in standard_setup_req()
1360 value = min(ctrl->wLength, (u16) value); in standard_setup_req()
1370 value = min(ctrl->wLength, (u16) value); in standard_setup_req()
1396 value = min(ctrl->wLength, (u16) 1); in standard_setup_req()
1424 value = min(ctrl->wLength, (u16) 1); in standard_setup_req()
[all …]
Dnet2280.c2339 le16_to_cpus (&u.r.wLength); in handle_stat0_irqs()
2374 || u.r.wLength > 2) in handle_stat0_irqs()
2385 set_fifo_bytecount (ep, u.r.wLength); in handle_stat0_irqs()
2399 || u.r.wLength != 0) in handle_stat0_irqs()
2416 || u.r.wLength != 0) in handle_stat0_irqs()
/linux-2.4.37.9/drivers/usb/
Dhcd.c324 u16 typeReq, wValue, wIndex, wLength; in rh_call_control() local
332 wLength = le16_to_cpu (cmd->wLength); in rh_call_control()
334 if (wLength > urb->transfer_buffer_length) in rh_call_control()
339 urb->actual_length = wLength; in rh_call_control()
381 ubuf, wLength); in rh_call_control()
418 ubuf, wLength); in rh_call_control()
429 typeReq, wValue, wIndex, wLength, urb->status); in rh_call_control()
Dauermain.c169 bp->dr->wLength = bp->dr->wValue; /* temporary stored */ in auerswald_ctrlread_wretcomplete()
175 le16_to_cpu(bp->dr->wLength), in auerswald_ctrlread_wretcomplete()
221 bp->dr->wValue = bp->dr->wLength; /* temporary storage */ in auerswald_ctrlread_complete()
223 bp->dr->wLength = cpu_to_le16(32); /* >= 8 bytes */ in auerswald_ctrlread_complete()
339 bp->dr->wLength = cpu_to_le16(bytecount); in auerswald_int_complete()
Dhcd.h149 char *buf, u16 wLength);
Dpegasus.c138 pegasus->dr.wLength = cpu_to_le16p(&size); in get_registers()
189 pegasus->dr.wLength = cpu_to_le16p(&size); in set_registers()
237 pegasus->dr.wLength = cpu_to_le16(1); in set_register()
270 pegasus->dr.wLength = cpu_to_le16(3); in update_eth_regs_async()
Dauerisdn.c160 bp->dr->wLength = cpu_to_le16(5); in auerisdn_translate_incoming()
611 bp->dr->wLength = cpu_to_le16(len + AUH_SIZE); in auerisdn_d_l2l1()
708 bp->dr->wLength = cpu_to_le16(0); in auerisdn_dcopen()
Dusbkbd.c222 kbd->dr.wLength = 1; in usb_kbd_probe()
Dpowermate.c152 pm->configdr.wLength = 0; in powermate_sync_state()
Dauerchain.c454 dr->wLength = cpu_to_le16(size); in auerchain_control_msg()
Dhid-core.c1051 hid->urbout.transfer_buffer_length = le16_to_cpup(&hid->out[hid->outtail].dr.wLength); in hid_submit_out()
1095 hid->out[hid->outhead].dr.wLength = cpu_to_le16(((report->size + 7) >> 3) + 1); in hid_write_report()
1098 hid->out[hid->outhead].dr.wLength = cpu_to_le16((report->size + 7) >> 3); in hid_write_report()
Dauerchar.c558 bp->dr->wLength = cpu_to_le16(len + AUH_SIZE); in auerchar_write()
Dauerisdn_b.c456 bp->dr->wLength = cpu_to_le16(0); in auerisdn_bmode()
/linux-2.4.37.9/include/linux/
Dusb_ch9.h109 __u16 wLength; member
/linux-2.4.37.9/arch/cris/drivers/
Dusb-host.c3254 __u16 wLength; in etrax_rh_submit_urb() local
3277 wLength = le16_to_cpu(cmd->wLength); in etrax_rh_submit_urb()
3282 wLength = le16_to_cpu(cmd->length); in etrax_rh_submit_urb()
3288 dbg_rh("wLength : 0x%04x (%d)", wLength, wLength); in etrax_rh_submit_urb()
3620 len = min_t(unsigned int, leni, min_t(unsigned int, sizeof (root_hub_dev_des), wLength)); in etrax_rh_submit_urb()
3624 len = min_t(unsigned int, leni, min_t(unsigned int, sizeof (root_hub_config_des), wLength)); in etrax_rh_submit_urb()
3630 data, wLength); in etrax_rh_submit_urb()
3642 len = min_t(unsigned int, leni, min_t(unsigned int, sizeof (root_hub_hub_des), wLength)); in etrax_rh_submit_urb()
/linux-2.4.37.9/arch/mips/au1000/common/
Dusbdev.c748 int strnum, desc_len = le16_to_cpu(setup->wLength); in do_get_descriptor()
933 if ((setup->bRequestType & 0x80) == USB_DIR_OUT && setup->wLength) in do_setup()
934 dbg(__FUNCTION__ ": OUT phase! length=%d", setup->wLength); in do_setup()
/linux-2.4.37.9/drivers/isdn/hisax/
Dst5481_usb.c76 ctrl_msg->dr.wLength = 0; in usb_ctrl_msg()

12