Searched refs:caps (Results 1 – 4 of 4) sorted by relevance
97 struct tpm2_caps *caps = &chip->capability; in tpm2_get_bank_info() local116 caps->num_banks = get_be32(&pcr_cap->count); in tpm2_get_bank_info()117 if (caps->num_banks > TPM2_NUM_PCR_BANKS) { in tpm2_get_bank_info()124 for (i = 0; i < caps->num_banks; i++) { in tpm2_get_bank_info()136 caps->selection_mask |= alg_mask; in tpm2_get_bank_info()138 caps->active_mask |= alg_mask; in tpm2_get_bank_info()147 caps->num_active_banks = num_active_banks; in tpm2_get_bank_info()159 struct tpm2_caps *caps = &chip->capability; in tpm2_populate_capability() local175 caps->num_pcrs = num_pcrs; in tpm2_populate_capability()185 caps->pcr_select_min = pcr_select_min; in tpm2_populate_capability()[all …]
14 struct tpm2_caps caps = { }; in tpm2_tcg_get_pcr_info() local17 rc = tpm2_chip_get_caps(&caps); in tpm2_tcg_get_pcr_info()21 *num_pcr = caps.num_pcrs; in tpm2_tcg_get_pcr_info()22 *selection_mask = caps.selection_mask; in tpm2_tcg_get_pcr_info()23 *active_mask = caps.active_mask; in tpm2_tcg_get_pcr_info()
218 struct tpm2_caps caps = { }; in tpm2_pcr_read() local226 ret = tpm2_chip_get_caps(&caps); in tpm2_pcr_read()230 if (pcr_idx >= caps.num_pcrs || !tpm2_chip_is_active_bank(alg)) in tpm2_pcr_read()248 pcr_select_size = MAX(pcr_select_idx, caps.pcr_select_min); in tpm2_pcr_read()365 struct tpm2_caps caps = { }; in tpm2_pcr_extend() local371 ret = tpm2_chip_get_caps(&caps); in tpm2_pcr_extend()375 if (pcr_idx >= caps.num_pcrs || !tpm2_chip_is_active_bank(alg)) in tpm2_pcr_extend()
17 uint32_t caps = 0; in supported_caps() local20 caps |= PTA_SCMI_CAPS_SMT_HEADER; in supported_caps()23 caps |= PTA_SCMI_CAPS_MSG_HEADER; in supported_caps()25 return caps; in supported_caps()174 unsigned int caps = params[0].value.b; in cmd_get_channel_handle() local176 if (ptypes != exp_ptypes || caps & ~PTA_SCMI_CAPS_MASK) in cmd_get_channel_handle()179 if (!(caps & supported_caps())) in cmd_get_channel_handle()
Completed in 5 milliseconds