Lines Matching refs:cdev
3 * cdev.c - Character device component for Mostcore
13 #include <linux/cdev.h>
33 struct cdev cdev;
46 #define to_channel(d) container_of(d, struct comp_channel, cdev)
95 cdev_del(&c->cdev);
317 * This frees allocated memory and removes the cdev that represents this
439 cdev_init(&c->cdev, &channel_fops);
440 c->cdev.owner = THIS_MODULE;
441 retval = cdev_add(&c->cdev, c->devno, 1);
471 cdev_del(&c->cdev);
482 .name = "cdev",
500 err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev");