/Linux-v4.19/drivers/crypto/nx/ |
D | nx-aes-gcm.c | 65 csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; in gcm_aes_nx_set_key() 66 memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len); in gcm_aes_nx_set_key() 68 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_GCA; in gcm_aes_nx_set_key() 69 memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); in gcm_aes_nx_set_key() 165 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca() 166 csbcpb_aead->cpb.aes_gca.out_pat, in nx_gca() 176 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca() 194 csbcpb->cpb.hdr.mode = NX_MODE_AES_GMAC; in gmac() 205 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, desc->info, AES_BLOCK_SIZE); in gmac() 228 csbcpb->cpb.aes_gcm.bit_length_data = 0; in gmac() [all …]
|
D | nx-aes-ccm.c | 55 csbcpb->cpb.hdr.mode = NX_MODE_AES_CCM; in ccm_aes_nx_set_key() 56 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key() 58 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; in ccm_aes_nx_set_key() 59 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key() 201 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 206 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 213 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 214 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() 217 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 218 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() [all …]
|
D | nx-aes-xcbc.c | 55 memcpy(csbcpb->cpb.aes_xcbc.key, in_key, key_len); in nx_xcbc_set_key() 82 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in nx_xcbc_empty() 83 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty() 84 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 120 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty() 145 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_xcbc_empty() 146 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 165 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_crypto_ctx_aes_xcbc_init2() 271 memcpy(csbcpb->cpb.aes_xcbc.cv, in nx_xcbc_update() 272 csbcpb->cpb.aes_xcbc.out_cv_mac, in nx_xcbc_update() [all …]
|
D | nx-sha512.c | 95 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_update() 160 memcpy(csbcpb->cpb.sha512.input_partial_digest, in nx_sha512_update() 161 csbcpb->cpb.sha512.message_digest, in nx_sha512_update() 186 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update() 216 memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state, in nx_sha512_final() 229 csbcpb->cpb.sha512.message_bit_length_lo = count0; in nx_sha512_final() 260 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_final()
|
D | nx-sha256.c | 95 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update() 156 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update() 157 csbcpb->cpb.sha256.message_digest, in nx_sha256_update() 183 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update() 212 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_final() 220 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); in nx_sha256_final() 254 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final()
|
D | nx-aes-cbc.c | 59 csbcpb->cpb.hdr.mode = NX_MODE_AES_CBC; in cbc_aes_nx_set_key() 60 memcpy(csbcpb->cpb.aes_cbc.key, in_key, key_len); in cbc_aes_nx_set_key() 88 processed, csbcpb->cpb.aes_cbc.iv); in cbc_aes_nx_crypt() 102 memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in cbc_aes_nx_crypt()
|
D | nx-aes-ctr.c | 60 csbcpb->cpb.hdr.mode = NX_MODE_AES_CTR; in ctr_aes_nx_set_key() 61 memcpy(csbcpb->cpb.aes_ctr.key, in_key, key_len); in ctr_aes_nx_set_key() 101 processed, csbcpb->cpb.aes_ctr.iv); in ctr_aes_nx_crypt() 115 memcpy(desc->info, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in ctr_aes_nx_crypt()
|
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
|
D | nx-aes-ecb.c | 59 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in ecb_aes_nx_set_key() 60 memcpy(csbcpb->cpb.aes_ecb.key, in_key, key_len); in ecb_aes_nx_set_key()
|
/Linux-v4.19/drivers/ata/ |
D | sata_inic162x.c | 229 struct inic_cpb cpb; member 324 struct inic_cpb *cpb = &pp->pkt->cpb; in inic_host_err_intr() local 347 if (cpb->resp_flags & CPB_RESP_IGNORED) { in inic_host_err_intr() 353 if (cpb->resp_flags & CPB_RESP_ATA_ERR) in inic_host_err_intr() 356 if (cpb->resp_flags & CPB_RESP_SPURIOUS) { in inic_host_err_intr() 362 if (cpb->resp_flags & in inic_host_err_intr() 479 struct inic_cpb *cpb = &pkt->cpb; in inic_qc_prep() local 493 cpb->ctl_flags = CPB_CTL_VALID | CPB_CTL_IEN; in inic_qc_prep() 495 cpb->ctl_flags |= CPB_CTL_DATA; in inic_qc_prep() 497 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep() [all …]
|
D | sata_nv.c | 243 struct nv_adma_cpb *cpb; member 784 static unsigned int nv_adma_tf_to_cpb(struct ata_taskfile *tf, __le16 *cpb) in nv_adma_tf_to_cpb() argument 790 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->hob_feature | WNB); in nv_adma_tf_to_cpb() 791 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->hob_nsect); in nv_adma_tf_to_cpb() 792 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf->hob_lbal); in nv_adma_tf_to_cpb() 793 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->hob_lbam); in nv_adma_tf_to_cpb() 794 cpb[idx++] = cpu_to_le16((ATA_REG_LBAH << 8) | tf->hob_lbah); in nv_adma_tf_to_cpb() 795 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); in nv_adma_tf_to_cpb() 797 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature | WNB); in nv_adma_tf_to_cpb() 799 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect); in nv_adma_tf_to_cpb() [all …]
|
/Linux-v4.19/tools/perf/util/ |
D | call-path.c | 62 struct call_path_block *cpb; in call_path__new() local 67 cpb = list_last_entry(&cpr->blocks, struct call_path_block, in call_path__new() 70 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new() 71 if (!cpb) in call_path__new() 73 list_add_tail(&cpb->node, &cpr->blocks); in call_path__new() 78 cp = &cpb->cp[n]; in call_path__new()
|
/Linux-v4.19/drivers/cpufreq/ |
D | acpi-cpufreq.c | 188 cpufreq_freq_attr_rw(cpb); 890 &cpb, 969 if (*attr == &cpb) { in acpi_cpufreq_init()
|
D | Kconfig.x86 | 52 bool "Legacy cpb sysfs knob support for AMD CPUs" 55 The powernow-k8 driver used to provide a sysfs knob called "cpb"
|
/Linux-v4.19/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 1509 .cpb = MAX_CPB_SIZE, 1534 .cpb = MAX_CPB_SIZE_V6, 1563 .cpb = MAX_CPB_SIZE_V7, 1587 .cpb = MAX_CPB_SIZE_V8, 1622 .cpb = MAX_CPB_SIZE_V10,
|
D | s5p_mfc_common.h | 225 unsigned int cpb; member
|
D | s5p_mfc_dec.c | 453 else if (pix_mp->plane_fmt[0].sizeimage > buf_size->cpb) in vidioc_s_fmt() 454 ctx->dec_src_buf_size = buf_size->cpb; in vidioc_s_fmt()
|
D | s5p_mfc_opr_v6.c | 507 writel(buf_size->cpb, mfc_regs->d_cpb_buffer_size); in s5p_mfc_set_dec_stream_buffer_v6()
|
/Linux-v4.19/Documentation/admin-guide/pm/ |
D | cpufreq.rst | 674 Legacy AMD ``cpb`` Knob 683 ``cpb``, which indicates a more fine grained control interface. The actual 692 ``boost`` knob instead of the ``cpb`` one which is highly recommended, as that 693 is more consistent with what all of the other systems do (and the ``cpb`` knob 696 The ``cpb`` knob is never present for any processors without the underlying
|
/Linux-v4.19/arch/mips/include/asm/octeon/ |
D | cvmx-lmcx-defs.h | 1501 uint64_t cpb:3; member 1507 uint64_t cpb:3;
|
/Linux-v4.19/arch/arm/crypto/ |
D | sha256-core.S_shipped | 44 @ Add ARMv8 code path performing at 2.0 cpb on Apple A7.
|