Lines Matching defs:nr_commands
630 u32 nr_commands;
636 rc = tpm2_get_tpm_pt(chip, TPM_PT_TOTAL_COMMANDS, &nr_commands, NULL);
640 if (nr_commands > 0xFFFFF) {
645 chip->cc_attrs_tbl = devm_kcalloc(&chip->dev, 4, nr_commands,
658 tpm_buf_append_u32(&buf, nr_commands);
660 rc = tpm_transmit_cmd(chip, &buf, 9 + 4 * nr_commands, NULL);
666 if (nr_commands !=
673 chip->nr_commands = nr_commands;
676 for (i = 0; i < nr_commands; i++, attrs++) {
784 for (i = 0; i < chip->nr_commands; i++)