Searched refs:tpm_devt (Results 1 – 4 of 4) sorted by relevance
480 rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); in tpm_init()495 unregister_chrdev_region(tpm_devt, 2 * TPM_NUM_DEVICES); in tpm_init()509 unregister_chrdev_region(tpm_devt, 2*TPM_NUM_DEVICES); in tpm_exit()
33 dev_t tpm_devt; variable349 chip->dev.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num); in tpm_chip_alloc()
161 extern dev_t tpm_devt;
618 chip->devs.devt = MKDEV(MAJOR(tpm_devt), chip->dev_num + TPM_NUM_DEVICES); in tpm_devs_add()