Searched refs:TPM_NUM_DEVICES (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/char/tpm/ |
D | tpm-interface.c | 479 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()
|
D | tpm.h | 36 #define TPM_NUM_DEVICES 65536 macro
|
D | tpm-chip.c | 329 rc = idr_alloc(&dev_nums_idr, NULL, 0, TPM_NUM_DEVICES, GFP_KERNEL); in tpm_chip_alloc()
|
D | tpm2-space.c | 618 chip->devs.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_devs_add()
|