/linux-6.6.21/drivers/usb/usbip/ |
D | stub_rx.c | 19 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_clear_halt_cmd() 30 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_interface_cmd() 40 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_set_configuration_cmd() 52 req = (struct usb_ctrlrequest *) urb->setup_packet; in is_reset_device_cmd() 73 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_clear_halt_cmd() 110 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_interface_cmd() 138 req = (struct usb_ctrlrequest *) urb->setup_packet; in tweak_set_configuration_cmd() 172 if (!urb || !urb->setup_packet) in tweak_special_requests() 412 (struct usb_ctrlrequest *) urb->setup_packet; in masking_bogus_flags() 552 priv->urbs[0]->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, in stub_recv_cmd_submit() [all …]
|
D | vhci_tx.c | 30 if (urb->setup_packet) in setup_cmd_submit_pdu() 31 memcpy(pdup->u.cmd_submit.setup, urb->setup_packet, 8); in setup_cmd_submit_pdu()
|
D | vudc_rx.c | 38 urb->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, 8, in alloc_urb_from_cmd() 40 if (!urb->setup_packet) in alloc_urb_from_cmd()
|
D | stub_main.c | 299 kfree(urb->setup_packet); in stub_free_priv_and_urb() 300 urb->setup_packet = NULL; in stub_free_priv_and_urb()
|
D | vudc_transfer.c | 374 (struct usb_ctrlrequest *) urb->setup_packet, in v_timer() 380 urb->setup_packet); in v_timer()
|
D | vudc_dev.c | 33 kfree(urb->setup_packet); in free_urb() 34 urb->setup_packet = NULL; in free_urb()
|
D | usbip_common.c | 248 if (urb->setup_packet && usb_pipetype(urb->pipe) == PIPE_CONTROL) in usbip_dump_urb() 250 (struct usb_ctrlrequest *)urb->setup_packet); in usbip_dump_urb()
|
/linux-6.6.21/drivers/nfc/nfcmrvl/ |
D | usb.c | 162 kfree(urb->setup_packet); in nfcmrvl_tx_complete() 256 kfree(urb->setup_packet); in nfcmrvl_usb_nci_send() 395 kfree(urb->setup_packet); in nfcmrvl_play_deferred() 407 kfree(urb->setup_packet); in nfcmrvl_play_deferred()
|
/linux-6.6.21/drivers/bluetooth/ |
D | bpa10x.c | 63 kfree(urb->setup_packet); in bpa10x_tx_complete() 334 kfree(urb->setup_packet); in bpa10x_send_frame()
|
D | btusb.c | 1770 kfree(urb->setup_packet); in btusb_tx_complete() 1792 kfree(urb->setup_packet); in btusb_isoc_tx_complete() 2015 kfree(urb->setup_packet); in submit_tx_urb() 2627 kfree(urb->setup_packet); in btusb_mtk_wmt_recv() 2641 kfree(urb->setup_packet); in btusb_mtk_wmt_recv() 2650 kfree(urb->setup_packet); in btusb_mtk_wmt_recv() 2661 kfree(urb->setup_packet); in btusb_mtk_wmt_recv() 2682 kfree(urb->setup_packet); in btusb_mtk_wmt_recv() 4684 kfree(urb->setup_packet); in play_deferred() 4696 kfree(urb->setup_packet); in play_deferred()
|
/linux-6.6.21/include/linux/ |
D | usb.h | 1624 unsigned char *setup_packet; /* (in) setup packet (control only) */ member 1667 unsigned char *setup_packet, in usb_fill_control_urb() argument 1675 urb->setup_packet = setup_packet; in usb_fill_control_urb()
|
/linux-6.6.21/drivers/usb/host/ |
D | r8a66597-hcd.c | 338 int usb_address = urb->setup_packet[2]; /* urb->pipe is address 0 */ in make_r8a66597_device() 1068 __le16 *p = (__le16 *)td->urb->setup_packet; in prepare_setup_packet() 1166 if (urb->setup_packet[0] & USB_ENDPOINT_DIR_MASK) { in prepare_status_packet() 1184 static int is_set_address(unsigned char *setup_packet) in is_set_address() argument 1186 if (((setup_packet[0] & USB_TYPE_MASK) == USB_TYPE_STANDARD) && in is_set_address() 1187 setup_packet[1] == USB_REQ_SET_ADDRESS) in is_set_address() 1200 if (is_set_address(td->urb->setup_packet)) { in start_transfer() 1202 td->urb->setup_packet[2] = alloc_usb_address(r8a66597, in start_transfer() 1204 if (td->urb->setup_packet[2] == 0) in start_transfer() 1278 r8a66597->address_map &= ~(1 << urb->setup_packet[2]); in finish_request()
|
D | octeon-hcd.c | 1984 (struct cvmx_usb_iso_packet *)urb->setup_packet; in octeon_usb_urb_complete_callback() 2004 urb->setup_packet = NULL; in octeon_usb_urb_complete_callback() 2272 packets = (struct cvmx_usb_iso_packet *)urb->setup_packet; in cvmx_usb_submit_isochronous() 3201 urb->setup_packet = (char *)iso_packet; in octeon_usb_urb_enqueue() 3209 urb->setup_packet = NULL; in octeon_usb_urb_enqueue()
|
D | sl811-hcd.c | 134 static void setup_packet( in setup_packet() function 149 sl811_write_buf(sl811, addr, urb->setup_packet, len); in setup_packet() 387 setup_packet(sl811, ep, urb, bank, control); in start()
|
D | xen-hcd.c | 701 if (urb->setup_packet) in xenhcd_map_urb_for_request() 702 memcpy(req->u.ctrl, urb->setup_packet, 8); in xenhcd_map_urb_for_request()
|
/linux-6.6.21/Documentation/driver-api/usb/ |
D | dma.rst | 120 valid when these calls are used (``urb->setup_packet`` must be valid too 131 They cannot be used for setup_packet buffers in control requests.
|
/linux-6.6.21/drivers/media/rc/ |
D | igorplugusb.c | 99 req = (struct usb_ctrlrequest *)urb->setup_packet; in igorplugusb_callback()
|
/linux-6.6.21/drivers/usb/core/ |
D | hcd.c | 479 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control() 1322 (void **) &urb->setup_packet, in usb_hcd_unmap_urb_setup_for_dma() 1405 (void **)&urb->setup_packet, in usb_hcd_map_urb_for_dma() 1412 if (object_is_on_stack(urb->setup_packet)) { in usb_hcd_map_urb_for_dma() 1419 urb->setup_packet, in usb_hcd_map_urb_for_dma() 2149 urb->setup_packet = (void *)dr; in request_single_step_set_feature_urb()
|
D | urb.c | 405 (struct usb_ctrlrequest *) urb->setup_packet; in usb_submit_urb()
|
/linux-6.6.21/drivers/usb/serial/ |
D | opticon.c | 175 kfree(urb->setup_packet); in opticon_write_control_callback()
|
/linux-6.6.21/drivers/usb/mon/ |
D | mon_text.c | 138 if (urb->setup_packet == NULL) in mon_text_get_setup() 141 memcpy(ep->setup, urb->setup_packet, SETUP_MAX); in mon_text_get_setup()
|
D | mon_bin.c | 400 if (urb->setup_packet == NULL) in mon_bin_get_setup() 402 memcpy(setupb, urb->setup_packet, SETUP_LEN); in mon_bin_get_setup()
|
/linux-6.6.21/drivers/usb/dwc2/ |
D | hcd.h | 163 void *setup_packet; member
|
/linux-6.6.21/drivers/usb/renesas_usbhs/ |
D | mod_host.c | 740 req = (struct usb_ctrlrequest *)urb->setup_packet; in usbhsh_is_request_address() 766 memcpy(&req, urb->setup_packet, sizeof(struct usb_ctrlrequest)); in usbhsh_setup_stage_packet_push()
|
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | tegra-xudc.c | 474 struct tegra_xudc_setup_packet setup_packet; member 2626 memcpy(&xudc->setup_packet.ctrl_req, ctrl, sizeof(*ctrl)); in tegra_xudc_handle_ep0_event() 2627 xudc->setup_packet.seq_num = seq_num; in tegra_xudc_handle_ep0_event() 2785 &xudc->setup_packet.ctrl_req, in tegra_xudc_handle_transfer_event() 2786 xudc->setup_packet.seq_num); in tegra_xudc_handle_transfer_event()
|