Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tee/
H A Dtee_core.c20 #define TEE_NUM_DEVICES 32 macro
40 static DECLARE_BITMAP(dev_mask, TEE_NUM_DEVICES);
900 max_id = TEE_NUM_DEVICES / 2; in tee_device_alloc()
903 offs = TEE_NUM_DEVICES / 2; in tee_device_alloc()
904 max_id = TEE_NUM_DEVICES; in tee_device_alloc()
955 if (teedev && teedev->id < TEE_NUM_DEVICES) { in tee_device_alloc()
1235 rc = alloc_chrdev_region(&tee_devt, 0, TEE_NUM_DEVICES, "tee"); in tee_init()
1250 unregister_chrdev_region(tee_devt, TEE_NUM_DEVICES); in tee_init()
1261 unregister_chrdev_region(tee_devt, TEE_NUM_DEVICES); in tee_exit()