| /linux/drivers/crypto/nx/ |
| H A D | nx-aes-gcm.c | 53 csbcpb->cpb.hdr.mode = NX_MODE_AES_GCM; in gcm_aes_nx_set_key() 54 memcpy(csbcpb->cpb.aes_gcm.key, in_key, key_len); in gcm_aes_nx_set_key() 56 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_GCA; in gcm_aes_nx_set_key() 57 memcpy(csbcpb_aead->cpb.aes_gca.key, in_key, key_len); 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() 161 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca() 178 csbcpb->cpb.hdr.mode = NX_MODE_AES_GMAC; in gmac() 189 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac() 212 csbcpb->cpb.aes_gcm.bit_length_data = 0; in gmac() [all …]
|
| H A D | nx-aes-ccm.c | 43 csbcpb->cpb.hdr.mode = NX_MODE_AES_CCM; in ccm_aes_nx_set_key() 44 memcpy(csbcpb->cpb.aes_ccm.key, in_key, key_len); in ccm_aes_nx_set_key() 46 csbcpb_aead->cpb.hdr.mode = NX_MODE_AES_CCA; in ccm_aes_nx_set_key() 47 memcpy(csbcpb_aead->cpb.aes_cca.key, in_key, key_len); in ccm_aes_nx_set_key() 186 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 191 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 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() [all …]
|
| H 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() 181 memcpy(csbcpb->cpb.aes_xcbc.out_cv_mac, sctx->state, AES_BLOCK_SIZE); in nx_xcbc_update() 217 memcpy(csbcpb->cpb.aes_xcbc.cv, in nx_xcbc_update() [all …]
|
| H 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()
|
| H 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()
|
| H 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()
|
| H 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()
|
| H 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
|
| H 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()
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | gunz_test.c | 260 cmdp->cpb.out_spbc_comp_wrap = 0; in nx_submit_job() 261 cmdp->cpb.out_spbc_comp_with_count = 0; in nx_submit_job() 262 cmdp->cpb.out_spbc_decomp = 0; in nx_submit_job() 265 put32(cmdp->cpb, out_crc, INIT_CRC); in nx_submit_job() 266 put32(cmdp->cpb, out_adler, INIT_ADLER); in nx_submit_job() 553 cmdp->cpb.in_crc = cmdp->cpb.out_crc; in decompress_file() 554 cmdp->cpb.in_adler = cmdp->cpb.out_adler; in decompress_file() 558 putnn(cmdp->cpb, in_histlen, history_len); in decompress_file() 583 cmdp->cpb.in_histlen = 0; in decompress_file() 586 put32(cmdp->cpb, in_crc, INIT_CRC); in decompress_file() [all …]
|
| H A D | gzfht_test.c | 91 putnn(cmdp->cpb, in_histlen, 0); /* resuming with no history */ in compress_fht_sample() 98 put32(cmdp->cpb, out_spbc_comp, 0); in compress_fht_sample() 100 put32(cmdp->cpb, out_spbc_comp_with_count, 0); in compress_fht_sample() 247 put32(cmdp->cpb, in_crc, 0); in compress_file() 304 spbc = (!lzcounts) ? get32(cmdp->cpb, out_spbc_comp) : in compress_file() 305 get32(cmdp->cpb, out_spbc_comp_with_count); in compress_file() 311 tebc = getnn(cmdp->cpb, out_tebc); in compress_file() 340 crc = get32(cmdp->cpb, out_crc); in compress_file() 341 put32(cmdp->cpb, in_crc, crc); in compress_file()
|
| /linux/drivers/ata/ |
| H 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 353 if (cpb->resp_flags & CPB_RESP_IGNORED) { in inic_host_err_intr() 359 if (cpb->resp_flags & CPB_RESP_ATA_ERR) in inic_host_err_intr() 362 if (cpb->resp_flags & CPB_RESP_SPURIOUS) { in inic_host_err_intr() 368 if (cpb->resp_flags & in inic_host_err_intr() 485 struct inic_cpb *cpb = &pkt->cpb; in inic_qc_prep() local 497 cpb->ctl_flags = CPB_CTL_VALID | CPB_CTL_IEN; in inic_qc_prep() 499 cpb->ctl_flags |= CPB_CTL_DATA; in inic_qc_prep() 501 cpb->len = cpu_to_le32(qc->nbytes + cdb_len); in inic_qc_prep() [all …]
|
| H A D | sata_nv.c | 228 struct nv_adma_cpb *cpb; member 778 static unsigned int nv_adma_tf_to_cpb(struct ata_taskfile *tf, __le16 *cpb) in nv_adma_tf_to_cpb() argument 784 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->hob_feature | WNB); in nv_adma_tf_to_cpb() 785 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->hob_nsect); in nv_adma_tf_to_cpb() 786 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf->hob_lbal); in nv_adma_tf_to_cpb() 787 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->hob_lbam); in nv_adma_tf_to_cpb() 788 cpb[idx++] = cpu_to_le16((ATA_REG_LBAH << 8) | tf->hob_lbah); in nv_adma_tf_to_cpb() 789 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); in nv_adma_tf_to_cpb() 791 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature | WNB); in nv_adma_tf_to_cpb() 793 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->nsect); in nv_adma_tf_to_cpb() [all …]
|
| /linux/tools/perf/util/ |
| H A D | call-path.c | 54 struct call_path_block *cpb; in call_path__new() local 59 cpb = list_last_entry(&cpr->blocks, struct call_path_block, in call_path__new() 62 cpb = zalloc(sizeof(struct call_path_block)); in call_path__new() 63 if (!cpb) in call_path__new() 65 list_add_tail(&cpb->node, &cpr->blocks); in call_path__new() 70 cp = &cpb->cp[n]; in call_path__new()
|
| /linux/arch/arm64/boot/dts/ti/ |
| H A D | k3-j721e-common-proc-board.dts | 113 compatible = "ti,j721e-cpb-audio"; 114 model = "j721e-cpb"; 116 ti,cpb-mcasp = <&mcasp10>; 117 ti,cpb-codec = <&pcm3168a_1>; 123 clock-names = "cpb-mcasp-auxclk", 124 "cpb-mcasp-auxclk-48000", "cpb-mcasp-auxclk-44100", 125 "cpb-codec-scki", 126 "cpb-codec-scki-48000", "cpb-codec-scki-44100";
|
| H A D | k3-j784s4-j742s2-evm-common.dtsi | 173 compatible = "ti,j7200-cpb-audio"; 174 model = "j784s4-cpb"; 176 ti,cpb-mcasp = <&mcasp0>; 177 ti,cpb-codec = <&pcm3168a_1>; 181 clock-names = "cpb-mcasp-auxclk", "cpb-mcasp-auxclk-48000", 182 "cpb-codec-scki", "cpb-codec-scki-48000";
|
| /linux/tools/testing/selftests/powerpc/nx-gzip/include/ |
| H A D | nxu.h | 325 struct nx_gzip_cpb_t cpb; member 581 char *nx_cpb_str(struct nx_gzip_cpb_t *cpb, char *prbuf); 583 char *nx_lzcount_str(struct nx_gzip_cpb_t *cpb, char *prbuf);
|
| /linux/drivers/media/platform/samsung/s5p-mfc/ |
| H A D | s5p_mfc.c | 1548 .cpb = MAX_CPB_SIZE, 1573 .cpb = MAX_CPB_SIZE_V6, 1602 .cpb = MAX_CPB_SIZE_V7, 1636 .cpb = MAX_CPB_SIZE_V8, 1671 .cpb = MAX_CPB_SIZE_V10, 1694 .cpb = MAX_CPB_SIZE_V12,
|
| H A D | s5p_mfc_common.h | 224 unsigned int cpb; member
|
| H 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()
|
| /linux/drivers/cpufreq/ |
| H A D | acpi-cpufreq.c | 179 cpufreq_freq_attr_rw(cpb); 960 &cpb, 1018 if (*attr == &cpb) { in acpi_cpufreq_probe()
|
| H 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"
|
| /linux/Documentation/admin-guide/pm/ |
| H A D | cpufreq.rst | 694 Legacy AMD ``cpb`` Knob 703 ``cpb``, which indicates a more fine grained control interface. The actual 712 ``boost`` knob instead of the ``cpb`` one which is highly recommended, as that 713 is more consistent with what all of the other systems do (and the ``cpb`` knob 716 The ``cpb`` knob is never present for any processors without the underlying
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-lmcx-defs.h | 1377 uint64_t cpb:3; member 1383 uint64_t cpb:3;
|
| /linux/Documentation/userspace-api/media/v4l/ |
| H A D | ext-ctrls-codec.rst | 627 :ref:`CPB (H264) buffer size <v4l2-mpeg-video-h264-cpb-size>` control. 1366 .. _v4l2-mpeg-video-h264-cpb-size:
|