Home
last modified time | relevance | path

Searched refs:chrdev (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/misc-devices/
H A Duacce.rst92 Uacce creates a chrdev for every device registered to it. New queue is
93 created when user application open the chrdev. The file descriptor is used
96 a chrdev to the user space. The user application communicates with the
/linux/include/linux/iio/
H A Diio-opaque.h68 struct cdev chrdev; member
/linux/drivers/counter/
H A DMakefile7 counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
/linux/drivers/iio/
H A Dindustrialio-core.c1759 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_open()
1794 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_release()
2071 cdev_init(&iio_dev_opaque->chrdev, &iio_buffer_fileops); in __iio_device_register()
2073 cdev_init(&iio_dev_opaque->chrdev, &iio_event_fileops); in __iio_device_register()
2077 iio_dev_opaque->chrdev.owner = this_mod; in __iio_device_register()
2083 ret = cdev_device_add(&iio_dev_opaque->chrdev, &indio_dev->dev); in __iio_device_register()
2109 cdev_device_del(&iio_dev_opaque->chrdev, &indio_dev->dev); in iio_device_unregister()
/linux/Documentation/driver-api/
H A Dgeneric-counter.rst240 .. kernel-doc:: drivers/counter/counter-chrdev.c
348 counter drivers, and enables a Generic Counter chrdev interface via a
385 | Counter sysfs | | Counter chrdev |
425 | Counter sysfs | | Counter chrdev |
474 Counter chrdev
/linux/drivers/gpio/
H A Dgpiolib.h59 struct cdev chrdev; member
H A Dgpiolib-cdev.c2758 struct gpio_device, chrdev); in gpio_chrdev_open()
2856 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register()
2857 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register()
2860 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register()
2876 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
/linux/drivers/mmc/core/
H A Dblock.c207 struct cdev chrdev; member
2715 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open()
2726 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release()
2943 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part()
2944 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part()
2945 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part()
2970 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()