| /OK3568_Linux_fs/external/mpp/mpp/base/ |
| H A D | mpp_enc_refs.cpp | 91 /* frame kept in cpb */ 111 EncVirtualCpb cpb; member 141 #define dump_cpb(cpb) _dump_cpb(cpb, __FUNCTION__, __LINE__) argument 143 void _dump_cpb(EncVirtualCpb *cpb, const char *func, RK_S32 line) in _dump_cpb() argument 145 MppEncCpbInfo *info = &cpb->info; in _dump_cpb() 148 mpp_log("%s:%d cpb %p status:\n", func, line, cpb); in _dump_cpb() 149 mpp_log("cpb info: dpb_size %d max_lt/st cnt [%d:%d] \n", in _dump_cpb() 151 mpp_log("cpb info: max_lt_idx %d max_st_tid %d\n", in _dump_cpb() 153 mpp_log("cpb info: lt_gop %d st_gop %d\n", in _dump_cpb() 156 mpp_log("cpb cpb_refs:\n"); in _dump_cpb() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | ti,j721e-cpb-audio.yaml | 4 $id: http://devicetree.org/schemas/sound/ti,j721e-cpb-audio.yaml# 38 - ti,j721e-cpb-audio 39 - ti,j7200-cpb-audio 45 ti,cpb-mcasp: 46 description: phandle to McASP used on CPB 49 ti,cpb-codec: 50 description: phandle to the pcm3168a codec used on the CPB 64 - ti,cpb-mcasp 65 - ti,cpb-codec 76 const: ti,j721e-cpb-audio [all …]
|
| H A D | ti,j721e-cpb-ivi-audio.yaml | 4 $id: http://devicetree.org/schemas/sound/ti,j721e-cpb-ivi-audio.yaml# 14 extension board is extending the CPB audio support, decribed in: 15 sound/ti,j721e-cpb-audio.txt 26 Note: the same PLL4 and PLL15 is used by the audio support on the CPB! 45 - const: ti,j721e-cpb-ivi-audio 51 ti,cpb-mcasp: 52 description: phandle to McASP used on CPB 55 ti,cpb-codec: 56 description: phandle to the pcm3168a codec used on the CPB 73 - description: AUXCLK clock for McASP used by CPB audio [all …]
|
| /OK3568_Linux_fs/kernel/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() 153 memcpy(csbcpb_aead->cpb.aes_gca.in_pat, in nx_gca() 154 csbcpb_aead->cpb.aes_gca.out_pat, in nx_gca() 164 memcpy(out, csbcpb_aead->cpb.aes_gca.out_pat, AES_BLOCK_SIZE); in nx_gca() 181 csbcpb->cpb.hdr.mode = NX_MODE_AES_GMAC; in gmac() 192 memcpy(csbcpb->cpb.aes_gcm.iv_or_cnt, iv, AES_BLOCK_SIZE); in gmac() 215 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() 189 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 194 b0 = nx_ctx->csbcpb->cpb.aes_ccm.in_pat_or_b0; in generate_pat() 201 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 202 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() 205 b0 = nx_ctx->csbcpb_aead->cpb.aes_cca.b0; in generate_pat() 206 b1 = nx_ctx->csbcpb_aead->cpb.aes_cca.b1; in generate_pat() [all …]
|
| H A D | nx-aes-xcbc.c | 43 memcpy(csbcpb->cpb.aes_xcbc.key, in_key, key_len); in nx_xcbc_set_key() 70 csbcpb->cpb.hdr.mode = NX_MODE_AES_ECB; in nx_xcbc_empty() 71 memcpy(key, csbcpb->cpb.aes_xcbc.key, AES_BLOCK_SIZE); in nx_xcbc_empty() 72 memcpy(csbcpb->cpb.aes_ecb.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 107 memcpy(csbcpb->cpb.aes_ecb.key, keys[0], AES_BLOCK_SIZE); in nx_xcbc_empty() 131 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_xcbc_empty() 132 memcpy(csbcpb->cpb.aes_xcbc.key, key, AES_BLOCK_SIZE); in nx_xcbc_empty() 151 csbcpb->cpb.hdr.mode = NX_MODE_AES_XCBC_MAC; in nx_crypto_ctx_aes_xcbc_init2() 257 memcpy(csbcpb->cpb.aes_xcbc.cv, in nx_xcbc_update() 258 csbcpb->cpb.aes_xcbc.out_cv_mac, in nx_xcbc_update() [all …]
|
| H A D | nx-sha512.c | 83 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_update() 148 memcpy(csbcpb->cpb.sha512.input_partial_digest, in nx_sha512_update() 149 csbcpb->cpb.sha512.message_digest, in nx_sha512_update() 173 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update() 203 memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state, in nx_sha512_final() 216 csbcpb->cpb.sha512.message_bit_length_lo = count0; in nx_sha512_final() 246 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_final()
|
| H A D | nx-sha256.c | 83 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update() 144 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update() 145 csbcpb->cpb.sha256.message_digest, in nx_sha256_update() 170 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update() 199 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_final() 207 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); in nx_sha256_final() 240 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final()
|
| H A D | nx-aes-cbc.c | 47 csbcpb->cpb.hdr.mode = NX_MODE_AES_CBC; in cbc_aes_nx_set_key() 48 memcpy(csbcpb->cpb.aes_cbc.key, in_key, key_len); in cbc_aes_nx_set_key() 75 csbcpb->cpb.aes_cbc.iv); in cbc_aes_nx_crypt() 89 memcpy(req->iv, csbcpb->cpb.aes_cbc.cv, AES_BLOCK_SIZE); in cbc_aes_nx_crypt()
|
| H A D | nx-aes-ctr.c | 48 csbcpb->cpb.hdr.mode = NX_MODE_AES_CTR; in ctr_aes_nx_set_key() 49 memcpy(csbcpb->cpb.aes_ctr.key, in_key, key_len); in ctr_aes_nx_set_key() 88 csbcpb->cpb.aes_ctr.iv); in ctr_aes_nx_crypt() 102 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
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/powerpc/nx-gzip/ |
| H A D | gunz_test.c | 19 * cpb: coprocessor parameter block (metadata) 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() [all …]
|
| H A D | gzfht_test.c | 24 * cpb: coprocessor parameter block (metadata) 88 putnn(cmdp->cpb, in_histlen, 0); /* resuming with no history */ in compress_fht_sample() 95 put32(cmdp->cpb, out_spbc_comp, 0); in compress_fht_sample() 97 put32(cmdp->cpb, out_spbc_comp_with_count, 0); in compress_fht_sample() 282 put32(cmdp->cpb, in_crc, 0); in compress_file() 339 spbc = (!lzcounts) ? get32(cmdp->cpb, out_spbc_comp) : in compress_file() 340 get32(cmdp->cpb, out_spbc_comp_with_count); in compress_file() 346 tebc = getnn(cmdp->cpb, out_tebc); in compress_file() 375 crc = get32(cmdp->cpb, out_crc); in compress_file() 376 put32(cmdp->cpb, in_crc, crc); in compress_file()
|
| /OK3568_Linux_fs/kernel/sound/soc/ti/ |
| H A D | j721e-evm.c | 21 * CPB: 2 (mcasp10 + codec) 87 SND_SOC_DAPM_HP("CPB Stereo HP 1", NULL), 88 SND_SOC_DAPM_HP("CPB Stereo HP 2", NULL), 89 SND_SOC_DAPM_HP("CPB Stereo HP 3", NULL), 90 SND_SOC_DAPM_LINE("CPB Line Out", NULL), 91 SND_SOC_DAPM_MIC("CPB Stereo Mic 1", NULL), 92 SND_SOC_DAPM_MIC("CPB Stereo Mic 2", NULL), 93 SND_SOC_DAPM_LINE("CPB Line In", NULL), 97 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1L"}, 98 {"CPB Stereo HP 1", NULL, "codec-1 AOUT1R"}, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/ata/ |
| H A D | sata_inic162x.c | 154 IDMA_STAT_CPBERR = (1 << 1), /* ADMA CPB error */ 163 /* CPB Control Flags*/ 164 CPB_CTL_VALID = (1 << 0), /* CPB valid */ 170 /* CPB Response Flags */ 173 CPB_RESP_IGNORED = (1 << 2), /* CPB ignored */ 178 CPB_RESP_CPB_ERR = (1 << 7), /* CPB error flag */ 228 struct inic_cpb cpb; member 330 struct inic_cpb *cpb = &pp->pkt->cpb; in inic_host_err_intr() local 351 ata_ehi_push_desc(ehi, "CPB error"); in inic_host_err_intr() 353 if (cpb->resp_flags & CPB_RESP_IGNORED) { in inic_host_err_intr() [all …]
|
| H A D | sata_nv.c | 120 /* CPB response flag bits */ 126 /* CPB control flag bits */ 227 struct nv_adma_cpb *cpb; member 768 static unsigned int nv_adma_tf_to_cpb(struct ata_taskfile *tf, __le16 *cpb) in nv_adma_tf_to_cpb() argument 774 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->hob_feature | WNB); in nv_adma_tf_to_cpb() 775 cpb[idx++] = cpu_to_le16((ATA_REG_NSECT << 8) | tf->hob_nsect); in nv_adma_tf_to_cpb() 776 cpb[idx++] = cpu_to_le16((ATA_REG_LBAL << 8) | tf->hob_lbal); in nv_adma_tf_to_cpb() 777 cpb[idx++] = cpu_to_le16((ATA_REG_LBAM << 8) | tf->hob_lbam); in nv_adma_tf_to_cpb() 778 cpb[idx++] = cpu_to_le16((ATA_REG_LBAH << 8) | tf->hob_lbah); in nv_adma_tf_to_cpb() 779 cpb[idx++] = cpu_to_le16((ATA_REG_ERR << 8) | tf->feature); in nv_adma_tf_to_cpb() [all …]
|
| H A D | pdc_adma.c | 59 ADMA_CPB_COUNT = 0x0004, /* CPB count */ 60 ADMA_CPB_CURRENT = 0x000c, /* current CPB address */ 61 ADMA_CPB_NEXT = 0x000c, /* next CPB address */ 62 ADMA_CPB_LOOKUP = 0x0010, /* CPB lookup table */ 77 /* CPB bits */ 203 /* set CPB pointer */ in adma_reinit_engine() 209 /* set CPB count */ in adma_reinit_engine() 359 /* dump out CPB + PRDs for debug */ in adma_qc_prep()
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h264/ |
| H A D | h264e_dpb.c | 226 void h264e_dpb_build_list(H264eDpb *dpb, EncCpbStatus *cpb) in h264e_dpb_build_list() argument 237 if (cpb->curr.is_intra) { in h264e_dpb_build_list() 244 h264e_dbg_list("cpb init scaning start\n"); in h264e_dpb_build_list() 247 EncFrmStatus *frm = &cpb->init[i]; in h264e_dpb_build_list() 269 h264e_dbg_list("cpb init scaning done\n"); in h264e_dpb_build_list() 425 MPP_RET h264e_dpb_proc(H264eDpb *dpb, EncCpbStatus *cpb) in h264e_dpb_proc() argument 427 EncFrmStatus *curr = &cpb->curr; in h264e_dpb_proc() 428 EncFrmStatus *refr = &cpb->refr; in h264e_dpb_proc() 429 EncFrmStatus *init = cpb->init; in h264e_dpb_proc() 457 * 1. scan and map cpb to internal cpb h264edpb is bridge from in h264e_dpb_proc() [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/mpp/include/rockchip/ |
| H A D | rk_venc_ref.h | 56 * The rules for virtual cpb management is similiar to H.264/H.265 57 * 1. When one frame is marked as long-term reference frame it will be kept in cpb until 59 * 2. When one frame is marked as short-term reference frame it will be inert into cpb when 61 * reference frame excess the cpb size limit the oldest short-term frame will be removed. 230 * A new reference configure will restart a new gop and clear cpb by default. 231 * The keep cpb function will let encoder keeps the current cpb status and do NOT 232 * reset all the reference frame in cpb.
|
| /OK3568_Linux_fs/external/mpp/inc/ |
| H A D | rk_venc_ref.h | 56 * The rules for virtual cpb management is similiar to H.264/H.265 57 * 1. When one frame is marked as long-term reference frame it will be kept in cpb until 59 * 2. When one frame is marked as short-term reference frame it will be inert into cpb when 61 * reference frame excess the cpb size limit the oldest short-term frame will be removed. 230 * A new reference configure will restart a new gop and clear cpb by default. 231 * The keep cpb function will let encoder keeps the current cpb status and do NOT 232 * reset all the reference frame in cpb.
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/enc/h265/ |
| H A D | h265e_dpb.c | 541 void h265e_dpb_cpb2rps(H265eDpb *dpb, RK_S32 curPoc, H265eSlice *slice, EncCpbStatus *cpb) in h265e_dpb_cpb2rps() argument 569 if (cpb->curr.is_lt_ref) in h265e_dpb_cpb2rps() 574 EncFrmStatus *frm = &cpb->init[i]; in h265e_dpb_cpb2rps() 616 p = h265e_find_cpb_frame(dpb->frame_list, MAX_REFS, &cpb->refr); in h265e_dpb_cpb2rps() 618 mpp_err("ref frame no found in refer index %d", cpb->refr.seq_idx); in h265e_dpb_cpb2rps() 653 void h265e_dpb_free_unsed(H265eDpb *dpb, EncCpbStatus *cpb) in h265e_dpb_free_unsed() argument 659 if (cpb->curr.is_non_ref) { in h265e_dpb_free_unsed() 660 H265eDpbFrm *frm = h265e_find_cpb_frame(dpb->frame_list, MAX_REFS, &cpb->curr); in h265e_dpb_free_unsed() 674 if (h265e_check_frame_cpb(frm, MAX_REFS, &cpb->final[0])) { in h265e_dpb_free_unsed() 675 h265e_dbg_dpb("cpb final unreference buf poc %d", frm->slice->poc); in h265e_dpb_free_unsed() [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/ti/ |
| H A D | k3-j721e-common-proc-board.dts | 71 compatible = "ti,j721e-cpb-audio"; 72 model = "j721e-cpb"; 74 ti,cpb-mcasp = <&mcasp10>; 75 ti,cpb-codec = <&pcm3168a_1>; 81 clock-names = "cpb-mcasp-auxclk", 82 "cpb-mcasp-auxclk-48000", "cpb-mcasp-auxclk-44100", 83 "cpb-codec-scki", 84 "cpb-codec-scki-48000", "cpb-codec-scki-44100";
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-support/spitools/ |
| H A D | spitools_git.bb | 2 HOMEPAGE = "https://github.com/cpb-/spi-tools" 13 SRC_URI = "git://github.com/cpb-/spi-tools.git;protocol=https;branch=master"
|
| /OK3568_Linux_fs/external/mpp/mpp/codec/ |
| H A D | mpp_enc_impl.cpp | 1435 EncCpbStatus *cpb = &rc_task->cpb; in mpp_enc_proc_two_pass() local 1450 mpp_enc_refs_get_cpb_pass1(enc->refs, cpb); in mpp_enc_proc_two_pass() 1452 enc_dbg_frm_status("frm %d start ***********************************\n", cpb->curr.seq_idx); in mpp_enc_proc_two_pass() 1576 EncCpbStatus *cpb = &rc_task->cpb; in mpp_enc_normal() local 1588 mpp_enc_refs_get_cpb(enc->refs, cpb); in mpp_enc_normal() 1590 enc_dbg_frm_status("frm %d start ***********************************\n", cpb->curr.seq_idx); in mpp_enc_normal() 1593 enc_dbg_frm_status("frm %d compare\n", cpb->curr.seq_idx); in mpp_enc_normal() 1594 enc_dbg_frm_status("seq_idx %d vs %d\n", frm->seq_idx, cpb->curr.seq_idx); in mpp_enc_normal() 1595 enc_dbg_frm_status("is_idr %d vs %d\n", frm->is_idr, cpb->curr.is_idr); in mpp_enc_normal() 1596 enc_dbg_frm_status("is_intra %d vs %d\n", frm->is_intra, cpb->curr.is_intra); in mpp_enc_normal() [all …]
|