Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.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-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.1.9/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()
126 struct pcrypt_request *preq = pcrypt_padata_request(padata); in pcrypt_aead_dec() local
[all …]
/linux-6.1.9/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.1.9/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.1.9/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()
1190 struct phys_req preq; in dispatch_rw_block_io() local
1251 preq.nr_sects = 0; in dispatch_rw_block_io()
[all …]
/linux-6.1.9/arch/s390/kernel/
Dperf_cpum_cf.c1162 struct cfset_request *preq; in cfset_ioctl_start() local
1184 preq = kzalloc(sizeof(*preq), GFP_KERNEL); in cfset_ioctl_start()
1185 if (!preq) in cfset_ioctl_start()
1187 cpumask_clear(&preq->mask); in cfset_ioctl_start()
1190 if (copy_from_user(&preq->mask, umask, len)) { in cfset_ioctl_start()
1191 kfree(preq); in cfset_ioctl_start()
1194 if (cpumask_empty(&preq->mask)) { in cfset_ioctl_start()
1195 kfree(preq); in cfset_ioctl_start()
1200 kfree(preq); in cfset_ioctl_start()
1203 preq->ctrset = start.counter_sets; in cfset_ioctl_start()
[all …]
/linux-6.1.9/io_uring/
Dpoll.c980 struct io_kiocb *preq; in io_poll_remove() local
984 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table, &bucket); in io_poll_remove()
985 ret2 = io_poll_disarm(preq); in io_poll_remove()
996 preq = io_poll_find(ctx, true, &cd, &ctx->cancel_table_locked, &bucket); in io_poll_remove()
997 ret2 = io_poll_disarm(preq); in io_poll_remove()
1007 if (WARN_ON_ONCE(preq->opcode != IORING_OP_POLL_ADD)) { in io_poll_remove()
1015 struct io_poll *poll = io_kiocb_to_cmd(preq, struct io_poll); in io_poll_remove()
1022 preq->cqe.user_data = poll_update->new_user_data; in io_poll_remove()
1024 ret2 = io_poll_add(preq, issue_flags); in io_poll_remove()
1030 req_set_fail(preq); in io_poll_remove()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c91 struct iwl_scan_probe_req preq; member
742 struct ieee80211_mgmt *frame = (void *)params->preq.buf; in iwl_mvm_build_scan_probe()
768 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
769 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
776 params->preq.band_data[0].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
777 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
782 params->preq.band_data[1].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
783 params->preq.band_data[1].len = in iwl_mvm_build_scan_probe()
789 params->preq.band_data[2].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
790 params->preq.band_data[2].len = in iwl_mvm_build_scan_probe()
[all …]
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c345 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs() local
348 if (preq->id != prsp->id) { in otx2_mbox_check_rsp_msgs()
349 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
355 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
360 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
/linux-6.1.9/net/bluetooth/
Dsmp.c100 u8 preq[7]; /* SMP Pairing Request */ member
406 const u8 r[16], const u8 preq[7], const u8 pres[7], u8 _iat, in smp_c1()
414 SMP_DBG("preq %7phN pres %7phN", preq, pres); in smp_c1()
421 memcpy(p1 + 2, preq, 7); in smp_c1()
955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
984 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1041 struct smp_cmd_pairing *req = (void *) &smp->preq[1]; in smp_notify_keys()
1251 req = (void *) &smp->preq[1]; in smp_distribute_keys()
1453 memcpy(io_cap, &smp->preq[1], 3); in sc_dhkey_check()
1766 smp->preq[0] = SMP_CMD_PAIRING_REQ; in smp_cmd_pairing_req()
[all …]
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h767 struct iwl_scan_probe_req_v1 preq; member
786 struct iwl_scan_probe_req preq; member
926 struct iwl_scan_probe_req preq; member
947 struct iwl_scan_probe_req preq; member
/linux-6.1.9/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.1.9/drivers/staging/r8188eu/include/
Drtw_io.h212 void sync_ioreq_enqueue(struct io_req *preq,struct io_queue *ioqueue);
214 uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt_sysfs_pm.c460 u32 preq = intel_rps_read_punit_req_frequency(&gt->rps); in punit_req_freq_mhz_show() local
462 return sysfs_emit(buff, "%u\n", preq); in punit_req_freq_mhz_show()
/linux-6.1.9/net/mac80211/
Dmesh_hwmp.c939 if (elems->preq) { in mesh_rx_path_sel_frame()
943 path_metric = hwmp_route_info_get(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
946 hwmp_preq_frame_process(sdata, mgmt, elems->preq, in mesh_rx_path_sel_frame()
Dieee80211_i.h1659 const u8 *preq; member
/linux-6.1.9/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()
/linux-6.1.9/drivers/usb/gadget/function/
Df_mass_storage.c2275 struct usb_request **preq) in alloc_request() argument
2277 *preq = usb_ep_alloc_request(ep, GFP_ATOMIC); in alloc_request()
2278 if (*preq) in alloc_request()

12