Home
last modified time | relevance | path

Searched refs:tpm_devt (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/char/tpm/
Dtpm-chip.c38 dev_t tpm_devt; variable
258 chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num); in tpm_chip_alloc()
261 MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_chip_alloc()
Dtpm.h510 extern dev_t tpm_devt;
Dtpm-interface.c1414 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()
1430 unregister_chrdev_region(tpm_devt, 2*TPM_NUM_DEVICES); in tpm_exit()