Searched refs:HREG_IDX (Results 1 – 2 of 2) sorted by relevance
90 #define HREG_IDX(spec) ((spec) & (IS_PCR_HREG(spec) ? 0x1f : 0x7)) macro224 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()
143 #define HREG_IDX(spec) ((spec) & (IS_PCR_HREG(spec) ? 0x1f : 0x7)) macro458 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()