| /drivers/crypto/nx/ |
| A D | nx-aes-gcm.c | 53 csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; in gcm_aes_nx_set_key() 150 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca() 151 csbcpb_aead->cpb.aes_gca.out_pat, in nx_gca() 222 memcpy(csbcpb->cpb.aes_gcm.in_s0, in gmac() 235 csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; in gmac() 255 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in gcm_empty() 256 memcpy(csbcpb->cpb.aes_ecb.key, csbcpb->cpb.aes_gcm.key, in gcm_empty() 257 sizeof(csbcpb->cpb.aes_ecb.key)); in gcm_empty() 299 memset(csbcpb->cpb.aes_ecb.key, 0, sizeof(csbcpb->cpb.aes_ecb.key)); in gcm_empty() 376 memcpy(csbcpb->cpb.aes_gcm.in_s0, in gcm_aes_nx_crypt() [all …]
|
| A D | nx-aes-ccm.c | 43 csbcpb->cpb.hdr.mode = NX_MODE_AES_CCM; in ccm_aes_nx_set_key() 46 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; in ccm_aes_nx_set_key() 198 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 199 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() 202 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 203 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() 346 csbcpb->cpb.aes_ccm.in_pat_or_b0); in ccm_nx_decrypt() 366 csbcpb->cpb.aes_ccm.iv_or_ctr); in ccm_nx_decrypt() 381 memcpy(csbcpb->cpb.aes_ccm.in_s0, in ccm_nx_decrypt() 416 csbcpb->cpb.aes_ccm.in_pat_or_b0); in ccm_nx_encrypt() [all …]
|
| A D | nx-aes-xcbc.c | 42 memcpy(csbcpb->cpb.aes_xcbc.key, in_key, key_len); in nx_xcbc_set_key() 69 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in nx_xcbc_empty() 70 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty() 71 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 106 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty() 130 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_xcbc_empty() 131 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 150 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_crypto_ctx_aes_xcbc_init2() 217 memcpy(csbcpb->cpb.aes_xcbc.cv, in nx_xcbc_update() 218 csbcpb->cpb.aes_xcbc.out_cv_mac, AES_BLOCK_SIZE); in nx_xcbc_update() [all …]
|
| A D | nx-sha512.c | 78 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_update() 115 memcpy(csbcpb->cpb.sha512.input_partial_digest, in nx_sha512_update() 116 csbcpb->cpb.sha512.message_digest, in nx_sha512_update() 138 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update() 167 memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_finup() 174 csbcpb->cpb.sha512.message_bit_length_lo = count0 << 3; in nx_sha512_finup() 175 csbcpb->cpb.sha512.message_bit_length_hi = (count1 << 3) | in nx_sha512_finup() 205 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_finup()
|
| A D | nx-sha256.c | 77 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update() 114 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update() 115 csbcpb->cpb.sha256.message_digest, in nx_sha256_update() 135 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update() 163 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_finup() 168 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); in nx_sha256_finup() 200 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_finup()
|
| A D | nx-aes-cbc.c | 49 csbcpb->cpb.hdr.mode = NX_MODE_AES_CBC; in cbc_aes_nx_set_key() 50 memcpy(csbcpb->cpb.aes_cbc.key, in_key, key_len); in cbc_aes_nx_set_key() 77 csbcpb->cpb.aes_cbc.iv); in cbc_aes_nx_crypt() 91 memcpy(req->iv, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in cbc_aes_nx_crypt()
|
| A D | nx-aes-ctr.c | 50 csbcpb->cpb.hdr.mode = NX_MODE_AES_CTR; in ctr_aes_nx_set_key() 51 memcpy(csbcpb->cpb.aes_ctr.key, in_key, key_len); in ctr_aes_nx_set_key() 90 csbcpb->cpb.aes_ctr.iv); in ctr_aes_nx_crypt() 104 memcpy(iv, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in ctr_aes_nx_crypt()
|
| A D | nx_csbcpb.h | 104 #define NX_CPB_FDM(c) ((c)->cpb.hdr.fdm) 105 #define NX_CPB_KS_DS(c) ((c)->cpb.hdr.ks_ds) 151 struct cop_parameter_block cpb; member
|
| A D | nx-aes-ecb.c | 49 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in ecb_aes_nx_set_key() 50 memcpy(csbcpb->cpb.aes_ecb.key, in_key, key_len); in ecb_aes_nx_set_key()
|
| /drivers/ata/ |
| A D | sata_inic162x.c | 228 struct inic_cpb cpb; member 330 struct inic_cpb *cpb = &pp->pkt->cpb; in inic_host_err_intr() local 368 if (cpb->resp_flags & in inic_host_err_intr() 485 struct inic_cpb *cpb = &pkt->cpb; in inic_qc_prep() local 504 cpb->device = qc->tf.device; in inic_qc_prep() 505 cpb->feature = qc->tf.feature; in inic_qc_prep() 506 cpb->nsect = qc->tf.nsect; in inic_qc_prep() 507 cpb->lbal = qc->tf.lbal; in inic_qc_prep() 508 cpb->lbam = qc->tf.lbam; in inic_qc_prep() 509 cpb->lbah = qc->tf.lbah; in inic_qc_prep() [all …]
|
| A D | sata_nv.c | 228 struct nv_adma_cpb *cpb; member 1149 pp->cpb = mem; in nv_adma_port_start() 1351 struct nv_adma_cpb *cpb = &pp->cpb[qc->hw_tag]; in nv_adma_qc_prep() local 1365 cpb->ctl_flags = 0; in nv_adma_qc_prep() 1368 cpb->len = 3; in nv_adma_qc_prep() 1369 cpb->tag = qc->hw_tag; in nv_adma_qc_prep() 1370 cpb->next_cpb_idx = 0; in nv_adma_qc_prep() 1379 nv_adma_fill_sg(qc, cpb); in nv_adma_qc_prep() 1389 cpb->resp_flags = 0; in nv_adma_qc_prep() 1652 struct nv_adma_cpb *cpb = &pp->cpb[i]; in nv_adma_error_handler() local [all …]
|
| /drivers/media/platform/samsung/s5p-mfc/ |
| A D | s5p_mfc.c | 1549 .cpb = MAX_CPB_SIZE, 1574 .cpb = MAX_CPB_SIZE_V6, 1603 .cpb = MAX_CPB_SIZE_V7, 1637 .cpb = MAX_CPB_SIZE_V8, 1672 .cpb = MAX_CPB_SIZE_V10, 1695 .cpb = MAX_CPB_SIZE_V12,
|
| A D | s5p_mfc_common.h | 224 unsigned int cpb; member
|
| A D | s5p_mfc_dec.c | 475 else if (pix_mp->plane_fmt[0].sizeimage > buf_size->cpb) in vidioc_s_fmt() 476 ctx->dec_src_buf_size = buf_size->cpb; in vidioc_s_fmt()
|
| A D | s5p_mfc_opr_v6.c | 599 writel(buf_size->cpb, mfc_regs->d_cpb_buffer_size); in s5p_mfc_set_dec_stream_buffer_v6()
|
| /drivers/cpufreq/ |
| A D | acpi-cpufreq.c | 179 cpufreq_freq_attr_rw(cpb); 968 &cpb, 1026 if (*attr == &cpb) { in acpi_cpufreq_probe()
|
| A D | Kconfig.x86 | 105 bool "Legacy cpb sysfs knob support for AMD CPUs" 108 The powernow-k8 driver used to provide a sysfs knob called "cpb"
|