Home
last modified time | relevance | path

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

12

/linux-6.6.21/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-trace.h295 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
297 TP_ARGS(preq, new_buf_len, offset, dma, unalign),
299 __string(name, preq->pep->name)
306 __assign_str(name, preq->pep->name);
319 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
321 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
325 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
327 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
331 TP_PROTO(struct cdnsp_request *preq, u32 new_buf_len, u32 offset,
333 TP_ARGS(preq, new_buf_len, offset, dma, unalign)
[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-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,
/linux-6.6.21/crypto/
Dchacha20poly1305.c174 struct poly_req *preq = &rctx->u.poly; in poly_tail() local
177 preq->tail.assoclen = cpu_to_le64(rctx->assoclen); in poly_tail()
178 preq->tail.cryptlen = cpu_to_le64(rctx->cryptlen); in poly_tail()
179 sg_init_one(preq->src, &preq->tail, sizeof(preq->tail)); in poly_tail()
181 ahash_request_set_callback(&preq->req, rctx->flags, in poly_tail()
183 ahash_request_set_tfm(&preq->req, ctx->poly); in poly_tail()
184 ahash_request_set_crypt(&preq->req, preq->src, in poly_tail()
185 rctx->tag, sizeof(preq->tail)); in poly_tail()
187 err = crypto_ahash_finup(&preq->req); in poly_tail()
203 struct poly_req *preq = &rctx->u.poly; in poly_cipherpad() local
[all …]
Dpcrypt.c60 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_serial() local
61 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_serial()
69 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_done() local
70 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_done()
79 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_enc() local
80 struct aead_request *req = pcrypt_request_ctx(preq); in pcrypt_aead_enc()
95 struct pcrypt_request *preq = aead_request_ctx(req); in pcrypt_aead_encrypt() local
96 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt()
97 struct padata_priv *padata = pcrypt_request_padata(preq); in pcrypt_aead_encrypt()
128 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_dec() local
[all …]
/linux-6.6.21/drivers/usb/gadget/udc/cdns2/
Dcdns2-gadget.c237 struct cdns2_request *preq, in cdns2_gadget_giveback() argument
240 struct usb_request *request = &preq->request; in cdns2_gadget_giveback()
243 list_del_init(&preq->list); in cdns2_gadget_giveback()
251 preq->finished_trb = 0; in cdns2_gadget_giveback()
253 trace_cdns2_request_giveback(preq); in cdns2_gadget_giveback()
364 struct cdns2_request *preq) in cdns2_dbg_request_trbs() argument
367 struct cdns2_trb *trb = preq->trb; in cdns2_dbg_request_trbs()
368 int num_trbs = preq->num_of_trb; in cdns2_dbg_request_trbs()
499 struct cdns2_request *preq, in cdns2_ep_tx_isoc() argument
524 split_size = preq->request.num_sgs ? 1024 : 3072; in cdns2_ep_tx_isoc()
[all …]
Dcdns2-trace.h270 TP_PROTO(struct cdns2_request *preq),
271 TP_ARGS(preq),
273 __string(name, preq->pep->name)
275 __field(struct cdns2_request *, preq)
291 __assign_str(name, preq->pep->name);
292 __entry->request = &preq->request;
293 __entry->preq = preq;
294 __entry->buf = preq->request.buf;
295 __entry->actual = preq->request.actual;
296 __entry->length = preq->request.length;
[all …]
Dcdns2-ep0.c93 struct cdns2_request *preq; in cdns2_ep0_stall() local
95 preq = cdns2_next_preq(&pep->pending_list); in cdns2_ep0_stall()
98 if (pdev->ep0_stage == CDNS2_DATA_STAGE && preq) in cdns2_ep0_stall()
99 cdns2_gadget_giveback(pep, preq, -ECONNRESET); in cdns2_ep0_stall()
100 else if (preq) in cdns2_ep0_stall()
101 list_del_init(&preq->list); in cdns2_ep0_stall()
110 struct cdns2_request *preq; in cdns2_status_stage() local
112 preq = cdns2_next_preq(&pep->pending_list); in cdns2_status_stage()
113 if (preq) in cdns2_status_stage()
114 list_del_init(&preq->list); in cdns2_status_stage()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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()
/linux-6.6.21/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()
973 struct phys_req preq; in dispatch_discard_io() local
977 preq.sector_number = req->u.discard.sector_number; in dispatch_discard_io()
978 preq.nr_sects = req->u.discard.nr_sectors; in dispatch_discard_io()
980 err = xen_vbd_translate(&preq, blkif, REQ_OP_WRITE); in dispatch_discard_io()
983 preq.sector_number, in dispatch_discard_io()
984 preq.sector_number + preq.nr_sects, blkif->vbd.pdevice); in dispatch_discard_io()
1294 struct phys_req preq; in dispatch_rw_block_io() local
1355 preq.nr_sects = 0; in dispatch_rw_block_io()
[all …]
/linux-6.6.21/io_uring/
Dpoll.c982 struct io_kiocb *preq; in io_poll_remove() local
987 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table, &bucket); in io_poll_remove()
988 ret2 = io_poll_disarm(preq); in io_poll_remove()
998 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table_locked, &bucket); in io_poll_remove()
999 ret2 = io_poll_disarm(preq); in io_poll_remove()
1008 if (WARN_ON_ONCE(preq->opcode != IORING_OP_POLL_ADD)) { in io_poll_remove()
1016 struct io_poll *poll = io_kiocb_to_cmd(preq, struct io_poll); in io_poll_remove()
1023 preq->cqe.user_data = poll_update->new_user_data; in io_poll_remove()
1025 ret2 = io_poll_add(preq, issue_flags & ~IO_URING_F_UNLOCKED); in io_poll_remove()
1031 req_set_fail(preq); in io_poll_remove()
[all …]
/linux-6.6.21/arch/s390/kernel/
Dperf_cpum_cf.c1596 struct cfset_request *preq; in cfset_ioctl_start() local
1618 preq = kzalloc(sizeof(*preq), GFP_KERNEL); in cfset_ioctl_start()
1619 if (!preq) in cfset_ioctl_start()
1621 cpumask_clear(&preq->mask); in cfset_ioctl_start()
1624 if (copy_from_user(&preq->mask, umask, len)) { in cfset_ioctl_start()
1625 kfree(preq); in cfset_ioctl_start()
1628 if (cpumask_empty(&preq->mask)) { in cfset_ioctl_start()
1629 kfree(preq); in cfset_ioctl_start()
1634 kfree(preq); in cfset_ioctl_start()
1637 preq->ctrset = start.counter_sets; in cfset_ioctl_start()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c94 struct iwl_scan_probe_req preq; member
748 struct ieee80211_mgmt *frame = (void *)params->preq.buf; in iwl_mvm_build_scan_probe()
774 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
775 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
782 params->preq.band_data[0].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
783 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
788 params->preq.band_data[1].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
789 params->preq.band_data[1].len = in iwl_mvm_build_scan_probe()
795 params->preq.band_data[2].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
796 params->preq.band_data[2].len = in iwl_mvm_build_scan_probe()
[all …]
/linux-6.6.21/net/bluetooth/
Dsmp.c102 u8 preq[7]; /* SMP Pairing Request */ member
408 const u8 r[16], const u8 preq[7], const u8 pres[7], u8 _iat, in smp_c1()
416 SMP_DBG("preq %7phN pres %7phN", preq, pres); in smp_c1()
423 memcpy(p1 + 2, preq, 7); in smp_c1()
957 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
986 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1043 struct smp_cmd_pairing *req = (void *) &smp->preq[1]; in smp_notify_keys()
1265 req = (void *) &smp->preq[1]; in smp_distribute_keys()
1467 memcpy(io_cap, &smp->preq[1], 3); in sc_dhkey_check()
1780 smp->preq[0] = SMP_CMD_PAIRING_REQ; in smp_cmd_pairing_req()
[all …]
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c245 u8 *preq; in __send_message_no_waiter() local
261 preq = (u8 *)msg->req; in __send_message_no_waiter()
268 memcpy(cmdqe, preq, min_t(u32, bsize, sizeof(*cmdqe))); in __send_message_no_waiter()
269 preq += min_t(u32, bsize, sizeof(*cmdqe)); in __send_message_no_waiter()
295 u8 *preq; in __send_message() local
342 preq = (u8 *)msg->req; in __send_message()
349 memcpy(cmdqe, preq, min_t(u32, bsize, sizeof(*cmdqe))); in __send_message()
350 preq += min_t(u32, bsize, sizeof(*cmdqe)); in __send_message()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h778 struct iwl_scan_probe_req_v1 preq; member
797 struct iwl_scan_probe_req preq; member
937 struct iwl_scan_probe_req preq; member
958 struct iwl_scan_probe_req preq; member
/linux-6.6.21/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);
/linux-6.6.21/drivers/staging/emxx_udc/
Demxx_udc.c1913 struct usb_request *preq; in _nbu2ss_epn_in_dma_int() local
1915 preq = &req->req; in _nbu2ss_epn_in_dma_int()
1920 preq->actual += req->div_len; in _nbu2ss_epn_in_dma_int()
1928 if (preq->actual != preq->length) { in _nbu2ss_epn_in_dma_int()
1932 size = preq->actual % mpkt; in _nbu2ss_epn_in_dma_int()
1934 if (((preq->actual & 0x03) == 0) && (size < mpkt)) in _nbu2ss_epn_in_dma_int()
/linux-6.6.21/net/mac80211/
Dmesh_hwmp.c948 if (elems->preq) { in mesh_rx_path_sel_frame()
952 path_metric = hwmp_route_info_get(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
955 hwmp_preq_frame_process(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
/linux-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs_pm.c449 u32 preq = intel_rps_read_punit_req_frequency(&gt->rps); in punit_req_freq_mhz_show() local
451 return sysfs_emit(buff, "%u\n", preq); in punit_req_freq_mhz_show()
/linux-6.6.21/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1669 struct ADDBA_request *preq = (struct ADDBA_request *)paddba_req; in process_addba_req() local
1676 param = le16_to_cpu(preq->BA_para_set); in process_addba_req()

12