Home
last modified time | relevance | path

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

/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c43 static struct adf_ctl_drv_info adf_ctl_drv; variable
47 device_destroy(&adf_ctl_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
48 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()
50 unregister_chrdev_region(MKDEV(adf_ctl_drv.major, 0), 1); in adf_chr_drv_destroy()
68 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()
69 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()
70 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
76 MKDEV(adf_ctl_drv.major, 0), in adf_chr_drv_create()
84 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_create()
H A DMakefile12 adf_ctl_drv.o \