| /rk3399_ARM-atf/fdts/ |
| H A D | dualroot_cot_descriptors.dts | 18 antirollback-counter = <&trusted_nv_ctr>; 37 antirollback-counter = <&trusted_nv_ctr>; 48 antirollback-counter = <&trusted_nv_ctr>; 59 antirollback-counter = <&trusted_nv_ctr>; 70 antirollback-counter = <&trusted_nv_ctr>; 80 antirollback-counter = <&trusted_nv_ctr>; 94 antirollback-counter = <&trusted_nv_ctr>; 105 antirollback-counter = <&trusted_nv_ctr>; 125 antirollback-counter = <&non_trusted_nv_ctr>; 140 antirollback-counter = <&trusted_nv_ctr>; [all …]
|
| H A D | tbbr_cot_descriptors.dts | 23 antirollback-counter = <&trusted_nv_ctr>; 42 antirollback-counter = <&trusted_nv_ctr>; 56 antirollback-counter = <&trusted_nv_ctr>; 67 antirollback-counter = <&trusted_nv_ctr>; 78 antirollback-counter = <&trusted_nv_ctr>; 88 antirollback-counter = <&trusted_nv_ctr>; 102 antirollback-counter = <&trusted_nv_ctr>; 113 antirollback-counter = <&trusted_nv_ctr>; 133 antirollback-counter = <&non_trusted_nv_ctr>; 144 antirollback-counter = <&non_trusted_nv_ctr>; [all …]
|
| H A D | stm32mp1-cot-descriptors.dtsi | 18 antirollback-counter = <&trusted_nv_ctr>; 32 antirollback-counter = <&trusted_nv_ctr>; 46 antirollback-counter = <&trusted_nv_ctr>; 57 antirollback-counter = <&trusted_nv_ctr>; 77 antirollback-counter = <&non_trusted_nv_ctr>; 88 antirollback-counter = <&non_trusted_nv_ctr>;
|
| H A D | cca_cot_descriptors.dts | 18 antirollback-counter = <&cca_nv_ctr>; 47 antirollback-counter = <&trusted_nv_ctr>; 58 antirollback-counter = <&trusted_nv_ctr>; 72 antirollback-counter = <&non_trusted_nv_ctr>; 83 antirollback-counter = <&non_trusted_nv_ctr>; 98 antirollback-counter = <&trusted_nv_ctr>; 118 antirollback-counter = <&non_trusted_nv_ctr>; 240 compatible = "arm, non-volatile-counter";
|
| /rk3399_ARM-atf/drivers/st/clk/ |
| H A D | stm32mp_clkfunc.c | 327 static void stgen_set_counter(unsigned long long counter) in stgen_set_counter() argument 330 mmio_write_64(STGEN_BASE + CNTCV_OFF, counter); in stgen_set_counter() 332 mmio_write_32(STGEN_BASE + CNTCVL_OFF, (uint32_t)counter); in stgen_set_counter() 333 mmio_write_32(STGEN_BASE + CNTCVU_OFF, (uint32_t)(counter >> 32)); in stgen_set_counter() 357 unsigned long long counter; in stm32mp_stgen_config() local 368 counter = stm32mp_stgen_get_counter() * rate / cntfid0; in stm32mp_stgen_config() 369 stgen_set_counter(counter); in stm32mp_stgen_config()
|
| /rk3399_ARM-atf/tools/cot_dt2c/tests/ |
| H A D | test_invalid_missing_attribute.dtsi | 17 antirollback-counter = <&cca_nv_ctr>; 31 antirollback-counter = <&non_trusted_nv_ctr>; 41 antirollback-counter = <&non_trusted_nv_ctr>; 80 compatible = "arm, non-volatile-counter";
|
| H A D | test_invalid_undefined_parent.dtsi | 18 antirollback-counter = <&cca_nv_ctr>; 32 antirollback-counter = <&non_trusted_nv_ctr>; 43 antirollback-counter = <&non_trusted_nv_ctr>; 84 compatible = "arm, non-volatile-counter";
|
| H A D | test_invalid_missing_root.dtsi | 22 antirollback-counter = <&trusted_nv_ctr>; 33 antirollback-counter = <&trusted_nv_ctr>; 46 antirollback-counter = <&non_trusted_nv_ctr>; 57 antirollback-counter = <&non_trusted_nv_ctr>; 72 antirollback-counter = <&trusted_nv_ctr>; 92 antirollback-counter = <&non_trusted_nv_ctr>; 214 compatible = "arm, non-volatile-counter";
|
| H A D | test_invalid_bracket.dtsi | 18 antirollback-counter = <&example_ctr>; 39 compatible = "arm, non-volatile-counter";
|
| H A D | test_invalid_missing_ctr.dtsi | 20 antirollback-counter = <&example_ctr>; 42 compatible = "arm, non-volatile-counter";
|
| H A D | test2.dtsi | 25 antirollback-counter = <&example_ctr>; 51 compatible = "arm, non-volatile-counter";
|
| H A D | test.dtsi | 21 antirollback-counter = <&example_ctr>; 43 compatible = "arm, non-volatile-counter";
|
| /rk3399_ARM-atf/drivers/mentor/i2c/ |
| H A D | mi2cv.c | 490 uint32_t counter = 0; in i2c_read() local 499 counter); in i2c_read() 505 if (counter > 0) in i2c_read() 507 counter++; in i2c_read() 538 } while ((ret == -EAGAIN) && (counter < I2C_MAX_RETRY_CNT)); in i2c_read() 540 if (counter == I2C_MAX_RETRY_CNT) { in i2c_read() 569 uint32_t counter = 0; in i2c_write() local 578 if (counter > 0) in i2c_write() 580 counter++; in i2c_write() 604 } while ((ret == -EAGAIN) && (counter < I2C_MAX_RETRY_CNT)); in i2c_write() [all …]
|
| /rk3399_ARM-atf/docs/perf/ |
| H A D | performance-monitoring-unit.rst | 7 This document gives an overview of the PMU counter configuration to assist with 22 - A dedicated cycle counter: ``PMCCNTR``. 46 Each programmable counter has an associated register, ``PMEVTYPER<n>`` which 47 configures it. The cycle counter has the ``PMCCFILTR_EL0`` register, which has 119 - Setting bit ``P[n]`` to ``1`` enables counter ``PMEVCNTR<n>``. 121 In other words, the counter will not increment at any privilege level or 127 - If set to ``1`` enables the cycle counter ``PMCCNTR``. 134 - If set to ``1`` it disables the cycle counter ``PMCCNTR`` where event
|
| H A D | psci-performance-methodology.rst | 35 (unquantified) overhead on the results. PMF uses the generic counter for
|
| H A D | psci-performance-instr.rst | 103 implementation to be calculated, given the frequency counter.
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | cot-binding.rst | 83 - antirollback-counter 88 counter and it is an optional property. 91 counter sub-node present in 'non-volatile counters' node. 141 antirollback-counter = <&trusted_nv_ctr>; 155 antirollback-counter = <&trusted_nv_ctr>; 247 non-volatile counter node binding definition 260 Definition: must be "arm, non-volatile-counter" 270 of non-volatile counter register 285 Usage: Required for every nv-counter with unique id. 292 Register base address of non-volatile counter and it is required [all …]
|
| /rk3399_ARM-atf/tools/cert_create/src/ |
| H A D | ext.c | 243 ASN1_INTEGER *counter; in ext_new_nvcounter() local 248 counter = ASN1_INTEGER_new(); in ext_new_nvcounter() 249 ASN1_INTEGER_set(counter, value); in ext_new_nvcounter() 250 sz = i2d_ASN1_INTEGER(counter, &p); in ext_new_nvcounter() 257 ASN1_INTEGER_free(counter); in ext_new_nvcounter()
|
| /rk3399_ARM-atf/plat/amd/versal2/ |
| H A D | plat_psci_pm.c | 198 uint32_t index = 0, counter = 0; in versal2_validate_ns_entrypoint() local 200 rmr = get_reserved_entries_fdt(&counter); in versal2_validate_ns_entrypoint() 204 if (counter != 0) { in versal2_validate_ns_entrypoint() 205 while (index < counter) { in versal2_validate_ns_entrypoint()
|
| /rk3399_ARM-atf/docs/process/ |
| H A D | security-hardening.rst | 85 - ``SCCD`` for the cycle counter. 92 - Prohibit general event counters and the cycle counter: 109 - Prohibit cycle counter: ``MDCR_EL3.SPME == 0 && PMCR_EL0.DP == 1``. 115 - Prohibit cycle counter: ``MDCR_EL3.SCCD == 1``
|
| H A D | misra-compliance.csv | 67 66,R,10.1,MISRA C 2012,Required,Yes,Optional,Fixing existing code may be counter-productive and int… 69 68,R,10.3,MISRA C 2012,Required,Yes,Optional,Fixing existing code may be counter-productive and int… 70 69,R,10.4,MISRA C 2012,Required,Yes,Optional,Fixing existing code may be counter-productive and int…
|
| /rk3399_ARM-atf/docs/security_advisories/ |
| H A D | security-advisory-tfv-5.rst | 32 bit is set to zero, the cycle counter (when enabled) counts during secure world
|
| H A D | security-advisory-tfv-10.rst | 118 3. Retrieving the security counter value from an X.509 certificate to protect 131 - The platform uses a custom chain of trust which uses the non-volatile counter
|
| /rk3399_ARM-atf/docs/ |
| H A D | glossary.rst | 20 that exposes CPU core runtime metrics as a set of counter registers.
|
| /rk3399_ARM-atf/docs/plat/st/ |
| H A D | stm32mp1.rst | 97 - | ``STM32_TF_VERSION``: to manage BL2 monotonic counter.
|