Home
last modified time | relevance | path

Searched refs:TPM_NUM_DEVICES (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/char/tpm/
Dtpm-interface.c479 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
494 unregister_chrdev_region(tpm_devt, 2 * TPM_NUM_DEVICES); in tpm_init()
508 unregister_chrdev_region(tpm_devt, 2*TPM_NUM_DEVICES); in tpm_exit()
Dtpm.h36 #define TPM_NUM_DEVICES 65536 macro
Dtpm-chip.c329 rc = idr_alloc(&dev_nums_idr, NULL, 0, TPM_NUM_DEVICES, GFP_KERNEL); in tpm_chip_alloc()
Dtpm2-space.c618 chip->devs.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_devs_add()