Home
last modified time | relevance | path

Searched refs:HREG_IDX (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/board/gdsys/a38x/
H A Dhre.c90 #define HREG_IDX(spec) ((spec) & (IS_PCR_HREG(spec) ? 0x1f : 0x7)) macro
224 idx = HREG_IDX(spec); in get_hreg()
271 hre_tpm_err = tpm_pcr_read(tpm, HREG_IDX(spec), in access_hreg()
275 switch (HREG_IDX(spec)) { in access_hreg()
475 hre_tpm_err = tpm_extend(tpm, HREG_IDX(dst_spec), in hre_execute_op()
/openbmc/u-boot/board/gdsys/p1022/
H A Dcontrolcenterd-id.c143 #define HREG_IDX(spec) ((spec) & (IS_PCR_HREG(spec) ? 0x1f : 0x7)) macro
458 idx = HREG_IDX(spec); in get_hreg()
504 hre_tpm_err = tpm_pcr_read(tpm, HREG_IDX(spec), in access_hreg()
508 switch (HREG_IDX(spec)) { in access_hreg()
714 hre_tpm_err = tpm_extend(tpm, HREG_IDX(dst_spec), in hre_execute_op()