Home
last modified time | relevance | path

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

/linux/drivers/crypto/qat/qat_common/
A Dadf_ctl_drv.c36 static struct adf_ctl_drv_info adf_ctl_drv; variable
40 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
41 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()
42 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()
57 if (IS_ERR(adf_ctl_drv.drv_class)) { in adf_chr_drv_create()
61 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()
62 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()
63 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
69 MKDEV(adf_ctl_drv.major, 0), in adf_chr_drv_create()
77 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_create()
[all …]
A DMakefile5 adf_ctl_drv.o \

Completed in 5 milliseconds