Searched refs:chrdev (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.6/drivers/counter/ |
D | counter-core.c | 167 return cdev_device_add(&counter->chrdev, dev); in counter_add() 182 cdev_device_del(&counter->chrdev, &counter->dev); in counter_unregister()
|
D | Makefile | 7 counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
|
D | counter-chrdev.c | 418 chrdev); in counter_chrdev_open() 477 cdev_init(&counter->chrdev, &counter_fops); in counter_chrdev_add()
|
/Linux-v6.6/Documentation/misc-devices/ |
D | uacce.rst | 92 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-v6.6/include/linux/iio/ |
D | iio-opaque.h | 68 struct cdev chrdev; member
|
/Linux-v6.6/drivers/iio/ |
D | industrialio-core.c | 1740 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_open() 1775 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_release() 1953 cdev_init(&iio_dev_opaque->chrdev, &iio_buffer_fileops); in __iio_device_register() 1955 cdev_init(&iio_dev_opaque->chrdev, &iio_event_fileops); in __iio_device_register() 1959 iio_dev_opaque->chrdev.owner = this_mod; in __iio_device_register() 1965 ret = cdev_device_add(&iio_dev_opaque->chrdev, &indio_dev->dev); in __iio_device_register() 1991 cdev_device_del(&iio_dev_opaque->chrdev, &indio_dev->dev); in iio_device_unregister()
|
/Linux-v6.6/drivers/gpio/ |
D | gpiolib.h | 58 struct cdev chrdev; member
|
D | gpiolib-cdev.c | 2695 struct gpio_device, chrdev); in gpio_chrdev_open() 2797 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register() 2798 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register() 2801 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register() 2813 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
|
/Linux-v6.6/Documentation/driver-api/ |
D | generic-counter.rst | 240 .. 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-v6.6/drivers/mmc/core/ |
D | block.c | 162 struct cdev chrdev; member 2625 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open() 2637 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release() 2700 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part() 2701 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part() 2702 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part() 2727 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
|
/Linux-v6.6/include/linux/ |
D | counter.h | 390 struct cdev chrdev; member
|