Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c37 struct class *drv_class; member
44 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
46 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()
60 adf_ctl_drv.drv_class = class_create(DEVICE_NAME); in adf_chr_drv_create()
61 if (IS_ERR(adf_ctl_drv.drv_class)) { in adf_chr_drv_create()
72 drv_device = device_create(adf_ctl_drv.drv_class, NULL, in adf_chr_drv_create()
83 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_create()