/linux-6.6.21/drivers/crypto/marvell/cesa/ |
D | hash.c | 30 struct mv_cesa_ahash_req *creq = ahash_request_ctx(req); in mv_cesa_ahash_req_iter_init() local 31 unsigned int len = req->nbytes + creq->cache_ptr; in mv_cesa_ahash_req_iter_init() 33 if (!creq->last_req) in mv_cesa_ahash_req_iter_init() 38 iter->src.op_offset = creq->cache_ptr; in mv_cesa_ahash_req_iter_init() 96 struct mv_cesa_ahash_req *creq = ahash_request_ctx(req); in mv_cesa_ahash_dma_last_cleanup() local 98 mv_cesa_ahash_dma_free_padding(&creq->req.dma); in mv_cesa_ahash_dma_last_cleanup() 103 struct mv_cesa_ahash_req *creq = ahash_request_ctx(req); in mv_cesa_ahash_dma_cleanup() local 105 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, DMA_TO_DEVICE); in mv_cesa_ahash_dma_cleanup() 106 mv_cesa_ahash_dma_free_cache(&creq->req.dma); in mv_cesa_ahash_dma_cleanup() 107 mv_cesa_dma_cleanup(&creq->base); in mv_cesa_ahash_dma_cleanup() [all …]
|
D | cipher.c | 61 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(req); in mv_cesa_skcipher_dma_cleanup() local 64 dma_unmap_sg(cesa_dev->dev, req->dst, creq->dst_nents, in mv_cesa_skcipher_dma_cleanup() 66 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup() 69 dma_unmap_sg(cesa_dev->dev, req->src, creq->src_nents, in mv_cesa_skcipher_dma_cleanup() 72 mv_cesa_dma_cleanup(&creq->base); in mv_cesa_skcipher_dma_cleanup() 77 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(req); in mv_cesa_skcipher_cleanup() local 79 if (mv_cesa_req_get_type(&creq->base) == CESA_DMA_REQ) in mv_cesa_skcipher_cleanup() 85 struct mv_cesa_skcipher_req *creq = skcipher_request_ctx(req); in mv_cesa_skcipher_std_step() local 86 struct mv_cesa_skcipher_std_req *sreq = &creq->std; in mv_cesa_skcipher_std_step() 87 struct mv_cesa_engine *engine = creq->base.engine; in mv_cesa_skcipher_std_step() [all …]
|
D | cesa.c | 170 struct mv_cesa_req *creq) in mv_cesa_queue_req() argument 173 struct mv_cesa_engine *engine = creq->engine; in mv_cesa_queue_req() 177 if ((mv_cesa_req_get_type(creq) == CESA_DMA_REQ) && in mv_cesa_queue_req() 179 mv_cesa_tdma_chain(engine, creq); in mv_cesa_queue_req()
|
D | cesa.h | 731 struct mv_cesa_req *creq);
|
/linux-6.6.21/drivers/infiniband/hw/bnxt_re/ |
D | qplib_rcfw.c | 168 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __wait_for_resp() 209 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __block_for_resp() 406 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __poll_for_resp() 615 rc = rcfw->creq.aeq_handler(rcfw, (void *)func_event, NULL); in bnxt_qplib_process_func_event() 650 rc = rcfw->creq.aeq_handler(rcfw, qp_event, qp); in bnxt_qplib_process_qp_event() 732 struct bnxt_qplib_rcfw *rcfw = from_tasklet(rcfw, t, creq.creq_tasklet); in bnxt_qplib_service_creq() 733 struct bnxt_qplib_creq_ctx *creq = &rcfw->creq; in bnxt_qplib_service_creq() local 735 struct bnxt_qplib_hwq *hwq = &creq->hwq; in bnxt_qplib_service_creq() 761 creq->stats.creq_qp_event_processed++; in bnxt_qplib_service_creq() 766 creq->stats.creq_func_event_processed++; in bnxt_qplib_service_creq() [all …]
|
D | main.c | 1421 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_uninit() 1448 struct bnxt_qplib_creq_ctx *creq; in bnxt_re_dev_init() local 1499 creq = &rdev->rcfw.creq; in bnxt_re_dev_init() 1500 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init() 1501 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init() 1506 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init() 1605 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_init()
|
D | qplib_rcfw.h | 223 struct bnxt_qplib_creq_ctx creq; member
|
/linux-6.6.21/drivers/crypto/cavium/nitrox/ |
D | nitrox_req.h | 213 struct se_crypto_request creq; member 623 struct se_crypto_request *creq = &nkreq->creq; in alloc_src_req_buf() local 625 nkreq->src = alloc_req_buf(nents, ivsize, creq->gfp); in alloc_src_req_buf() 648 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_src_sg() local 650 creq->src = nitrox_creq_src_sg(iv, ivsize); in nitrox_creq_set_src_sg() 651 sg = creq->src; in nitrox_creq_set_src_sg() 670 struct se_crypto_request *creq = &nkreq->creq; in alloc_dst_req_buf() local 672 nkreq->dst = alloc_req_buf(nents, extralen, creq->gfp); in alloc_dst_req_buf() 681 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_orh() local 683 creq->orh = (u64 *)(nkreq->dst); in nitrox_creq_set_orh() [all …]
|
D | nitrox_aead.c | 153 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_set_creq() local 157 creq->flags = rctx->flags; in nitrox_set_creq() 158 creq->gfp = (rctx->flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? GFP_KERNEL : in nitrox_set_creq() 161 creq->ctrl.value = 0; in nitrox_set_creq() 162 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC; in nitrox_set_creq() 163 creq->ctrl.s.arg = rctx->ctrl_arg; in nitrox_set_creq() 165 creq->gph.param0 = cpu_to_be16(rctx->cryptlen); in nitrox_set_creq() 166 creq->gph.param1 = cpu_to_be16(rctx->cryptlen + rctx->assoclen); in nitrox_set_creq() 167 creq->gph.param2 = cpu_to_be16(rctx->ivsize + rctx->assoclen); in nitrox_set_creq() 170 creq->gph.param3 = cpu_to_be16(param3.param); in nitrox_set_creq() [all …]
|
D | nitrox_skcipher.c | 92 if (nkreq->creq.ctrl.s.arg == ENCRYPT) { in nitrox_cbc_cipher_callback() 253 struct se_crypto_request *creq; in nitrox_skcipher_crypt() local 256 creq = &nkreq->creq; in nitrox_skcipher_crypt() 257 creq->flags = skreq->base.flags; in nitrox_skcipher_crypt() 258 creq->gfp = (skreq->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? in nitrox_skcipher_crypt() 262 creq->ctrl.value = 0; in nitrox_skcipher_crypt() 263 creq->opcode = FLEXI_CRYPTO_ENCRYPT_HMAC; in nitrox_skcipher_crypt() 264 creq->ctrl.s.arg = (enc ? ENCRYPT : DECRYPT); in nitrox_skcipher_crypt() 266 creq->gph.param0 = cpu_to_be16(skreq->cryptlen); in nitrox_skcipher_crypt() 267 creq->gph.param1 = 0; in nitrox_skcipher_crypt() [all …]
|
D | nitrox_reqmgr.c | 214 struct se_crypto_request *creq) in softreq_map_iobuf() argument 218 ret = dma_map_inbufs(sr, creq); in softreq_map_iobuf() 222 ret = dma_map_outbufs(sr, creq); in softreq_map_iobuf()
|
/linux-6.6.21/crypto/ |
D | chacha20poly1305.c | 127 struct chacha_req *creq = &rctx->u.chacha; in chacha_decrypt() local 134 chacha_iv(creq->iv, req, 1); in chacha_decrypt() 141 skcipher_request_set_callback(&creq->req, rctx->flags, in chacha_decrypt() 143 skcipher_request_set_tfm(&creq->req, ctx->chacha); in chacha_decrypt() 144 skcipher_request_set_crypt(&creq->req, src, dst, in chacha_decrypt() 145 rctx->cryptlen, creq->iv); in chacha_decrypt() 146 err = crypto_skcipher_decrypt(&creq->req); in chacha_decrypt() 365 struct chacha_req *creq = &rctx->u.chacha; in poly_genkey() local 377 sg_init_one(creq->src, rctx->key, sizeof(rctx->key)); in poly_genkey() 379 chacha_iv(creq->iv, req, 0); in poly_genkey() [all …]
|
D | pcrypt.c | 96 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_encrypt() local 110 aead_request_set_tfm(creq, ctx->child); in pcrypt_aead_encrypt() 111 aead_request_set_callback(creq, flags & ~CRYPTO_TFM_REQ_MAY_SLEEP, in pcrypt_aead_encrypt() 113 aead_request_set_crypt(creq, req->src, req->dst, in pcrypt_aead_encrypt() 115 aead_request_set_ad(creq, req->assoclen); in pcrypt_aead_encrypt() 145 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_decrypt() local 159 aead_request_set_tfm(creq, ctx->child); in pcrypt_aead_decrypt() 160 aead_request_set_callback(creq, flags & ~CRYPTO_TFM_REQ_MAY_SLEEP, in pcrypt_aead_decrypt() 162 aead_request_set_crypt(creq, req->src, req->dst, in pcrypt_aead_decrypt() 164 aead_request_set_ad(creq, req->assoclen); in pcrypt_aead_decrypt()
|
/linux-6.6.21/tools/net/ynl/samples/ |
D | ethtool.c | 13 struct ethtool_channels_get_req_dump creq = {}; in main() local 23 creq._present.header = 1; /* ethtool needs an empty nest, sigh */ in main() 24 channels = ethtool_channels_get_dump(ys, &creq); in main()
|
/linux-6.6.21/drivers/crypto/ccree/ |
D | cc_request_mgr.c | 47 struct cc_crypto_req creq; member 348 struct cc_crypto_req *creq; in cc_proc_backlog() local 362 creq = &bli->creq; in cc_proc_backlog() 363 req = creq->user_arg; in cc_proc_backlog() 370 creq->user_cb(dev, req, -EINPROGRESS); in cc_proc_backlog() 387 cc_do_send_request(drvdata, &bli->creq, bli->desc, bli->len, in cc_proc_backlog() 435 memcpy(&bli->creq, cc_req, sizeof(*cc_req)); in cc_send_request()
|
/linux-6.6.21/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1274 struct cfg80211_scan_request *creq = NULL; in _new_connect_scan_req() local 1278 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in _new_connect_scan_req() 1281 if (!creq) in _new_connect_scan_req() 1285 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req() 1286 creq->n_channels = n_channels; in _new_connect_scan_req() 1287 creq->n_ssids = 1; in _new_connect_scan_req() 1303 creq->channels[i] = &wiphy->bands[band]->channels[j]; in _new_connect_scan_req() 1309 creq->n_channels = i; in _new_connect_scan_req() 1312 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req() 1313 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req() [all …]
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 1365 rep->creq = rep_ext.creq.base; in vmw_gb_surface_reference_ioctl() 1628 rep->creq.base.svga3d_flags = SVGA3D_FLAGS_LOWER_32(metadata->flags); in vmw_gb_surface_reference_internal() 1629 rep->creq.base.format = metadata->format; in vmw_gb_surface_reference_internal() 1630 rep->creq.base.mip_levels = metadata->mip_levels[0]; in vmw_gb_surface_reference_internal() 1631 rep->creq.base.drm_surface_flags = 0; in vmw_gb_surface_reference_internal() 1632 rep->creq.base.multisample_count = metadata->multisample_count; in vmw_gb_surface_reference_internal() 1633 rep->creq.base.autogen_filter = metadata->autogen_filter; in vmw_gb_surface_reference_internal() 1634 rep->creq.base.array_size = metadata->array_size; in vmw_gb_surface_reference_internal() 1635 rep->creq.base.buffer_handle = backup_handle; in vmw_gb_surface_reference_internal() 1636 rep->creq.base.base_size = metadata->base_size; in vmw_gb_surface_reference_internal() [all …]
|
/linux-6.6.21/net/wireless/ |
D | scan.c | 3145 struct cfg80211_scan_request *creq; in cfg80211_wext_siwscan() local 3171 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in cfg80211_wext_siwscan() 3174 if (!creq) in cfg80211_wext_siwscan() 3177 creq->wiphy = wiphy; in cfg80211_wext_siwscan() 3178 creq->wdev = dev->ieee80211_ptr; in cfg80211_wext_siwscan() 3180 creq->ssids = (void *)&creq->channels[n_channels]; in cfg80211_wext_siwscan() 3181 creq->n_channels = n_channels; in cfg80211_wext_siwscan() 3182 creq->n_ssids = 1; in cfg80211_wext_siwscan() 3183 creq->scan_start = jiffies; in cfg80211_wext_siwscan() 3219 creq->channels[i] = &wiphy->bands[band]->channels[j]; in cfg80211_wext_siwscan() [all …]
|
/linux-6.6.21/include/uapi/drm/ |
D | vmwgfx_drm.h | 1009 struct drm_vmw_gb_surface_create_req creq; member 1216 struct drm_vmw_gb_surface_create_ext_req creq; member
|
/linux-6.6.21/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 1706 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_encrypt() local 1708 return safexcel_queue_req(&req->base, creq, SAFEXCEL_ENCRYPT); in safexcel_aead_encrypt() 1713 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_decrypt() local 1715 return safexcel_queue_req(&req->base, creq, SAFEXCEL_DECRYPT); in safexcel_aead_decrypt() 2761 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_encrypt() local 2766 return safexcel_queue_req(&req->base, creq, SAFEXCEL_ENCRYPT); in safexcel_ccm_encrypt() 2771 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_decrypt() local 2776 return safexcel_queue_req(&req->base, creq, SAFEXCEL_DECRYPT); in safexcel_ccm_decrypt() 2900 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_chachapoly_crypt() local 2916 return safexcel_queue_req(&req->base, creq, dir); in safexcel_aead_chachapoly_crypt() [all …]
|
/linux-6.6.21/drivers/usb/gadget/function/ |
D | f_fs.c | 3280 const struct usb_ctrlrequest *creq) in ffs_func_setup() argument 3287 pr_vdebug("creq->bRequestType = %02x\n", creq->bRequestType); in ffs_func_setup() 3288 pr_vdebug("creq->bRequest = %02x\n", creq->bRequest); in ffs_func_setup() 3289 pr_vdebug("creq->wValue = %04x\n", le16_to_cpu(creq->wValue)); in ffs_func_setup() 3290 pr_vdebug("creq->wIndex = %04x\n", le16_to_cpu(creq->wIndex)); in ffs_func_setup() 3291 pr_vdebug("creq->wLength = %04x\n", le16_to_cpu(creq->wLength)); in ffs_func_setup() 3306 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_setup() 3308 ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup() 3314 ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup() 3323 ret = le16_to_cpu(creq->wIndex); in ffs_func_setup() [all …]
|
/linux-6.6.21/drivers/usb/gadget/udc/ |
D | aspeed_udc.c | 216 void __iomem *creq; member 1001 memcpy_fromio(&crq, udc->creq, sizeof(crq)); in ast_udc_getstatus() 1039 memcpy_fromio(&crq, udc->creq, sizeof(crq)); in ast_udc_ep0_handle_setup() 1520 udc->creq = udc->reg + AST_UDC_SETUP0; in ast_udc_probe()
|
/linux-6.6.21/fs/smb/client/ |
D | smb2ops.c | 4369 void *creq; in crypt_message() local 4404 creq = smb2_get_aead_req(tfm, rqst, num_rqst, sign, &iv, &req, &sg, in crypt_message() 4406 if (IS_ERR(creq)) in crypt_message() 4407 return PTR_ERR(creq); in crypt_message() 4435 kvfree_sensitive(creq, sensitive_size); in crypt_message()
|