Home
last modified time | relevance | path

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

/drivers/crypto/qat/qat_common/
Dadf_ctl_drv.c77 struct class *drv_class; member
84 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
86 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()
100 adf_ctl_drv.drv_class = class_create(THIS_MODULE, DEVICE_NAME); in adf_chr_drv_create()
101 if (IS_ERR(adf_ctl_drv.drv_class)) { in adf_chr_drv_create()
112 drv_device = device_create(adf_ctl_drv.drv_class, NULL, in adf_chr_drv_create()
123 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_create()