Searched refs:TEE_NUM_DEVICES (Results 1 – 1 of 1) sorted by relevance
27 #define TEE_NUM_DEVICES 32 macro35 static DECLARE_BITMAP(dev_mask, TEE_NUM_DEVICES);671 offs = TEE_NUM_DEVICES / 2; in tee_device_alloc()674 teedev->id = find_next_zero_bit(dev_mask, TEE_NUM_DEVICES, offs); in tee_device_alloc()675 if (teedev->id < TEE_NUM_DEVICES) in tee_device_alloc()679 if (teedev->id >= TEE_NUM_DEVICES) { in tee_device_alloc()722 if (teedev && teedev->id < TEE_NUM_DEVICES) { in tee_device_alloc()886 rc = alloc_chrdev_region(&tee_devt, 0, TEE_NUM_DEVICES, "tee"); in tee_init()900 unregister_chrdev_region(tee_devt, TEE_NUM_DEVICES); in tee_exit()