Home
last modified time | relevance | path

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

123

/drivers/usb/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()
123 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_interface_cmd()
151 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_configuration_cmd()
188 if (!urb || !urb->setup_packet) in tweak_special_requests()
416 (struct usb_ctrlrequest *) urb->setup_packet; in masking_bogus_flags()
486 priv->urb->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, 8, in stub_recv_cmd_submit()
[all …]
Dvhci_tx.c43 if (urb->setup_packet) in setup_cmd_submit_pdu()
44 memcpy(pdup->u.cmd_submit.setup, urb->setup_packet, 8); in setup_cmd_submit_pdu()
Dstub_main.c267 kfree(urb->setup_packet); in stub_device_cleanup_urbs()
268 urb->setup_packet = NULL; in stub_device_cleanup_urbs()
Dstub_tx.c30 kfree(urb->setup_packet); in stub_free_priv_and_urb()
31 urb->setup_packet = NULL; in stub_free_priv_and_urb()
Dusbip_common.c260 if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) in usbip_dump_urb()
262 (struct usb_ctrlrequest *)urb->setup_packet); in usbip_dump_urb()
Dvhci_hcd.c507 (struct usb_ctrlrequest *) urb->setup_packet; in vhci_urb_enqueue()
/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()
/drivers/nfc/nfcmrvl/
Dusb.c163 kfree(urb->setup_packet); in nfcmrvl_tx_complete()
257 kfree(urb->setup_packet); in nfcmrvl_usb_nci_send()
/drivers/usb/host/
Dr8a66597-hcd.c351 int usb_address = urb->setup_packet[2]; /* urb->pipe is address 0 */ in make_r8a66597_device()
1083 __le16 *p = (__le16 *)td->urb->setup_packet; in prepare_setup_packet()
1181 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet()
1199 static int is_set_address(unsigned char *setup_packet) in is_set_address() argument
1201 if (((setup_packet[0] & USB_TYPE_MASK) == USB_TYPE_STANDARD) && in is_set_address()
1202 setup_packet[1] == USB_REQ_SET_ADDRESS) in is_set_address()
1215 if (is_set_address(td->urb->setup_packet)) { in start_transfer()
1217 td->urb->setup_packet[2] = alloc_usb_address(r8a66597, in start_transfer()
1219 if (td->urb->setup_packet[2] == 0) in start_transfer()
1293 r8a66597->address_map &= ~(1 << urb->setup_packet[2]); in finish_request()
Dsl811-hcd.c133 static void setup_packet( in setup_packet() function
148 sl811_write_buf(sl811, addr, urb->setup_packet, len); in setup_packet()
386 setup_packet(sl811, ep, urb, bank, control); in start()
Dehci-hub.c768 urb->setup_packet = (void *)dr; in request_single_step_set_feature_urb()
780 urb->setup_packet, in request_single_step_set_feature_urb()
/drivers/bluetooth/
Dbpa10x.c182 kfree(urb->setup_packet); in bpa10x_tx_complete()
425 kfree(urb->setup_packet); in bpa10x_send_frame()
Dbtusb.c840 kfree(urb->setup_packet); in btusb_tx_complete()
862 kfree(urb->setup_packet); in btusb_isoc_tx_complete()
1058 kfree(urb->setup_packet); in submit_tx_urb()
/drivers/usb/mon/
Dmon_text.c133 if (urb->setup_packet == NULL) in mon_text_get_setup()
136 memcpy(ep->setup, urb->setup_packet, SETUP_MAX); in mon_text_get_setup()
Dmon_bin.c394 if (urb->setup_packet == NULL) in mon_bin_get_setup()
396 memcpy(setupb, urb->setup_packet, SETUP_LEN); in mon_bin_get_setup()
/drivers/staging/octeon-usb/
Docteon-hcd.c2151 (struct cvmx_usb_iso_packet *) urb->setup_packet; in octeon_usb_urb_complete_callback()
2172 urb->setup_packet = NULL; in octeon_usb_urb_complete_callback()
2446 packets = (struct cvmx_usb_iso_packet *) urb->setup_packet; in cvmx_usb_submit_isochronous()
3391 urb->setup_packet = (char *)iso_packet; in octeon_usb_urb_enqueue()
3399 urb->setup_packet = NULL; in octeon_usb_urb_enqueue()
/drivers/usb/serial/
Dopticon.c166 kfree(urb->setup_packet); in opticon_write_control_callback()
/drivers/usb/core/
Dhcd.c486 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control()
1368 (void **) &urb->setup_packet, in usb_hcd_unmap_urb_setup_for_dma()
1447 urb->setup_packet, in usb_hcd_map_urb_for_dma()
1458 (void **)&urb->setup_packet, in usb_hcd_map_urb_for_dma()
Durb.c365 (struct usb_ctrlrequest *) urb->setup_packet; in usb_submit_urb()
/drivers/usb/dwc2/
Dhcd.h186 void *setup_packet; member
Dhcd.c617 chan->xfer_buf = urb->setup_packet; in dwc2_hc_init_xfer()
2370 urb->setup_packet, (unsigned long)urb->setup_dma); in dwc2_dump_urb_info()
2470 dwc2_urb->setup_packet = urb->setup_packet; in _dwc2_hcd_urb_enqueue()
/drivers/usb/renesas_usbhs/
Dmod_host.c755 req = (struct usb_ctrlrequest *)urb->setup_packet; in usbhsh_is_request_address()
781 memcpy(&req, urb->setup_packet, sizeof(struct usb_ctrlrequest)); in usbhsh_setup_stage_packet_push()
/drivers/staging/ozwpan/
Dozhcd.c774 (struct usb_ctrlrequest *)urb->setup_packet; in oz_hcd_get_desc_cnf()
905 setup = (struct usb_ctrlrequest *)urb->setup_packet; in oz_hcd_control_cnf()
1413 setup = (struct usb_ctrlrequest *)urb->setup_packet; in oz_process_ep0_urb()
/drivers/usb/gadget/udc/
Dfusb300_udc.c823 static int setup_packet(struct fusb300 *fusb300, struct usb_ctrlrequest *ctrl) in setup_packet() function
1206 if (setup_packet(fusb300, &ctrl)) { in fusb300_irq()
/drivers/usb/misc/
Dusbtest.c1044 reqp = (struct usb_ctrlrequest *)urb->setup_packet; in ctrl_complete()
1328 u->setup_packet = (char *) &reqp->setup; in test_ctrl_queue()
1360 kfree(urb[i]->setup_packet); in test_ctrl_queue()

123