Lines Matching refs:tpm_read_index

276 static inline int tpm_read_index(int base, int index)  in tpm_read_index()  function
298 if (tpm_read_index(TPM_ADDR, NSC_SID_INDEX) != 0xEF) { in init_nsc()
299 nscAddrBase = (tpm_read_index(TPM_SUPERIO_ADDR, 0x2C)<<8)| in init_nsc()
300 (tpm_read_index(TPM_SUPERIO_ADDR, 0x2B)&0xFE); in init_nsc()
301 if (tpm_read_index(nscAddrBase, NSC_SID_INDEX) != 0xF6) in init_nsc()
309 hi = tpm_read_index(nscAddrBase, TPM_NSC_BASE0_HI); in init_nsc()
310 lo = tpm_read_index(nscAddrBase, TPM_NSC_BASE0_LO); in init_nsc()
357 tpm_read_index(nscAddrBase,0x07), tpm_read_index(nscAddrBase,0x20), in init_nsc()
358 tpm_read_index(nscAddrBase,0x27)); in init_nsc()
361 tpm_read_index(nscAddrBase,0x21), tpm_read_index(nscAddrBase,0x25), in init_nsc()
362 tpm_read_index(nscAddrBase,0x26), tpm_read_index(nscAddrBase,0x28)); in init_nsc()
364 (tpm_read_index(nscAddrBase,0x60) << 8) | tpm_read_index(nscAddrBase,0x61)); in init_nsc()
366 (tpm_read_index(nscAddrBase,0x62) << 8) | tpm_read_index(nscAddrBase,0x63)); in init_nsc()
368 tpm_read_index(nscAddrBase,0x70)); in init_nsc()
370 tpm_read_index(nscAddrBase,0x71)); in init_nsc()
373 tpm_read_index(nscAddrBase,0x74), tpm_read_index(nscAddrBase,0x75)); in init_nsc()
377 tpm_read_index(nscAddrBase,0xF0), tpm_read_index(nscAddrBase,0xF1), in init_nsc()
378 tpm_read_index(nscAddrBase,0xF2), tpm_read_index(nscAddrBase,0xF3), in init_nsc()
379 tpm_read_index(nscAddrBase,0xF4), tpm_read_index(nscAddrBase,0xF5), in init_nsc()
380 tpm_read_index(nscAddrBase,0xF6), tpm_read_index(nscAddrBase,0xF7), in init_nsc()
381 tpm_read_index(nscAddrBase,0xF8), tpm_read_index(nscAddrBase,0xF9)); in init_nsc()
385 tpm_read_index(nscAddrBase, 0x27) & 0x1F); in init_nsc()