Searched refs:locality (Results 1 – 9 of 9) sorted by relevance
/drivers/char/tpm/ |
D | tpm_tis_core.c | 73 priv->locality = l; in check_locality() 136 rc = tpm_tis_read8(priv, TPM_STS(priv->locality), &status); in tpm_tis_status() 148 tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_COMMAND_READY); in tpm_tis_ready() 164 rc = tpm_tis_read32(priv, TPM_STS(priv->locality), &value); in get_burstcount() 195 rc = tpm_tis_read_bytes(priv, TPM_DATA_FIFO(priv->locality), in recv_data() 286 rc = tpm_tis_write_bytes(priv, TPM_DATA_FIFO(priv->locality), in tpm_tis_send_data() 306 rc = tpm_tis_write8(priv, TPM_DATA_FIFO(priv->locality), buf[count]); in tpm_tis_send_data() 334 rc = tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &intmask); in disable_interrupts() 339 rc = tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), intmask); in disable_interrupts() 363 rc = tpm_tis_write8(priv, TPM_STS(priv->locality), TPM_STS_GO); in tpm_tis_send_main() [all …]
|
D | tpm_i2c_infineon.c | 69 int locality; member 328 tpm_dev.locality = loc; in check_locality() 377 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status() 391 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready() 405 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount() 459 rc = iic_tpm_read(TPM_DATA_FIFO(tpm_dev.locality), in recv_data() 518 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_recv() 557 rc = iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), in tpm_tis_i2c_send() 580 iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), &(buf[count]), 1); in tpm_tis_i2c_send() 588 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send() [all …]
|
D | tpm_vtpm_proxy.c | 400 static int vtpm_proxy_request_locality(struct tpm_chip *chip, int locality) in vtpm_proxy_request_locality() argument 415 tpm_buf_append_u8(&buf, locality); in vtpm_proxy_request_locality() 426 locality = rc; in vtpm_proxy_request_locality() 433 locality = -1; in vtpm_proxy_request_locality() 438 return locality; in vtpm_proxy_request_locality()
|
D | tpm-interface.c | 386 chip->locality = rc; in tpm_request_locality() 401 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality() 405 chip->locality = -1; in tpm_relinquish_locality() 478 need_locality = chip->locality == -1; in tpm_try_transmit()
|
D | tpm_tis_core.h | 93 int locality; member
|
D | tpm-chip.c | 261 chip->locality = -1; in tpm_chip_alloc()
|
D | tpm.h | 245 int locality; member
|
/drivers/char/tpm/st33zp24/ |
D | st33zp24.h | 28 int locality; member
|
D | st33zp24.c | 150 return tpm_dev->locality; in request_locality() 162 return tpm_dev->locality; in request_locality() 550 tpm_dev->locality = LOCALITY0; in st33zp24_probe()
|