Searched refs:chrdev (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/counter/ |
| H A D | counter-core.c | 168 return cdev_device_add(&counter->chrdev, dev); in counter_add() 183 cdev_device_del(&counter->chrdev, &counter->dev); in counter_unregister()
|
| H A D | Makefile | 7 counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
|
| H A D | counter-chrdev.c | 418 chrdev); in counter_chrdev_open() 476 cdev_init(&counter->chrdev, &counter_fops); in counter_chrdev_add()
|
| /linux/Documentation/misc-devices/ |
| H A D | uacce.rst | 95 Uacce creates a chrdev for every device registered to it. New queue is 96 created when user application open the chrdev. The file descriptor is used 99 a chrdev to the user space. The user application communicates with the
|
| /linux/include/linux/iio/ |
| H A D | iio-opaque.h | 70 struct cdev chrdev; member
|
| /linux/drivers/iio/ |
| H A D | industrialio-core.c | 1791 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_open() 1826 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_release() 2103 cdev_init(&iio_dev_opaque->chrdev, &iio_buffer_fileops); in __iio_device_register() 2105 cdev_init(&iio_dev_opaque->chrdev, &iio_event_fileops); in __iio_device_register() 2109 iio_dev_opaque->chrdev.owner = this_mod; in __iio_device_register() 2115 ret = cdev_device_add(&iio_dev_opaque->chrdev, &indio_dev->dev); in __iio_device_register() 2141 cdev_device_del(&iio_dev_opaque->chrdev, &indio_dev->dev); in iio_device_unregister()
|
| /linux/drivers/gpio/ |
| H A D | gpiolib.h | 64 struct cdev chrdev; member
|
| H A D | gpiolib-cdev.c | 2688 struct gpio_device, chrdev); in gpio_chrdev_open() 2790 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register() 2791 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register() 2799 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register() 2808 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register() 2821 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
|
| /linux/drivers/mmc/core/ |
| H A D | block.c | 170 struct cdev chrdev; member 2744 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open() 2755 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release() 2966 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part() 2967 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part() 2968 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part() 2993 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
|