Home
last modified time | relevance | path

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

/drivers/misc/cxl/
Dfile.c33 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu))
34 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu))
35 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu))
41 static dev_t cxl_dev; variable
616 return cxl_dev; in cxl_get_dev()
634 if ((rc = alloc_chrdev_region(&cxl_dev, 0, CXL_NUM_MINORS, "cxl"))) { in cxl_file_init()
639 pr_devel("CXL device allocated, MAJOR %i\n", MAJOR(cxl_dev)); in cxl_file_init()
652 unregister_chrdev_region(cxl_dev, CXL_NUM_MINORS); in cxl_file_init()
658 unregister_chrdev_region(cxl_dev, CXL_NUM_MINORS); in cxl_file_exit()