Home
last modified time | relevance | path

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

12

/linux/drivers/usb/usbip/
H A Dstub_rx.c19 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()
177 if (!urb || !urb->setup_packet) in tweak_special_requests()
421 (struct usb_ctrlrequest *) urb->setup_packet; in masking_bogus_flags()
562 priv->urbs[0]->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, in stub_recv_cmd_submit()
[all …]
H A Dvhci_tx.c30 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()
H A Dvudc_rx.c38 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()
H A Dstub_main.c299 kfree(urb->setup_packet); in stub_free_priv_and_urb()
300 urb->setup_packet = NULL; in stub_free_priv_and_urb()
H A Dvudc_transfer.c374 (struct usb_ctrlrequest *) urb->setup_packet, in v_timer()
380 urb->setup_packet); in v_timer()
H A Dvudc_dev.c33 kfree(urb->setup_packet); in free_urb()
34 urb->setup_packet = NULL; in free_urb()
H A Dusbip_common.c248 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/drivers/nfc/nfcmrvl/
H A Dusb.c162 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/drivers/bluetooth/
H A Dbpa10x.c63 kfree(urb->setup_packet); in bpa10x_tx_complete()
334 kfree(urb->setup_packet); in bpa10x_send_frame()
H A Dbtmtk.c461 kfree(urb->setup_packet); in btmtk_usb_wmt_recv()
475 kfree(urb->setup_packet); in btmtk_usb_wmt_recv()
484 kfree(urb->setup_packet); in btmtk_usb_wmt_recv()
495 kfree(urb->setup_packet); in btmtk_usb_wmt_recv()
516 kfree(urb->setup_packet); in btmtk_usb_wmt_recv()
H A Dbtusb.c1808 kfree(urb->setup_packet); in btusb_tx_complete()
1830 kfree(urb->setup_packet); in btusb_isoc_tx_complete()
2053 kfree(urb->setup_packet); in submit_tx_urb()
4164 kfree(urb->setup_packet); in play_deferred()
4176 kfree(urb->setup_packet); in play_deferred()
/linux/include/linux/
H A Dusb.h1467 * @setup_packet: Only used for control transfers, this points to eight bytes
1471 * this field; setup_packet must point to a valid buffer.
1497 * (control requests also use setup_packet), and host controller drivers
1518 * The setup_packet must always be set, so it cannot be located in highmem.
1533 * Control URBs must provide a valid pointer in the setup_packet field.
1534 * Unlike the transfer_buffer, the setup_packet may not be mapped for DMA
1624 unsigned char *setup_packet; /* (in) setup packet (control only) */
1625 dma_addr_t setup_dma; /* (in) dma addr for setup_packet */ member
1644 * @setup_packet: pointer to the setup_packet buffe
1668 usb_fill_control_urb(struct urb * urb,struct usb_device * dev,unsigned int pipe,unsigned char * setup_packet,void * transfer_buffer,int buffer_length,usb_complete_t complete_fn,void * context) usb_fill_control_urb() argument
[all...]
/linux/drivers/usb/core/
H A Dhcd.c477 cmd = (struct usb_ctrlrequest *) urb->setup_packet; in rh_call_control()
1320 (void **) &urb->setup_packet, in usb_hcd_unmap_urb_setup_for_dma()
1403 (void **)&urb->setup_packet, in usb_hcd_map_urb_for_dma()
1410 if (object_is_on_stack(urb->setup_packet)) { in usb_hcd_map_urb_for_dma()
1417 urb->setup_packet, in usb_hcd_map_urb_for_dma()
2150 urb->setup_packet = (void *)dr; in request_single_step_set_feature_urb()
H A Durb.c405 (struct usb_ctrlrequest *) urb->setup_packet; in usb_submit_urb()
/linux/drivers/media/rc/
H A Digorplugusb.c99 req = (struct usb_ctrlrequest *)urb->setup_packet; in igorplugusb_callback()
/linux/drivers/usb/serial/
H A Dopticon.c175 kfree(urb->setup_packet); in opticon_write_control_callback()
/linux/drivers/usb/mon/
H A Dmon_text.c138 if (urb->setup_packet == NULL) in mon_text_get_setup()
141 memcpy(ep->setup, urb->setup_packet, SETUP_MAX); in mon_text_get_setup()
/linux/drivers/usb/dwc2/
H A Dhcd.h163 void *setup_packet; member
H A Dhcd.c2339 chan->xfer_buf = urb->setup_packet; in dwc2_hc_init_xfer()
4592 urb->setup_packet, (unsigned long)urb->setup_dma); in dwc2_dump_urb_info()
4722 dwc2_urb->setup_packet = urb->setup_packet; in _dwc2_hcd_urb_enqueue()
/linux/drivers/usb/renesas_usbhs/
H A Dmod_host.c740 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/drivers/usb/host/
H A Dxen-hcd.c701 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/drivers/net/usb/
H A Dcatc.c487 urb->setup_packet = (void *) dr; in catc_ctrl_run()
/linux/drivers/usb/c67x00/
H A Dc67x00-sched.c699 ret = c67x00_create_td(c67x00, urb, urb->setup_packet, in c67x00_add_ctrl_urb()
/linux/Documentation/driver-api/usb/
H A DURB.rst76 unsigned char *setup_packet; // setup packet (control only)
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c880 if (qtd->data_buffer == qtd->urb->setup_packet) in create_ptd_atl()
1802 qtd_fill(qtd, urb->setup_packet, sizeof(struct usb_ctrlrequest)); in packetize_urb()

12