Searched refs:nr_commands (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/char/tpm/ |
A D | tpm2-cmd.c | 621 u32 nr_commands; in tpm2_get_cc_attrs_tbl() local 627 rc = tpm2_get_tpm_pt(chip, TPM_PT_TOTAL_COMMANDS, &nr_commands, NULL); in tpm2_get_cc_attrs_tbl() 631 if (nr_commands > 0xFFFFF) { in tpm2_get_cc_attrs_tbl() 636 chip->cc_attrs_tbl = devm_kcalloc(&chip->dev, 4, nr_commands, in tpm2_get_cc_attrs_tbl() 649 tpm_buf_append_u32(&buf, nr_commands); in tpm2_get_cc_attrs_tbl() 651 rc = tpm_transmit_cmd(chip, &buf, 9 + 4 * nr_commands, NULL); in tpm2_get_cc_attrs_tbl() 657 if (nr_commands != in tpm2_get_cc_attrs_tbl() 664 chip->nr_commands = nr_commands; in tpm2_get_cc_attrs_tbl() 667 for (i = 0; i < nr_commands; i++, attrs++) { in tpm2_get_cc_attrs_tbl() 757 for (i = 0; i < chip->nr_commands; i++) in tpm2_find_cc()
|
A D | tpm2-space.c | 275 if (len < TPM_HEADER_SIZE || !chip->nr_commands) in tpm_find_and_validate_cc()
|
/linux/include/linux/ |
A D | tpm.h | 168 u32 nr_commands; member
|
Completed in 11 milliseconds