Lines Matching refs:nr_commands
636 u32 nr_commands;
642 rc = tpm2_get_tpm_pt(chip, TPM_PT_TOTAL_COMMANDS, &nr_commands, NULL);
646 if (nr_commands > 0xFFFFF) {
651 chip->cc_attrs_tbl = devm_kcalloc(&chip->dev, 4, nr_commands,
664 tpm_buf_append_u32(&buf, nr_commands);
666 rc = tpm_transmit_cmd(chip, &buf, 9 + 4 * nr_commands, NULL);
672 if (nr_commands !=
679 chip->nr_commands = nr_commands;
682 for (i = 0; i < nr_commands; i++, attrs++) {
795 for (i = 0; i < chip->nr_commands; i++)