/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);
|
/drivers/infiniband/hw/bnxt_re/ |
D | qplib_rcfw.c | 82 bnxt_qplib_service_creq(&rcfw->creq.creq_tasklet); in __block_for_resp() 297 rc = rcfw->creq.aeq_handler(rcfw, (void *)func_event, NULL); in bnxt_qplib_process_func_event() 333 rc = rcfw->creq.aeq_handler(rcfw, qp_event, qp); in bnxt_qplib_process_qp_event() 382 struct bnxt_qplib_rcfw *rcfw = from_tasklet(rcfw, t, creq.creq_tasklet); in bnxt_qplib_service_creq() 383 struct bnxt_qplib_creq_ctx *creq = &rcfw->creq; in bnxt_qplib_service_creq() local 385 struct bnxt_qplib_hwq *hwq = &creq->hwq; in bnxt_qplib_service_creq() 410 creq->stats.creq_qp_event_processed++; in bnxt_qplib_service_creq() 415 creq->stats.creq_func_event_processed++; in bnxt_qplib_service_creq() 433 bnxt_qplib_ring_nq_db(&creq->creq_db.dbinfo, in bnxt_qplib_service_creq() 444 struct bnxt_qplib_creq_ctx *creq; in bnxt_qplib_creq_irq() local [all …]
|
D | main.c | 1359 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_uninit() 1390 struct bnxt_qplib_creq_ctx *creq; in bnxt_re_dev_init() local 1440 creq = &rdev->rcfw.creq; in bnxt_re_dev_init() 1441 rattr.dma_arr = creq->hwq.pbl[PBL_LVL_0].pg_map_arr; in bnxt_re_dev_init() 1442 rattr.pages = creq->hwq.pbl[creq->hwq.level].pg_count; in bnxt_re_dev_init() 1447 rc = bnxt_re_net_ring_alloc(rdev, &rattr, &creq->ring_id); in bnxt_re_dev_init() 1532 bnxt_re_net_ring_free(rdev, rdev->rcfw.creq.ring_id, type); in bnxt_re_dev_init()
|
D | qplib_rcfw.h | 185 struct bnxt_qplib_creq_ctx creq; member
|
/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()
|
/drivers/net/can/ |
D | pch_can.c | 123 u32 creq; member 285 pch_can_rw_msg_obj(&priv->regs->ifregs[dir].creq, buff_num); in pch_can_set_rxtx() 301 pch_can_rw_msg_obj(&priv->regs->ifregs[dir].creq, buff_num); in pch_can_set_rxtx() 345 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i); in pch_can_clear_if_buffers() 355 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i); in pch_can_config_rx_tx_buffers() 379 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, i); in pch_can_config_rx_tx_buffers() 384 pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, i); in pch_can_config_rx_tx_buffers() 401 pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, i); in pch_can_config_rx_tx_buffers() 451 pch_can_rw_msg_obj(&priv->regs->ifregs[0].creq, mask); in pch_can_int_clr() 468 pch_can_rw_msg_obj(&priv->regs->ifregs[1].creq, mask); in pch_can_int_clr() [all …]
|
/drivers/net/wireless/marvell/libertas/ |
D | cfg.c | 1227 struct cfg80211_scan_request *creq = NULL; in _new_connect_scan_req() local 1231 creq = kzalloc(sizeof(*creq) + sizeof(struct cfg80211_ssid) + in _new_connect_scan_req() 1234 if (!creq) in _new_connect_scan_req() 1238 creq->ssids = (void *)&creq->channels[n_channels]; in _new_connect_scan_req() 1239 creq->n_channels = n_channels; in _new_connect_scan_req() 1240 creq->n_ssids = 1; in _new_connect_scan_req() 1256 creq->channels[i] = &wiphy->bands[band]->channels[j]; in _new_connect_scan_req() 1262 creq->n_channels = i; in _new_connect_scan_req() 1265 memcpy(creq->ssids[0].ssid, sme->ssid, sme->ssid_len); in _new_connect_scan_req() 1266 creq->ssids[0].ssid_len = sme->ssid_len; in _new_connect_scan_req() [all …]
|
/drivers/crypto/ccree/ |
D | cc_request_mgr.c | 47 struct cc_crypto_req creq; member 349 struct cc_crypto_req *creq; in cc_proc_backlog() local 363 creq = &bli->creq; in cc_proc_backlog() 364 req = creq->user_arg; in cc_proc_backlog() 371 creq->user_cb(dev, req, -EINPROGRESS); in cc_proc_backlog() 388 cc_do_send_request(drvdata, &bli->creq, bli->desc, bli->len, in cc_proc_backlog() 436 memcpy(&bli->creq, cc_req, sizeof(*cc_req)); in cc_send_request()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_surface.c | 1395 rep->creq = rep_ext.creq.base; in vmw_gb_surface_reference_ioctl() 1672 rep->creq.base.svga3d_flags = SVGA3D_FLAGS_LOWER_32(metadata->flags); in vmw_gb_surface_reference_internal() 1673 rep->creq.base.format = metadata->format; in vmw_gb_surface_reference_internal() 1674 rep->creq.base.mip_levels = metadata->mip_levels[0]; in vmw_gb_surface_reference_internal() 1675 rep->creq.base.drm_surface_flags = 0; in vmw_gb_surface_reference_internal() 1676 rep->creq.base.multisample_count = metadata->multisample_count; in vmw_gb_surface_reference_internal() 1677 rep->creq.base.autogen_filter = metadata->autogen_filter; in vmw_gb_surface_reference_internal() 1678 rep->creq.base.array_size = metadata->array_size; in vmw_gb_surface_reference_internal() 1679 rep->creq.base.buffer_handle = backup_handle; in vmw_gb_surface_reference_internal() 1680 rep->creq.base.base_size = metadata->base_size; in vmw_gb_surface_reference_internal() [all …]
|
/drivers/crypto/inside-secure/ |
D | safexcel_cipher.c | 1687 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_encrypt() local 1689 return safexcel_queue_req(&req->base, creq, SAFEXCEL_ENCRYPT); in safexcel_aead_encrypt() 1694 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_decrypt() local 1696 return safexcel_queue_req(&req->base, creq, SAFEXCEL_DECRYPT); in safexcel_aead_decrypt() 2753 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_encrypt() local 2758 return safexcel_queue_req(&req->base, creq, SAFEXCEL_ENCRYPT); in safexcel_ccm_encrypt() 2763 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_ccm_decrypt() local 2768 return safexcel_queue_req(&req->base, creq, SAFEXCEL_DECRYPT); in safexcel_ccm_decrypt() 2892 struct safexcel_cipher_req *creq = aead_request_ctx(req); in safexcel_aead_chachapoly_crypt() local 2908 return safexcel_queue_req(&req->base, creq, dir); in safexcel_aead_chachapoly_crypt() [all …]
|
/drivers/usb/gadget/function/ |
D | f_fs.c | 3361 const struct usb_ctrlrequest *creq) in ffs_func_setup() argument 3370 pr_vdebug("creq->bRequestType = %02x\n", creq->bRequestType); in ffs_func_setup() 3371 pr_vdebug("creq->bRequest = %02x\n", creq->bRequest); in ffs_func_setup() 3372 pr_vdebug("creq->wValue = %04x\n", le16_to_cpu(creq->wValue)); in ffs_func_setup() 3373 pr_vdebug("creq->wIndex = %04x\n", le16_to_cpu(creq->wIndex)); in ffs_func_setup() 3374 pr_vdebug("creq->wLength = %04x\n", le16_to_cpu(creq->wLength)); in ffs_func_setup() 3389 switch (creq->bRequestType & USB_RECIP_MASK) { in ffs_func_setup() 3391 ret = ffs_func_revmap_intf(func, le16_to_cpu(creq->wIndex)); 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() [all …]
|