Lines Matching refs:tpm_chip
73 struct tpm_chip *chip = tpm_info; in tpm_cr50_i2c_int_handler()
92 static int tpm_cr50_i2c_wait_tpm_ready(struct tpm_chip *chip) in tpm_cr50_i2c_wait_tpm_ready()
116 static void tpm_cr50_i2c_enable_tpm_irq(struct tpm_chip *chip) in tpm_cr50_i2c_enable_tpm_irq()
130 static void tpm_cr50_i2c_disable_tpm_irq(struct tpm_chip *chip) in tpm_cr50_i2c_disable_tpm_irq()
187 static int tpm_cr50_i2c_read(struct tpm_chip *chip, u8 addr, u8 *buffer, size_t len) in tpm_cr50_i2c_read()
246 static int tpm_cr50_i2c_write(struct tpm_chip *chip, u8 addr, u8 *buffer, in tpm_cr50_i2c_write()
296 static int tpm_cr50_check_locality(struct tpm_chip *chip) in tpm_cr50_check_locality()
317 static void tpm_cr50_release_locality(struct tpm_chip *chip, bool force) in tpm_cr50_release_locality()
340 static int tpm_cr50_request_locality(struct tpm_chip *chip) in tpm_cr50_request_locality()
373 static u8 tpm_cr50_i2c_tis_status(struct tpm_chip *chip) in tpm_cr50_i2c_tis_status()
389 static void tpm_cr50_i2c_tis_set_ready(struct tpm_chip *chip) in tpm_cr50_i2c_tis_set_ready()
411 static int tpm_cr50_i2c_get_burst_and_status(struct tpm_chip *chip, u8 mask, in tpm_cr50_i2c_get_burst_and_status()
452 static int tpm_cr50_i2c_tis_recv(struct tpm_chip *chip, u8 *buf, size_t buf_len) in tpm_cr50_i2c_tis_recv()
541 static int tpm_cr50_i2c_tis_send(struct tpm_chip *chip, u8 *buf, size_t len) in tpm_cr50_i2c_tis_send()
627 static bool tpm_cr50_i2c_req_canceled(struct tpm_chip *chip, u8 status) in tpm_cr50_i2c_req_canceled()
685 struct tpm_chip *chip; in tpm_cr50_i2c_probe()
768 struct tpm_chip *chip = i2c_get_clientdata(client); in tpm_cr50_i2c_remove()