Lines Matching full:locality
61 int locality; member
323 tpm_dev.locality = loc; in check_locality()
372 if (iic_tpm_read(TPM_STS(tpm_dev.locality), &buf, 1) < 0) in tpm_tis_i2c_status()
386 iic_tpm_write_long(TPM_STS(tpm_dev.locality), &buf, 1); in tpm_tis_i2c_ready()
400 if (iic_tpm_read(TPM_STS(tpm_dev.locality)+1, buf, 3) < 0) in get_burstcount()
454 rc = iic_tpm_read(TPM_DATA_FIFO(tpm_dev.locality), in recv_data()
513 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_recv()
552 rc = iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), in tpm_tis_i2c_send()
575 iic_tpm_write(TPM_DATA_FIFO(tpm_dev.locality), &(buf[count]), 1); in tpm_tis_i2c_send()
583 iic_tpm_write(TPM_STS(tpm_dev.locality), &sts, 1); in tpm_tis_i2c_send()
592 release_locality(chip, tpm_dev.locality, 0); in tpm_tis_i2c_send()
629 dev_err(dev, "could not request locality\n"); in tpm_tis_i2c_init()
657 release_locality(chip, tpm_dev.locality, 1); in tpm_tis_i2c_init()
713 release_locality(chip, tpm_dev.locality, 1); in tpm_tis_i2c_remove()