Home
last modified time | relevance | path

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

/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_ctl_drv.c40 static struct adf_ctl_drv_info adf_ctl_drv; variable
44 device_destroy(adf_ctl_drv.drv_class, MKDEV(adf_ctl_drv.major, 0)); in adf_chr_drv_destroy()
45 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_destroy()
46 class_destroy(adf_ctl_drv.drv_class); in adf_chr_drv_destroy()
61 if (IS_ERR(adf_ctl_drv.drv_class)) { in adf_chr_drv_create()
65 adf_ctl_drv.major = MAJOR(dev_id); in adf_chr_drv_create()
66 cdev_init(&adf_ctl_drv.drv_cdev, &adf_ctl_ops); in adf_chr_drv_create()
67 if (cdev_add(&adf_ctl_drv.drv_cdev, dev_id, 1)) { in adf_chr_drv_create()
73 MKDEV(adf_ctl_drv.major, 0), in adf_chr_drv_create()
81 cdev_del(&adf_ctl_drv.drv_cdev); in adf_chr_drv_create()
[all …]
H A DMakefile5 adf_ctl_drv.o \