Searched refs:cc_attrs_tbl (Results 1 – 3 of 3) sorted by relevance
645 chip->cc_attrs_tbl = devm_kcalloc(&chip->dev, 4, nr_commands, in tpm2_get_cc_attrs_tbl()647 if (!chip->cc_attrs_tbl) { in tpm2_get_cc_attrs_tbl()677 chip->cc_attrs_tbl[i] = be32_to_cpup(attrs); in tpm2_get_cc_attrs_tbl()678 cc = chip->cc_attrs_tbl[i] & 0xFFFF; in tpm2_get_cc_attrs_tbl()681 chip->cc_attrs_tbl[i] &= in tpm2_get_cc_attrs_tbl()683 chip->cc_attrs_tbl[i] |= 1 << TPM2_CC_ATTR_CHANDLES; in tpm2_get_cc_attrs_tbl()767 if (cc == (chip->cc_attrs_tbl[i] & GENMASK(15, 0))) in tpm2_find_cc()
251 attrs = chip->cc_attrs_tbl[i]; in tpm2_map_command()287 attrs = chip->cc_attrs_tbl[i]; in tpm_find_and_validate_cc()393 attrs = chip->cc_attrs_tbl[i]; in tpm2_map_response_header()
162 u32 *cc_attrs_tbl; member