Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/counter/
Dcounter-core.c167 return cdev_device_add(&counter->chrdev, dev); in counter_add()
182 cdev_device_del(&counter->chrdev, &counter->dev); in counter_unregister()
DMakefile7 counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
Dcounter-chrdev.c418 chrdev); in counter_chrdev_open()
477 cdev_init(&counter->chrdev, &counter_fops); in counter_chrdev_add()
/linux-6.1.9/Documentation/misc-devices/
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-6.1.9/include/linux/iio/
Diio-opaque.h66 struct cdev chrdev; member
/linux-6.1.9/drivers/iio/
Dindustrialio-core.c1761 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_open()
1796 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_release()
1973 cdev_init(&iio_dev_opaque->chrdev, &iio_buffer_fileops); in __iio_device_register()
1975 cdev_init(&iio_dev_opaque->chrdev, &iio_event_fileops); in __iio_device_register()
1979 iio_dev_opaque->chrdev.owner = this_mod; in __iio_device_register()
1985 ret = cdev_device_add(&iio_dev_opaque->chrdev, &indio_dev->dev); in __iio_device_register()
2011 cdev_device_del(&iio_dev_opaque->chrdev, &indio_dev->dev); in iio_device_unregister()
/linux-6.1.9/drivers/gpio/
Dgpiolib.h56 struct cdev chrdev; member
Dgpiolib-cdev.c2650 struct gpio_device, chrdev); in gpio_chrdev_open()
2740 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register()
2741 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register()
2744 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register()
2756 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
/linux-6.1.9/Documentation/driver-api/
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-6.1.9/drivers/mmc/core/
Dblock.c164 struct cdev chrdev; member
2620 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open()
2632 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release()
2695 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part()
2696 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part()
2697 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part()
2722 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
/linux-6.1.9/include/linux/
Dcounter.h390 struct cdev chrdev; member