Home
last modified time | relevance | path

Searched refs:nr_commands (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/char/tpm/
H A Dtpm2-cmd.c630 u32 nr_commands; in tpm2_get_cc_attrs_tbl() local
636 rc = tpm2_get_tpm_pt(chip, TPM_PT_TOTAL_COMMANDS, &nr_commands, NULL); in tpm2_get_cc_attrs_tbl()
640 if (nr_commands > 0xFFFFF) { in tpm2_get_cc_attrs_tbl()
645 chip->cc_attrs_tbl = devm_kcalloc(&chip->dev, 4, nr_commands, in tpm2_get_cc_attrs_tbl()
658 tpm_buf_append_u32(&buf, nr_commands); in tpm2_get_cc_attrs_tbl()
660 rc = tpm_transmit_cmd(chip, &buf, 9 + 4 * nr_commands, NULL); in tpm2_get_cc_attrs_tbl()
666 if (nr_commands != in tpm2_get_cc_attrs_tbl()
673 chip->nr_commands = nr_commands; in tpm2_get_cc_attrs_tbl()
676 for (i = 0; i < nr_commands; i++, attrs++) { in tpm2_get_cc_attrs_tbl()
766 for (i = 0; i < chip->nr_commands; i++) in tpm2_find_cc()
H A Dtpm2-space.c275 if (len < TPM_HEADER_SIZE || !chip->nr_commands) in tpm_find_and_validate_cc()
/OK3568_Linux_fs/kernel/include/uapi/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_ioctl.h367 __u32 nr_commands; member
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/csf/
H A Dmali_kbase_csf_kcpu.c2286 if (enq->nr_commands != 1) { in kbase_csf_kcpu_queue_enqueue()
2317 if (kcpu_queue_get_space(queue) < enq->nr_commands) { in kbase_csf_kcpu_queue_enqueue()
2330 for (i = 0; (i != enq->nr_commands) && !ret; ++i) { in kbase_csf_kcpu_queue_enqueue()
2434 for (i = 0; i != enq->nr_commands; ++i) { in kbase_csf_kcpu_queue_enqueue()
2441 queue->num_pending_cmds += enq->nr_commands; in kbase_csf_kcpu_queue_enqueue()
/OK3568_Linux_fs/kernel/include/linux/
H A Dtpm.h161 u32 nr_commands; member