Searched refs:cxl_dev (Results 1 - 1 of 1) sorted by relevance
/linux-master/drivers/misc/cxl/ |
H A D | file.c | 31 #define CXL_AFU_MKDEV_D(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_D(afu)) 32 #define CXL_AFU_MKDEV_M(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_M(afu)) 33 #define CXL_AFU_MKDEV_S(afu) MKDEV(MAJOR(cxl_dev), CXL_AFU_MINOR_S(afu)) 39 static dev_t cxl_dev; variable 657 return cxl_dev; 675 if ((rc = alloc_chrdev_region(&cxl_dev, 0, CXL_NUM_MINORS, "cxl"))) { 680 pr_devel("CXL device allocated, MAJOR %i\n", MAJOR(cxl_dev)); 691 unregister_chrdev_region(cxl_dev, CXL_NUM_MINORS); 697 unregister_chrdev_region(cxl_dev, CXL_NUM_MINORS);
|
Completed in 85 milliseconds