Home
last modified time | relevance | path

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

/linux/drivers/counter/
A Dcounter-core.c91 err = cdev_device_add(&counter->chrdev, dev); in counter_register()
116 cdev_device_del(&counter->chrdev, &counter->dev); in counter_unregister()
A DMakefile7 counter-y := counter-core.o counter-sysfs.o counter-chrdev.o
A Dcounter-chrdev.c384 chrdev); in counter_chrdev_open()
443 cdev_init(&counter->chrdev, &counter_fops); in counter_chrdev_add()
/linux/Documentation/misc-devices/
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/
A Diio-opaque.h60 struct cdev chrdev; member
/linux/drivers/iio/
A Dindustrialio-core.c1738 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_open()
1773 container_of(inode->i_cdev, struct iio_dev_opaque, chrdev); in iio_chrdev_release()
1947 cdev_init(&iio_dev_opaque->chrdev, &iio_buffer_fileops); in __iio_device_register()
1949 cdev_init(&iio_dev_opaque->chrdev, &iio_event_fileops); in __iio_device_register()
1953 iio_dev_opaque->chrdev.owner = this_mod; in __iio_device_register()
1959 ret = cdev_device_add(&iio_dev_opaque->chrdev, &indio_dev->dev); in __iio_device_register()
1985 cdev_device_del(&iio_dev_opaque->chrdev, &indio_dev->dev); in iio_device_unregister()
/linux/drivers/gpio/
A Dgpiolib.h49 struct cdev chrdev; member
A Dgpiolib-cdev.c2279 struct gpio_device, chrdev); in gpio_chrdev_open()
2361 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register()
2362 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register()
2365 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register()
2377 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
/linux/Documentation/driver-api/
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/mmc/core/
A Dblock.c162 struct cdev chrdev; member
2547 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open()
2559 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release()
2622 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part()
2623 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part()
2624 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part()
2649 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
/linux/include/linux/
A Dcounter.h320 struct cdev chrdev; member
/linux/Documentation/ide/
A DChangeLog.ide-tape.1995-2002187 * 3 : 2+follow all chrdev related procedures

Completed in 51 milliseconds