Searched refs:usb_req (Results 1 – 8 of 8) sorted by relevance
/drivers/usb/gadget/udc/ |
D | udc-xilinx.c | 107 #define to_xusb_req(req) container_of((req), struct xusb_req, usb_req) 116 struct usb_request usb_req; member 383 src = req->usb_req.dma + req->usb_req.actual; in xudc_dma_send() 384 if (req->usb_req.length) in xudc_dma_send() 437 dst = req->usb_req.dma + req->usb_req.actual; in xudc_dma_receive() 552 if (req->usb_req.status == -EINPROGRESS) in xudc_done() 553 req->usb_req.status = status; in xudc_done() 555 status = req->usb_req.status; in xudc_done() 561 if (udc->dma_enabled && ep->epnumber && req->usb_req.length) in xudc_done() 562 usb_gadget_unmap_request(&udc->gadget, &req->usb_req, in xudc_done() [all …]
|
/drivers/usb/usbip/ |
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()
|
/drivers/usb/gadget/udc/bdc/ |
D | bdc_ep.c | 199 if (req->usb_req.length == 0) in bd_needed_req() 203 remaining = req->usb_req.length % BD_MAX_BUFF_SIZE; in bd_needed_req() 208 remaining = req->usb_req.length / BD_MAX_BUFF_SIZE; in bd_needed_req() 390 req_len = req->usb_req.length; in setup_first_bd_ep0() 427 dma_addr_t buf_add = req->usb_req.dma; in setup_bd_list_xfr() 442 req_len = req->usb_req.length; in setup_bd_list_xfr() 444 tfs = roundup(req->usb_req.length, maxp); in setup_bd_list_xfr() 543 if (req == NULL || &req->queue == NULL || &req->usb_req == NULL) in bdc_req_complete() 548 req->usb_req.status = status; in bdc_req_complete() 549 usb_gadget_unmap_request(&bdc->gadget, &req->usb_req, ep->dir); in bdc_req_complete() [all …]
|
D | bdc.h | 263 #define to_bdc_req(r) container_of(r, struct bdc_req, usb_req) 334 struct usb_request usb_req; member
|
/drivers/media/usb/dvb-usb-v2/ |
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() 339 struct usb_req req = { CMD_I2C_RD, 0, 5 + msg[0].len, in af9035_i2c_master_xfer() 397 struct usb_req req = { CMD_I2C_WR, 0, 5 + msg[0].len, in af9035_i2c_master_xfer() 430 struct usb_req req = { CMD_I2C_RD, 0, sizeof(buf), in af9035_i2c_master_xfer() 487 struct usb_req req = { CMD_FW_QUERYINFO, 0, sizeof(wbuf), wbuf, in af9035_identify_state() 595 struct usb_req req = { 0, 0, 0, NULL, 0, NULL }; in af9035_download_firmware_old() 596 struct usb_req req_fw_dl = { CMD_FW_DL, 0, 0, wbuf, 0, NULL }; in af9035_download_firmware_old() 679 struct usb_req req_fw_dl = { CMD_FW_SCATTER_WR, 0, 0, NULL, 0, NULL }; in af9035_download_firmware_new() [all …]
|
D | ce6230.h | 17 struct usb_req { struct
|
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()
|
D | af9035.h | 36 struct usb_req { struct
|