Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/crypto/qat/qat_common/
Dadf_ctl_drv.c80 static struct adf_ctl_drv_info adf_ctl_drv; variable
84 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
85 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()
86 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()
87 unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1); 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()
105 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()
106 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()
107 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
[all …]
DMakefile11 adf_ctl_drv.o \