/linux-6.3-rc2/drivers/crypto/marvell/cesa/ |
A D | hash.c | 33 if (!creq->last_req) in mv_cesa_ahash_req_iter_init() 188 creq->cache, creq->cache_ptr); in mv_cesa_ahash_std_step() 191 creq->cache, creq->cache_ptr); in mv_cesa_ahash_std_step() 243 i = mv_cesa_ahash_pad_req(creq, creq->cache); in mv_cesa_ahash_std_step() 445 memset(creq, 0, sizeof(*creq)); in mv_cesa_ahash_init() 454 creq->len = 0; in mv_cesa_ahash_init() 482 creq->cache + creq->cache_ptr, in mv_cesa_ahash_cache_req() 534 memcpy(ahashdreq->cache, creq->cache, creq->cache_ptr); in mv_cesa_ahash_dma_add_cache() 730 creq->cache_ptr = req->nbytes + creq->cache_ptr - in mv_cesa_ahash_dma_req_init() 853 memcpy(cache, creq->cache, creq->cache_ptr); in mv_cesa_ahash_export() [all …]
|
A D | cipher.c | 72 mv_cesa_dma_cleanup(&creq->base); in mv_cesa_skcipher_dma_cleanup() 147 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_process() 161 mv_cesa_dma_step(&creq->base); in mv_cesa_skcipher_step() 170 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_prepare() 191 creq->base.engine = engine; in mv_cesa_skcipher_prepare() 221 basereq = &creq->base; in mv_cesa_skcipher_complete() 318 struct mv_cesa_req *basereq = &creq->base; in mv_cesa_skcipher_dma_req_init() 434 if (creq->src_nents < 0) { in mv_cesa_skcipher_req_init() 436 return creq->src_nents; in mv_cesa_skcipher_req_init() 439 if (creq->dst_nents < 0) { in mv_cesa_skcipher_req_init() [all …]
|
A 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()
|
A D | cesa.h | 731 struct mv_cesa_req *creq);
|
/linux-6.3-rc2/drivers/infiniband/hw/bnxt_re/ |
A D | qplib_rcfw.c | 380 struct bnxt_qplib_creq_ctx *creq = &rcfw->creq; in bnxt_qplib_service_creq() local 441 creq = &rcfw->creq; in bnxt_qplib_creq_irq() 442 hwq = &creq->hwq; in bnxt_qplib_creq_irq() 578 creq = &rcfw->creq; in bnxt_qplib_alloc_rcfw_channel() 637 creq = &rcfw->creq; in bnxt_qplib_rcfw_stop_irq() 658 creq = &rcfw->creq; in bnxt_qplib_disable_rcfw_channel() 674 creq->msix_vec = 0; in bnxt_qplib_disable_rcfw_channel() 683 creq = &rcfw->creq; in bnxt_qplib_rcfw_start_irq() 685 if (creq->requested) in bnxt_qplib_rcfw_start_irq() 782 creq = &rcfw->creq; in bnxt_qplib_start_rcfw() [all …]
|
A D | main.c | 1190 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_uninit() 1213 struct bnxt_qplib_creq_ctx *creq; in bnxt_re_dev_init() local 1265 creq = &rdev->rcfw.creq; in bnxt_re_dev_init() 1266 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init() 1267 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init() 1272 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init() 1362 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_init()
|
A D | qplib_rcfw.h | 184 struct bnxt_qplib_creq_ctx creq; member
|
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A 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 648 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_src_sg() local 651 sg = creq->src; in nitrox_creq_set_src_sg() 670 struct se_crypto_request *creq = &nkreq->creq; in alloc_dst_req_buf() local 681 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_orh() local 684 set_orh_value(creq->orh); in nitrox_creq_set_orh() 689 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_comp() local 692 set_comp_value(creq->comp); in nitrox_creq_set_comp() 704 struct se_crypto_request *creq = &nkreq->creq; in nitrox_creq_set_dst_sg() local [all …]
|
A 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() 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() 170 creq->gph.param3 = cpu_to_be16(param3.param); in nitrox_set_creq() 172 creq->ctx_handle = rctx->ctx_handle; in nitrox_set_creq() 218 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_aes_gcm_enc() local 252 struct se_crypto_request *creq = &rctx->nkreq.creq; in nitrox_aes_gcm_dec() local 446 struct se_crypto_request *creq = &aead_rctx->nkreq.creq; in nitrox_rfc4106_enc() local [all …]
|
A 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() 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() 267 creq->gph.param1 = 0; in nitrox_skcipher_crypt() 269 creq->gph.param2 = cpu_to_be16(ivsize); in nitrox_skcipher_crypt() 270 creq->gph.param3 = 0; in nitrox_skcipher_crypt() [all …]
|
A 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.3-rc2/crypto/ |
A 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() 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 379 chacha_iv(creq->iv, req, 0); in poly_genkey() 384 skcipher_request_set_crypt(&creq->req, creq->src, creq->src, in poly_genkey() 385 POLY1305_KEY_SIZE, creq->iv); in poly_genkey() 387 err = crypto_skcipher_decrypt(&creq->req); in poly_genkey() 410 chacha_iv(creq->iv, req, 1); in chacha_encrypt() [all …]
|
A 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() 143 struct aead_request *creq = pcrypt_request_ctx(preq); in pcrypt_aead_decrypt() local 157 aead_request_set_tfm(creq, ctx->child); in pcrypt_aead_decrypt() 158 aead_request_set_callback(creq, flags & ~CRYPTO_TFM_REQ_MAY_SLEEP, in pcrypt_aead_decrypt() 160 aead_request_set_crypt(creq, req->src, req->dst, in pcrypt_aead_decrypt() 162 aead_request_set_ad(creq, req->assoclen); in pcrypt_aead_decrypt()
|
/linux-6.3-rc2/drivers/crypto/ccree/ |
A 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.3-rc2/drivers/net/wireless/marvell/libertas/ |
A D | cfg.c | 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() 1309 creq->n_channels = i; in _new_connect_scan_req() 1316 kfree(creq); in _new_connect_scan_req() 1317 creq = NULL; in _new_connect_scan_req() 1320 return creq; in _new_connect_scan_req() 1335 struct cfg80211_scan_request *creq; in lbs_cfg_connect() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/vmwgfx/ |
A D | vmwgfx_surface.c | 1367 rep->creq = rep_ext.creq.base; in vmw_gb_surface_reference_ioctl() 1633 rep->creq.base.format = metadata->format; in vmw_gb_surface_reference_internal() 1634 rep->creq.base.mip_levels = metadata->mip_levels[0]; in vmw_gb_surface_reference_internal() 1635 rep->creq.base.drm_surface_flags = 0; in vmw_gb_surface_reference_internal() 1638 rep->creq.base.array_size = metadata->array_size; in vmw_gb_surface_reference_internal() 1639 rep->creq.base.buffer_handle = backup_handle; in vmw_gb_surface_reference_internal() 1640 rep->creq.base.base_size = metadata->base_size; in vmw_gb_surface_reference_internal() 1648 rep->creq.version = drm_vmw_gb_surface_v1; in vmw_gb_surface_reference_internal() 1649 rep->creq.svga3d_flags_upper_32_bits = in vmw_gb_surface_reference_internal() 1652 rep->creq.quality_level = metadata->quality_level; in vmw_gb_surface_reference_internal() [all …]
|
/linux-6.3-rc2/net/wireless/ |
A D | scan.c | 2779 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in cfg80211_wext_siwscan() 2782 if (!creq) in cfg80211_wext_siwscan() 2785 creq->wiphy = wiphy; in cfg80211_wext_siwscan() 2788 creq->ssids = (void *)&creq->channels[n_channels]; in cfg80211_wext_siwscan() 2790 creq->n_ssids = 1; in cfg80211_wext_siwscan() 2791 creq->scan_start = jiffies; in cfg80211_wext_siwscan() 2839 creq->n_channels = i; in cfg80211_wext_siwscan() 2852 creq->n_ssids = 0; in cfg80211_wext_siwscan() 2863 rdev->scan_req = creq; in cfg80211_wext_siwscan() 2871 creq = NULL; in cfg80211_wext_siwscan() [all …]
|
/linux-6.3-rc2/include/uapi/drm/ |
A 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.3-rc2/drivers/crypto/inside-secure/ |
A D | safexcel_cipher.c | 1703 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_encrypt() local 1705 return safexcel_queue_req(&req->base, creq, SAFEXCEL_ENCRYPT); in safexcel_aead_encrypt() 1710 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_decrypt() local 2758 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_encrypt() local 2768 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_decrypt() local 2897 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_chachapoly_crypt() local 2913 return safexcel_queue_req(&req->base, creq, dir); in safexcel_aead_chachapoly_crypt() 3418 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_sm4cbc_sm3_encrypt() local 3432 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_sm4cbc_sm3_decrypt() local 3704 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_rfc4309_ccm_encrypt() local [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/function/ |
A D | f_fs.c | 3361 const struct usb_ctrlrequest *creq) in ffs_func_setup() argument 3371 pr_vdebug("creq->bRequest = %02x\n", creq->bRequest); in ffs_func_setup() 3389 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_setup() 3397 ret = ffs_func_revmap_ep(func, le16_to_cpu(creq->wIndex)); in ffs_func_setup() 3406 ret = le16_to_cpu(creq->wIndex); in ffs_func_setup() 3412 ffs->ev.setup = *creq; in ffs_func_setup() 3417 return creq->wLength == 0 ? USB_GADGET_DELAYED_STATUS : 0; in ffs_func_setup() 3421 const struct usb_ctrlrequest *creq, in ffs_func_req_match() argument 3429 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_req_match() 3432 le16_to_cpu(creq->wIndex)) >= 0); in ffs_func_req_match() [all …]
|
/linux-6.3-rc2/drivers/usb/gadget/udc/ |
A 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() 1522 udc->creq = udc->reg + AST_UDC_SETUP0; in ast_udc_probe()
|
/linux-6.3-rc2/fs/cifs/ |
A D | smb2ops.c | 4374 void *creq; in crypt_message() local 4409 creq = smb2_get_aead_req(tfm, rqst, num_rqst, sign, &iv, &req, &sg, in crypt_message() 4411 if (IS_ERR(creq)) in crypt_message() 4412 return PTR_ERR(creq); in crypt_message() 4440 kvfree_sensitive(creq, sensitive_size); in crypt_message()
|