Lines Matching refs:locality
206 u8 locality = 0; in tis_senddata() local
209 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata()
230 ®s[locality].tpm_status)); in tis_senddata()
247 ®s[locality].data); in tis_senddata()
249 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata()
270 tpm_write_byte(priv, data[offset++], ®s[locality].data); in tis_senddata()
275 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_senddata()
284 tpm_write_word(priv, TIS_STS_TPM_GO, ®s[locality].tpm_status); in tis_senddata()
307 u8 locality = 0; in tis_readresponse() local
313 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_readresponse()
329 value = tpm_read_word(priv, ®s[locality].tpm_status); in tis_readresponse()
336 ®s[locality].data); in tis_readresponse()
363 value = tis_wait_reg(priv, ®s[locality].tpm_status, in tis_readresponse()
388 ®s[locality].tpm_status); in tis_readresponse()
397 u8 locality = 0; in tpm_tis_lpc_close() local
399 if (tpm_read_word(priv, ®s[locality].access) & in tpm_tis_lpc_close()
402 ®s[locality].access); in tpm_tis_lpc_close()
404 if (tis_wait_reg(priv, ®s[locality].access, in tpm_tis_lpc_close()
407 __FILE__, __LINE__, locality); in tpm_tis_lpc_close()
418 u8 locality = 0; /* we use locality zero for everything. */ in tpm_tis_lpc_open() local
428 tpm_write_word(priv, TIS_ACCESS_REQUEST_USE, ®s[locality].access); in tpm_tis_lpc_open()
431 ret = tis_wait_reg(priv, ®s[locality].access, in tpm_tis_lpc_open()
436 __FILE__, __LINE__, locality); in tpm_tis_lpc_open()
441 ®s[locality].tpm_status); in tpm_tis_lpc_open()