Home
last modified time | relevance | path

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

/linux/drivers/char/tpm/
A Dtpm_nsc.c357 tpm_read_index(nscAddrBase,0x07), tpm_read_index(nscAddrBase,0x20), 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()
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()
[all …]
A Dtpm_atmel.h94 static inline int tpm_read_index(int base, int index) in tpm_read_index() function
105 if (tpm_read_index(TPM_ADDR, 4) != 'A' || in atmel_verify_tpm11()
106 tpm_read_index(TPM_ADDR, 5) != 'T' || in atmel_verify_tpm11()
107 tpm_read_index(TPM_ADDR, 6) != 'M' || in atmel_verify_tpm11()
108 tpm_read_index(TPM_ADDR, 7) != 'L') in atmel_verify_tpm11()
112 if (tpm_read_index(TPM_ADDR, 0x00) != 1 || in atmel_verify_tpm11()
113 tpm_read_index(TPM_ADDR, 0x01) != 1) in atmel_verify_tpm11()
132 lo = tpm_read_index(TPM_ADDR, TPM_ATMEL_BASE_ADDR_LO); in atmel_get_base_addr()
133 hi = tpm_read_index(TPM_ADDR, TPM_ATMEL_BASE_ADDR_HI); in atmel_get_base_addr()

Completed in 6 milliseconds