Lines Matching defs:dev
33 int tcg2_get_active_pcr_banks(struct udevice *dev, u32 *active_pcr_banks) in tcg2_get_active_pcr_banks()
69 int tcg2_create_digest(struct udevice *dev, const u8 *input, u32 length, in tcg2_create_digest()
194 static int tcg2_log_init(struct udevice *dev, struct tcg2_event_log *elog) in tcg2_log_init()
280 struct udevice *dev, in tcg2_replay_eventlog()
366 static int tcg2_log_parse(struct udevice *dev, struct tcg2_event_log *elog) in tcg2_log_parse()
479 int tcg2_pcr_extend(struct udevice *dev, u32 pcr_index, in tcg2_pcr_extend()
501 int tcg2_pcr_read(struct udevice *dev, u32 pcr_index, in tcg2_pcr_read()
528 int tcg2_measure_data(struct udevice *dev, struct tcg2_event_log *elog, in tcg2_measure_data()
550 int tcg2_log_prepare_buffer(struct udevice *dev, struct tcg2_event_log *elog, in tcg2_log_prepare_buffer()
603 int tcg2_measurement_init(struct udevice **dev, struct tcg2_event_log *elog, in tcg2_measurement_init()
633 void tcg2_measurement_term(struct udevice *dev, struct tcg2_event_log *elog, in tcg2_measurement_term()
647 __weak int tcg2_platform_get_log(struct udevice *dev, void **addr, u32 *size) in tcg2_platform_get_log()
691 __weak int tcg2_platform_get_tpm2(struct udevice **dev) in tcg2_platform_get_tpm2()
701 __weak void tcg2_platform_startup_error(struct udevice *dev, int rc) {} in tcg2_platform_startup_error()
703 u32 tpm2_startup(struct udevice *dev, enum tpm2_startup_types mode) in tpm2_startup()
724 u32 tpm2_self_test(struct udevice *dev, enum tpm2_yes_no full_test) in tpm2_self_test()
736 u32 tpm2_auto_start(struct udevice *dev) in tpm2_auto_start()
761 u32 tpm2_clear(struct udevice *dev, u32 handle, const char *pw, in tpm2_clear()
798 u32 tpm2_nv_define_space(struct udevice *dev, u32 space_index, in tpm2_nv_define_space()
853 u32 tpm2_pcr_extend(struct udevice *dev, u32 index, u32 algorithm, in tpm2_pcr_extend()
896 u32 tpm2_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count) in tpm2_nv_read_value()
937 u32 tpm2_nv_write_value(struct udevice *dev, u32 index, const void *data, in tpm2_nv_write_value()
980 u32 tpm2_pcr_read(struct udevice *dev, u32 idx, unsigned int idx_min_sz, in tpm2_pcr_read()
1026 u32 tpm2_get_capability(struct udevice *dev, u32 capability, u32 property, in tpm2_get_capability()
1059 static int tpm2_get_num_pcr(struct udevice *dev, u32 *num_pcr) in tpm2_get_num_pcr()
1099 int tpm2_get_pcr_info(struct udevice *dev, u32 *supported_pcr, u32 *active_pcr, in tpm2_get_pcr_info()
1184 u32 tpm2_dam_reset(struct udevice *dev, const char *pw, const ssize_t pw_sz) in tpm2_dam_reset()
1219 u32 tpm2_dam_parameters(struct udevice *dev, const char *pw, in tpm2_dam_parameters()
1268 int tpm2_change_auth(struct udevice *dev, u32 handle, const char *newpw, in tpm2_change_auth()
1313 u32 tpm2_pcr_setauthpolicy(struct udevice *dev, const char *pw, in tpm2_pcr_setauthpolicy()
1368 u32 tpm2_pcr_setauthvalue(struct udevice *dev, const char *pw, in tpm2_pcr_setauthvalue()
1414 u32 tpm2_get_random(struct udevice *dev, void *data, u32 count) in tpm2_get_random()
1458 u32 tpm2_write_lock(struct udevice *dev, u32 index) in tpm2_write_lock()
1481 u32 tpm2_disable_platform_hierarchy(struct udevice *dev) in tpm2_disable_platform_hierarchy()
1516 u32 tpm2_submit_command(struct udevice *dev, const u8 *sendbuf, in tpm2_submit_command()
1522 u32 tpm2_report_state(struct udevice *dev, uint vendor_cmd, uint vendor_subcmd, in tpm2_report_state()
1547 u32 tpm2_enable_nvcommits(struct udevice *dev, uint vendor_cmd, in tpm2_enable_nvcommits()