Lines Matching defs:chip
32 static bool wait_for_tpm_stat_cond(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat_cond()
47 static int wait_for_tpm_stat(struct tpm_chip *chip, u8 mask, in wait_for_tpm_stat()
121 static int wait_startup(struct tpm_chip *chip, int l) in wait_startup()
141 static bool check_locality(struct tpm_chip *chip, int l) in check_locality()
168 static int tpm_tis_relinquish_locality(struct tpm_chip *chip, int l) in tpm_tis_relinquish_locality()
181 static int __tpm_tis_request_locality(struct tpm_chip *chip, int l) in __tpm_tis_request_locality()
222 static int tpm_tis_request_locality(struct tpm_chip *chip, int l) in tpm_tis_request_locality()
236 static u8 tpm_tis_status(struct tpm_chip *chip) in tpm_tis_status()
271 static void tpm_tis_ready(struct tpm_chip *chip) in tpm_tis_ready()
279 static int get_burstcount(struct tpm_chip *chip) in get_burstcount()
304 static int recv_data(struct tpm_chip *chip, u8 *buf, size_t count) in recv_data()
333 static int tpm_tis_recv(struct tpm_chip *chip, u8 *buf, size_t count) in tpm_tis_recv()
401 static int tpm_tis_send_data(struct tpm_chip *chip, const u8 *buf, size_t len) in tpm_tis_send_data()
469 static void disable_interrupts(struct tpm_chip *chip) in disable_interrupts()
495 static int tpm_tis_send_main(struct tpm_chip *chip, const u8 *buf, size_t len) in tpm_tis_send_main()
541 static int tpm_tis_send(struct tpm_chip *chip, u8 *buf, size_t len) in tpm_tis_send()
578 static void tpm_tis_update_durations(struct tpm_chip *chip, in tpm_tis_update_durations()
654 static void tpm_tis_update_timeouts(struct tpm_chip *chip, in tpm_tis_update_timeouts()
693 static int probe_itpm(struct tpm_chip *chip) in probe_itpm()
741 static bool tpm_tis_req_canceled(struct tpm_chip *chip, u8 status) in tpm_tis_req_canceled()
762 struct tpm_chip *chip = dev_id; in tis_int_handler() local
797 static void tpm_tis_gen_interrupt(struct tpm_chip *chip) in tpm_tis_gen_interrupt()
814 static int tpm_tis_probe_irq_single(struct tpm_chip *chip, u32 intmask, in tpm_tis_probe_irq_single()
888 static void tpm_tis_probe_irq(struct tpm_chip *chip, u32 intmask) in tpm_tis_probe_irq()
910 void tpm_tis_remove(struct tpm_chip *chip) in tpm_tis_remove()
941 static void tpm_tis_clkrun_enable(struct tpm_chip *chip, bool value) in tpm_tis_clkrun_enable()
1010 struct tpm_chip *chip; in tpm_tis_core_init() local
1209 static void tpm_tis_reenable_interrupts(struct tpm_chip *chip) in tpm_tis_reenable_interrupts()
1233 struct tpm_chip *chip = dev_get_drvdata(dev); in tpm_tis_resume() local