Lines Matching full:locality
285 * tpm_cr50_check_locality() - Verify if required TPM locality is active.
287 * @loc: Locality to be verified
310 * tpm_cr50_release_locality() - Release TPM locality.
312 * @loc: Locality to be released
341 * tpm_cr50_request_locality() - Request TPM locality.
343 * @loc: Locality to be requested.
393 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) in tpm_cr50_i2c_tis_status()
409 tpm_cr50_i2c_write(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)); in tpm_cr50_i2c_tis_set_ready()
439 if (tpm_cr50_i2c_read(chip, TPM_I2C_STS(chip->locality), buf, sizeof(buf)) < 0) { in tpm_cr50_i2c_get_burst_and_status()
473 u8 addr = TPM_I2C_DATA_FIFO(chip->locality); in tpm_cr50_i2c_tis_recv()
591 rc = tpm_cr50_i2c_write(chip, TPM_I2C_DATA_FIFO(chip->locality), in tpm_cr50_i2c_tis_send()
613 rc = tpm_cr50_i2c_write(chip, TPM_I2C_STS(chip->locality), tpm_go, in tpm_cr50_i2c_tis_send()
766 dev_err(dev, "Could not request locality\n"); in tpm_cr50_i2c_probe()
775 dev_err(dev, "Could not release locality\n"); in tpm_cr50_i2c_probe()
781 dev_err(dev, "Could not release locality\n"); in tpm_cr50_i2c_probe()