Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c146 struct iwl_scan_probe_req preq; member
802 struct ieee80211_mgmt *frame = (void *)params->preq.buf; in iwl_mvm_build_scan_probe()
828 params->preq.mac_header.offset = 0; in iwl_mvm_build_scan_probe()
829 params->preq.mac_header.len = cpu_to_le16(24 + 2); in iwl_mvm_build_scan_probe()
836 params->preq.band_data[0].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
837 params->preq.band_data[0].len = cpu_to_le16(newpos - pos); in iwl_mvm_build_scan_probe()
842 params->preq.band_data[1].offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
843 params->preq.band_data[1].len = in iwl_mvm_build_scan_probe()
848 params->preq.common_data.offset = cpu_to_le16(pos - params->preq.buf); in iwl_mvm_build_scan_probe()
854 params->preq.common_data.len = cpu_to_le16(ies->common_ie_len + in iwl_mvm_build_scan_probe()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.c307 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs() local
310 if (preq->id != prsp->id) { in otx2_mbox_check_rsp_msgs()
311 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
317 trace_otx2_msg_check(mbox->pdev, preq->id, in otx2_mbox_check_rsp_msgs()
322 ireq = mbox->tx_start + preq->next_msgoff; in otx2_mbox_check_rsp_msgs()
/kernel/linux/linux-5.10/net/bluetooth/
Dsmp.c101 u8 preq[7]; /* SMP Pairing Request */ member
407 const u8 r[16], const u8 preq[7], const u8 pres[7], u8 _iat, in smp_c1()
415 SMP_DBG("preq %7phN pres %7phN", preq, pres); in smp_c1()
422 memcpy(p1 + 2, preq, 7); in smp_c1()
955 ret = smp_c1(smp->tk, smp->prnd, smp->preq, smp->prsp, in smp_confirm()
983 ret = smp_c1(smp->tk, smp->rrnd, smp->preq, smp->prsp, in smp_random()
1040 struct smp_cmd_pairing *req = (void *) &smp->preq[1]; in smp_notify_keys()
1250 req = (void *) &smp->preq[1]; in smp_distribute_keys()
1450 memcpy(io_cap, &smp->preq[1], 3); in sc_dhkey_check()
1763 smp->preq[0] = SMP_CMD_PAIRING_REQ; in smp_cmd_pairing_req()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dscan.h755 struct iwl_scan_probe_req_v1 preq; member
774 struct iwl_scan_probe_req preq; member
914 struct iwl_scan_probe_req preq; member
935 struct iwl_scan_probe_req preq; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/
Drtw_io.h271 extern void sync_ioreq_enqueue(struct io_req *preq, struct io_queue *ioqueue);
275 extern uint free_ioreq(struct io_req *preq, struct io_queue *pio_queue);
/kernel/linux/linux-5.10/drivers/staging/emxx_udc/
Demxx_udc.c1917 struct usb_request *preq; in _nbu2ss_epn_in_dma_int() local
1919 preq = &req->req; in _nbu2ss_epn_in_dma_int()
1924 preq->actual += req->div_len; in _nbu2ss_epn_in_dma_int()
1932 if (preq->actual != preq->length) { in _nbu2ss_epn_in_dma_int()
1936 size = preq->actual % mpkt; in _nbu2ss_epn_in_dma_int()
1938 if (((preq->actual & 0x03) == 0) && (size < mpkt)) in _nbu2ss_epn_in_dma_int()
/kernel/linux/linux-5.10/net/mac80211/
Dmesh_hwmp.c932 if (elems.preq) { in mesh_rx_path_sel_frame()
936 path_metric = hwmp_route_info_get(sdata, mgmt, elems.preq, in mesh_rx_path_sel_frame()
939 hwmp_preq_frame_process(sdata, mgmt, elems.preq, in mesh_rx_path_sel_frame()
Dieee80211_i.h1508 const u8 *preq; member
Dutil.c1216 elems->preq = pos; in _ieee802_11_parse_elems_crc()
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/
Drtw_wlan_util.c1403 struct ADDBA_request *preq = (struct ADDBA_request *)paddba_req; in process_addba_req() local
1410 param = le16_to_cpu(preq->BA_para_set); in process_addba_req()
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/
Drtw_wlan_util.c1796 struct ADDBA_request *preq = (struct ADDBA_request *)paddba_req; in process_addba_req() local
1803 start_seq = le16_to_cpu(preq->BA_starting_seqctrl) >> 4; in process_addba_req()
1805 param = le16_to_cpu(preq->BA_para_set); in process_addba_req()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c5945 struct io_kiocb *preq; in io_poll_update() local
5951 preq = io_poll_find(ctx, req->poll_update.old_user_data, true); in io_poll_update()
5952 if (!preq || !io_poll_disarm(preq)) { in io_poll_update()
5954 ret = preq ? -EALREADY : -ENOENT; in io_poll_update()
5962 preq->poll.events &= ~0xffff; in io_poll_update()
5963 preq->poll.events |= req->poll_update.events & 0xffff; in io_poll_update()
5964 preq->poll.events |= IO_POLL_UNMASK; in io_poll_update()
5967 preq->user_data = req->poll_update.new_user_data; in io_poll_update()
5969 ret2 = io_poll_add(preq, issue_flags); in io_poll_update()
5974 req_set_fail(preq); in io_poll_update()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_mass_storage.c2186 struct usb_request **preq) in alloc_request() argument
2188 *preq = usb_ep_alloc_request(ep, GFP_ATOMIC); in alloc_request()
2189 if (*preq) in alloc_request()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch37475 + unsigned int preq;
37511 + preq = modifier ? BYTE_64 : BYTE_1K;
37513 + dprc_write(dprc, preq, FRAME_2P_CTRL0);
37561 + preq = BYTE_64;
37568 + preq = BYTE_64;
37571 + preq = (x_offset % 8) ? BYTE_64 : BYTE_128;
37577 + preq = BYTE_1K;
37580 + dprc_write(dprc, preq, FRAME_1P_CTRL0);