/linux-6.3-rc2/drivers/usb/gadget/udc/ |
A D | udc-xilinx.c | 386 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send() 440 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive() 570 req->usb_req.complete(&ep->ep_usb, &req->usb_req); in xudc_done() 609 buf = req->usb_req.buf + req->usb_req.actual; in xudc_read_fifo() 634 req->usb_req.actual, req->usb_req.length); in xudc_read_fifo() 685 buf = req->usb_req.buf + req->usb_req.actual; in xudc_write_fifo() 698 req->usb_req.actual) || req->usb_req.zero) in xudc_write_fifo() 706 req->usb_req.length - req->usb_req.actual, req); in xudc_write_fifo() 1831 req->usb_req.actual = req->usb_req.length; in xudc_ep0_out() 1840 buffer = req->usb_req.buf + req->usb_req.actual; in xudc_ep0_out() [all …]
|
A D | max3420_udc.c | 152 struct usb_request usb_req; member 674 req->usb_req.status = status; in max3420_req_done() 676 status = req->usb_req.status; in max3420_req_done() 682 if (req->usb_req.complete) in max3420_req_done() 683 req->usb_req.complete(&ep->ep_usb, &req->usb_req); in max3420_req_done() 697 buf = req->usb_req.buf + req->usb_req.actual; in max3420_do_data() 700 length = req->usb_req.length - req->usb_req.actual; in max3420_do_data() 724 req->usb_req.actual += length; in max3420_do_data() 726 if (req->usb_req.actual == req->usb_req.length) in max3420_do_data() 1018 return &req->usb_req; in max3420_alloc_request() [all …]
|
A D | tegra-xudc.c | 383 struct usb_request usb_req; member 1290 req->usb_req.zero && req->usb_req.length && in __tegra_xudc_ep_queue() 1297 req->usb_req.actual = 0; in __tegra_xudc_ep_queue() 1316 if (!usb_ep || !usb_req) in tegra_xudc_ep_queue() 1320 req = to_xudc_req(usb_req); in tegra_xudc_ep_queue() 1367 req->usb_req.actual = 0; in squeeze_transfer_ring() 1525 if (!usb_ep || !usb_req) in tegra_xudc_ep_dequeue() 1529 req = to_xudc_req(usb_req); in tegra_xudc_ep_dequeue() 1914 return &req->usb_req; in tegra_xudc_ep_alloc_request() 2676 req->usb_req.actual = req->usb_req.length - residual; in tegra_xudc_handle_transfer_completion() [all …]
|
/linux-6.3-rc2/drivers/usb/usbip/ |
A D | vudc_sysfs.c | 25 struct vrequest *usb_req; in get_gadget_descs() local 47 usb_req = list_last_entry(&ep0->req_queue, struct vrequest, req_entry); in get_gadget_descs() 48 list_del(&usb_req->req_entry); in get_gadget_descs() 50 if (usb_req->req.length > sizeof(*ddesc)) { in get_gadget_descs() 55 memcpy(ddesc, usb_req->req.buf, sizeof(*ddesc)); in get_gadget_descs() 59 usb_req->req.status = 0; in get_gadget_descs() 60 usb_req->req.actual = usb_req->req.length; in get_gadget_descs() 61 usb_gadget_giveback_request(&(ep0->ep), &(usb_req->req)); in get_gadget_descs()
|
/linux-6.3-rc2/drivers/usb/gadget/udc/bdc/ |
A D | bdc_ep.c | 199 if (req->usb_req.length == 0) in bd_needed_req() 390 req_len = req->usb_req.length; in setup_first_bd_ep0() 548 req->usb_req.status = status; in bdc_req_complete() 550 if (req->usb_req.complete) { in bdc_req_complete() 663 req->usb_req.actual = 0; in ep0_queue() 719 req->usb_req.actual = 0; in ep_queue() 1040 req->usb_req.actual = req->usb_req.length - in handle_xsr_succ_status() 1044 req->usb_req.length, req->usb_req.actual, in handle_xsr_succ_status() 1050 if (req->usb_req.actual < req->usb_req.length) { in handle_xsr_succ_status() 1779 if (&iter->usb_req != _req) in bdc_gadget_ep_dequeue() [all …]
|
A D | bdc.h | 263 #define to_bdc_req(r) container_of(r, struct bdc_req, usb_req) 334 struct usb_request usb_req; member
|
/linux-6.3-rc2/drivers/net/wireless/purelifi/plfxlc/ |
A D | usb.c | 446 struct plf_usb_req *usb_req) in get_usb_req() argument 450 u8 *buffer_dst = usb_req->buf; in get_usb_req() 453 usb_req->id = cpu_to_be32(usb_req_id); in get_usb_req() 454 usb_req->len = cpu_to_be32(0); in get_usb_req() 459 if (usb_req->id == cpu_to_be32(USB_REQ_BEACON_WR)) { in get_usb_req() 487 usb_req->len = cpu_to_be32(temp_usb_len); in get_usb_req() 514 struct plf_usb_req usb_req; in plfxlc_usb_wreq() local 519 get_usb_req(udev, buffer, buffer_len, usb_req_id, &usb_req); in plfxlc_usb_wreq() 521 be32_to_cpu(usb_req.len); in plfxlc_usb_wreq() 523 dma_buffer = kmemdup(&usb_req, usb_bulk_msg_len, GFP_KERNEL); in plfxlc_usb_wreq()
|
/linux-6.3-rc2/drivers/media/usb/dvb-usb-v2/ |
A D | ce6230.h | 17 struct usb_req { struct
|
A D | af9035.c | 32 static int af9035_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in af9035_ctrl_msg() 119 struct usb_req req = { CMD_MEM_WR, mbox, 6 + len, wbuf, 0, NULL }; in af9035_wr_regs() 142 struct usb_req req = { CMD_MEM_RD, mbox, sizeof(wbuf), wbuf, len, val }; in af9035_rd_regs() 340 struct usb_req req = { CMD_I2C_RD, 0, 5 + msg[0].len, in af9035_i2c_master_xfer() 398 struct usb_req req = { CMD_I2C_WR, 0, 5 + msg[0].len, in af9035_i2c_master_xfer() 431 struct usb_req req = { CMD_I2C_RD, 0, sizeof(buf), in af9035_i2c_master_xfer() 488 struct usb_req req = { CMD_FW_QUERYINFO, 0, sizeof(wbuf), wbuf, in af9035_identify_state() 596 struct usb_req req = { 0, 0, 0, NULL, 0, NULL }; in af9035_download_firmware_old() 597 struct usb_req req_fw_dl = { CMD_FW_DL, 0, 0, wbuf, 0, NULL }; in af9035_download_firmware_old() 729 struct usb_req req = { 0, 0, 0, NULL, 0, NULL }; in af9035_download_firmware() [all …]
|
A D | af9035.h | 36 struct usb_req { struct
|
A D | ce6230.c | 12 static int ce6230_ctrl_msg(struct dvb_usb_device *d, struct usb_req *req) in ce6230_ctrl_msg() 90 struct usb_req req; in ce6230_i2c_master_xfer()
|
/linux-6.3-rc2/sound/usb/ |
A D | mixer_quirks.c | 2558 u16 usb_req, usb_idx, usb_val; in snd_bbfpro_ctl_update() local 2566 usb_req = SND_BBFPRO_USBREQ_CTL_REG1; in snd_bbfpro_ctl_update() 2575 usb_req = SND_BBFPRO_USBREQ_CTL_REG2; in snd_bbfpro_ctl_update() 2581 usb_sndctrlpipe(chip->dev, 0), usb_req, in snd_bbfpro_ctl_update()
|
A D | mixer_scarlett_gen2.c | 1173 u32 usb_req, void *buf, u16 size) in scarlett2_usb_rx() argument 1176 usb_req, in scarlett2_usb_rx()
|