Home
last modified time | relevance | path

Searched refs:preq (Results 1 – 18 of 18) sorted by relevance

/drivers/usb/cdns3/
Dcdnsp-ring.c340 struct cdnsp_request *preq) in cdnsp_request_to_transfer_ring() argument
342 return cdnsp_get_transfer_ring(pdev, preq->pep, in cdnsp_request_to_transfer_ring()
343 preq->request.stream_id); in cdnsp_request_to_transfer_ring()
602 struct cdnsp_request *preq; in cdnsp_unmap_td_bounce_buffer() local
608 preq = td->preq; in cdnsp_unmap_td_bounce_buffer()
610 trace_cdnsp_bounce_unmap(td->preq, seg->bounce_len, seg->bounce_offs, in cdnsp_unmap_td_bounce_buffer()
613 if (!preq->direction) { in cdnsp_unmap_td_bounce_buffer()
623 len = sg_pcopy_from_buffer(preq->request.sg, preq->request.num_sgs, in cdnsp_unmap_td_bounce_buffer()
691 struct cdnsp_request *preq, in cdnsp_remove_request() argument
705 trace_cdnsp_remove_request_td(preq); in cdnsp_remove_request()
[all …]
Dcdnsp-gadget.c344 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq) in cdnsp_ep_enqueue() argument
350 if (preq->epnum == 0 && !list_empty(&pep->pending_list)) { in cdnsp_ep_enqueue()
351 trace_cdnsp_request_enqueue_busy(preq); in cdnsp_ep_enqueue()
355 request = &preq->request; in cdnsp_ep_enqueue()
358 preq->direction = pep->direction; in cdnsp_ep_enqueue()
359 preq->epnum = pep->number; in cdnsp_ep_enqueue()
360 preq->td.drbl = 0; in cdnsp_ep_enqueue()
364 trace_cdnsp_request_enqueue_error(preq); in cdnsp_ep_enqueue()
368 list_add_tail(&preq->list, &pep->pending_list); in cdnsp_ep_enqueue()
370 trace_cdnsp_request_enqueue(preq); in cdnsp_ep_enqueue()
[all …]
Dcdnsp-trace.h296 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
298 TP_ARGS(preq, new_buf_len, offset, dma, unalign),
300 __string(name, preq->pep->name)
307 __assign_str(name, preq->pep->name);
320 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
322 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
326 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
328 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
332 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
334 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
[all …]
Dcdnsp-ep0.c20 struct cdnsp_request *preq; in cdnsp_ep0_stall() local
24 preq = next_request(&pep->pending_list); in cdnsp_ep0_stall()
29 if (preq) in cdnsp_ep0_stall()
30 cdnsp_gadget_giveback(pep, preq, -ECONNRESET); in cdnsp_ep0_stall()
34 if (preq) in cdnsp_ep0_stall()
35 list_del(&preq->list); in cdnsp_ep0_stall()
Dcdnsp-gadget.h1191 struct cdnsp_request *preq; member
1533 int cdnsp_queue_ctrl_tx(struct cdnsp_device *pdev, struct cdnsp_request *preq);
1534 int cdnsp_queue_bulk_tx(struct cdnsp_device *pdev, struct cdnsp_request *preq);
1536 struct cdnsp_request *preq);
1568 void cdnsp_gadget_giveback(struct cdnsp_ep *pep, struct cdnsp_request *preq,
1570 int cdnsp_ep_enqueue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
1571 int cdnsp_ep_dequeue(struct cdnsp_ep *pep, struct cdnsp_request *preq);
1599 int cdnsp_remove_request(struct cdnsp_device *pdev, struct cdnsp_request *preq,
/drivers/media/usb/as102/
Das10x_cmd.c104 struct as10x_cmd_t *preq, *prsp; in as10x_cmd_set_tune() local
106 preq = adap->cmd; in as10x_cmd_set_tune()
110 as10x_cmd_build(preq, (++adap->cmd_xid), in as10x_cmd_set_tune()
111 sizeof(preq->body.set_tune.req)); in as10x_cmd_set_tune()
114 preq->body.set_tune.req.proc_id = cpu_to_le16(CONTROL_PROC_SETTUNE); in as10x_cmd_set_tune()
115 preq->body.set_tune.req.args.freq = (__force __u32)cpu_to_le32(ptune->freq); in as10x_cmd_set_tune()
116 preq->body.set_tune.req.args.bandwidth = ptune->bandwidth; in as10x_cmd_set_tune()
117 preq->body.set_tune.req.args.hier_select = ptune->hier_select; in as10x_cmd_set_tune()
118 preq->body.set_tune.req.args.modulation = ptune->modulation; in as10x_cmd_set_tune()
119 preq->body.set_tune.req.args.hierarchy = ptune->hierarchy; in as10x_cmd_set_tune()
[all …]
/drivers/media/usb/gspca/
Ddtcs033.c54 const struct dtcs033_usb_requests *preq; in reg_reqs() local
58 preq = &preqs[i]; in reg_reqs()
60 reg_rw(gspca_dev, preq->bRequestType, preq->bRequest, in reg_reqs()
61 preq->wValue, preq->wIndex, preq->wLength); in reg_reqs()
67 } else if (preq->bRequestType & USB_DIR_IN) { in reg_reqs()
72 preq->wLength, in reg_reqs()
74 preq->wLength > 3 ? "...\n" : "\n"); in reg_reqs()
/drivers/block/xen-blkback/
Dblkback.c916 struct phys_req *preq) in xen_blkbk_parse_indirect() argument
956 preq->nr_sects += seg[n].nsec; in xen_blkbk_parse_indirect()
974 struct phys_req preq; in dispatch_discard_io() local
978 preq.sector_number = req->u.discard.sector_number; in dispatch_discard_io()
979 preq.nr_sects = req->u.discard.nr_sectors; in dispatch_discard_io()
981 err = xen_vbd_translate(&preq, blkif, REQ_OP_WRITE); in dispatch_discard_io()
984 preq.sector_number, in dispatch_discard_io()
985 preq.sector_number + preq.nr_sects, blkif->vbd.pdevice); in dispatch_discard_io()
1189 struct phys_req preq; in dispatch_rw_block_io() local
1250 preq.nr_sects = 0; in dispatch_rw_block_io()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c92 struct iwl_scan_probe_req preq; member
752 struct ieee80211_mgmt *frame = (void *)params->preq.buf; in iwl_mvm_build_scan_probe()
778 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
779 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
786 params->preq.band_data[0].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
787 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
792 params->preq.band_data[1].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
793 params->preq.band_data[1].len = in iwl_mvm_build_scan_probe()
799 params->preq.band_data[2].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
800 params->preq.band_data[2].len = in iwl_mvm_build_scan_probe()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c348 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs() local
351 if (preq->id != prsp->id) { in otx2_mbox_check_rsp_msgs()
352 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
358 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
363 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h711 struct iwl_scan_probe_req_v1 preq; member
730 struct iwl_scan_probe_req preq; member
870 struct iwl_scan_probe_req preq; member
891 struct iwl_scan_probe_req preq; member
/drivers/staging/rtl8723bs/include/
Drtw_io.h158 extern void sync_ioreq_enqueue(struct io_req *preq, struct io_queue *ioqueue);
162 extern uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c100 u8 *preq; in __send_message() local
165 preq = (u8 *)req; in __send_message()
177 memcpy(cmdqe, preq, min_t(u32, size, sizeof(*cmdqe))); in __send_message()
178 preq += min_t(u32, size, sizeof(*cmdqe)); in __send_message()
/drivers/staging/r8188eu/include/
Drtw_io.h237 void sync_ioreq_enqueue(struct io_req *preq,struct io_queue *ioqueue);
239 uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
/drivers/staging/emxx_udc/
Demxx_udc.c1916 struct usb_request *preq; in _nbu2ss_epn_in_dma_int() local
1918 preq = &req->req; in _nbu2ss_epn_in_dma_int()
1923 preq->actual += req->div_len; in _nbu2ss_epn_in_dma_int()
1931 if (preq->actual != preq->length) { in _nbu2ss_epn_in_dma_int()
1935 size = preq->actual % mpkt; in _nbu2ss_epn_in_dma_int()
1937 if (((preq->actual & 0x03) == 0) && (size < mpkt)) in _nbu2ss_epn_in_dma_int()
/drivers/staging/r8188eu/core/
Drtw_wlan_util.c1582 struct ADDBA_request *preq = (struct ADDBA_request *)paddba_req; in process_addba_req() local
1589 param = le16_to_cpu(preq->BA_para_set); in process_addba_req()
/drivers/usb/gadget/function/
Df_mass_storage.c2217 struct usb_request **preq) in alloc_request() argument
2219 *preq = usb_ep_alloc_request(ep, GFP_ATOMIC); in alloc_request()
2220 if (*preq) in alloc_request()
/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1673 struct ADDBA_request *preq = (struct ADDBA_request *)paddba_req; in process_addba_req() local
1680 param = le16_to_cpu(preq->BA_para_set); in process_addba_req()