Home
last modified time | relevance | path

Searched refs:setup_packet (Results 1 – 25 of 46) sorted by relevance

12

/linux-2.6.39/drivers/staging/usbip/
Dstub_rx.c32 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_clear_halt_cmd()
43 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_interface_cmd()
53 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_configuration_cmd()
65 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_reset_device_cmd()
86 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_clear_halt_cmd()
121 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_interface_cmd()
145 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_configuration_cmd()
198 if (!urb || !urb->setup_packet) in tweak_special_requests()
440 (struct usb_ctrlrequest *) urb->setup_packet; in masking_bogus_flags()
512 priv->urb->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, 8, in stub_recv_cmd_submit()
[all …]
Dvhci_tx.c46 if (urb->setup_packet) in setup_cmd_submit_pdu()
47 memcpy(pdup->u.cmd_submit.setup, urb->setup_packet, 8); in setup_cmd_submit_pdu()
Dusbip_common.c298 dev_dbg(dev, " setup_packet :%p\n", urb->setup_packet); in usbip_dump_urb()
300 if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) in usbip_dump_urb()
302 (struct usb_ctrlrequest *)urb->setup_packet); in usbip_dump_urb()
Dstub_main.c269 kfree(urb->setup_packet); in stub_device_cleanup_urbs()
Dstub_tx.c31 kfree(urb->setup_packet); in stub_free_priv_and_urb()
Dvhci_hcd.c606 (struct usb_ctrlrequest *) urb->setup_packet; in vhci_urb_enqueue()
/linux-2.6.39/drivers/isdn/hisax/
Dst5481_usb.c42 urb->setup_packet = in usb_next_ctrl_msg()
46 ((struct ctrl_msg *)urb->setup_packet)->dr.bRequest, in usb_next_ctrl_msg()
47 ((struct ctrl_msg *)urb->setup_packet)->dr.wValue, in usb_next_ctrl_msg()
48 ((struct ctrl_msg *)urb->setup_packet)->dr.wIndex); in usb_next_ctrl_msg()
147 ctrl_msg = (struct ctrl_msg *)urb->setup_packet; in usb_ctrl_complete()
/linux-2.6.39/include/linux/
Dusb.h1206 unsigned char *setup_packet; /* (in) setup packet (control only) */ member
1238 unsigned char *setup_packet, in usb_fill_control_urb() argument
1246 urb->setup_packet = setup_packet; in usb_fill_control_urb()
/linux-2.6.39/drivers/bluetooth/
Dbpa10x.c184 kfree(urb->setup_packet); in bpa10x_tx_complete()
426 kfree(urb->setup_packet); in bpa10x_send_frame()
Dbtusb.c537 kfree(urb->setup_packet); in btusb_tx_complete()
559 kfree(urb->setup_packet); in btusb_isoc_tx_complete()
754 kfree(urb->setup_packet); in btusb_send_frame()
/linux-2.6.39/drivers/usb/host/
Dr8a66597-hcd.c356 int usb_address = urb->setup_packet[2]; /* urb->pipe is address 0 */ in make_r8a66597_device()
1088 __le16 *p = (__le16 *)td->urb->setup_packet; in prepare_setup_packet()
1186 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet()
1204 static int is_set_address(unsigned char *setup_packet) in is_set_address() argument
1206 if (((setup_packet[0] & USB_TYPE_MASK) == USB_TYPE_STANDARD) && in is_set_address()
1207 setup_packet[1] == USB_REQ_SET_ADDRESS) in is_set_address()
1220 if (is_set_address(td->urb->setup_packet)) { in start_transfer()
1222 td->urb->setup_packet[2] = alloc_usb_address(r8a66597, in start_transfer()
1224 if (td->urb->setup_packet[2] == 0) in start_transfer()
1298 r8a66597->address_map &= ~(1 << urb->setup_packet[2]); in finish_request()
Dsl811-hcd.c142 static void setup_packet( in setup_packet() function
157 sl811_write_buf(sl811, addr, urb->setup_packet, len); in setup_packet()
394 setup_packet(sl811, ep, urb, bank, control); in start()
Dfhci-sched.c814 USB_TD_TOGGLE_DATA0, urb->setup_packet, 8, 0, 0, true); in fhci_queue_urb()
Dohci-dbg.c58 printk (" %02x", ((__u8 *) urb->setup_packet) [i]); in urb_print()
/linux-2.6.39/Documentation/usb/
Ddma.txt117 valid when these calls are used (urb->setup_packet must be valid too
128 setup_packet buffers in control requests.
DURB.txt66 unsigned char* setup_packet; // setup packet (control only)
/linux-2.6.39/drivers/usb/core/
Dhcd.c451 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control()
1277 (void **) &urb->setup_packet, in usb_hcd_unmap_urb_setup_for_dma()
1356 urb->setup_packet, in usb_hcd_map_urb_for_dma()
1367 (void **)&urb->setup_packet, in usb_hcd_map_urb_for_dma()
Durb.c332 (struct usb_ctrlrequest *) urb->setup_packet; in usb_submit_urb()
/linux-2.6.39/drivers/usb/mon/
Dmon_text.c132 if (urb->setup_packet == NULL) in mon_text_get_setup()
135 memcpy(ep->setup, urb->setup_packet, SETUP_MAX); in mon_text_get_setup()
Dmon_bin.c393 if (urb->setup_packet == NULL) in mon_bin_get_setup()
395 memcpy(setupb, urb->setup_packet, SETUP_LEN); in mon_bin_get_setup()
/linux-2.6.39/drivers/usb/serial/
Dopticon.c235 kfree(urb->setup_packet); in opticon_write_control_callback()
/linux-2.6.39/drivers/usb/misc/
Dusbtest.c792 reqp = (struct usb_ctrlrequest *)urb->setup_packet; in ctrl_complete()
1059 u->setup_packet = (char *) &reqp->setup; in test_ctrl_queue()
1091 kfree(urb[i]->setup_packet); in test_ctrl_queue()
/linux-2.6.39/drivers/staging/rt2860/
Drt_usb.c55 (unsigned long)purb->setup_packet); in dump_urb()
/linux-2.6.39/drivers/usb/host/whci/
Dqset.c209 memcpy(qtd->setup, std->urb->setup_packet, 8); in qset_add_qtds()
/linux-2.6.39/drivers/usb/gadget/
Dfusb300_udc.c988 static int setup_packet(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl) in setup_packet() function
1396 if (setup_packet(fusb300, &ctrl)) { in fusb300_irq()

12