Searched refs:chrdev (Results 1 – 4 of 4) sorted by relevance
/drivers/iio/ |
D | industrialio-core.c | 1634 struct iio_dev, chrdev); in iio_chrdev_open() 1656 struct iio_dev, chrdev); in iio_chrdev_release() 1771 cdev_init(&indio_dev->chrdev, &iio_buffer_fileops); in __iio_device_register() 1773 indio_dev->chrdev.owner = this_mod; in __iio_device_register() 1775 ret = cdev_device_add(&indio_dev->chrdev, &indio_dev->dev); in __iio_device_register() 1799 cdev_device_del(&indio_dev->chrdev, &indio_dev->dev); in iio_device_unregister()
|
/drivers/gpio/ |
D | gpiolib.h | 49 struct cdev chrdev; member
|
D | gpiolib-cdev.c | 2292 struct gpio_device, chrdev); in gpio_chrdev_open() 2374 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiolib_cdev_register() 2375 gdev->chrdev.owner = THIS_MODULE; in gpiolib_cdev_register() 2378 ret = cdev_device_add(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_register() 2390 cdev_device_del(&gdev->chrdev, &gdev->dev); in gpiolib_cdev_unregister()
|
/drivers/mmc/core/ |
D | block.c | 159 struct cdev chrdev; member 2556 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open() 2568 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release() 2631 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part() 2632 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part() 2633 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part() 2659 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
|