Home
last modified time | relevance | path

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

/drivers/iio/
Dindustrialio-core.c1387 struct iio_dev, chrdev); in iio_chrdev_open()
1409 struct iio_dev, chrdev); in iio_chrdev_release()
1526 cdev_init(&indio_dev->chrdev, &iio_buffer_fileops); in iio_device_register()
1527 indio_dev->chrdev.owner = indio_dev->info->driver_module; in iio_device_register()
1528 indio_dev->chrdev.kobj.parent = &indio_dev->dev.kobj; in iio_device_register()
1529 ret = cdev_add(&indio_dev->chrdev, indio_dev->dev.devt, 1); in iio_device_register()
1539 cdev_del(&indio_dev->chrdev); in iio_device_register()
1562 if (indio_dev->chrdev.dev) in iio_device_unregister()
1563 cdev_del(&indio_dev->chrdev); in iio_device_unregister()
/drivers/gpio/
Dgpiolib.c985 struct gpio_device, chrdev); in gpio_chrdev_open()
1005 struct gpio_device, chrdev); in gpio_chrdev_release()
1040 cdev_init(&gdev->chrdev, &gpio_fileops); in gpiochip_setup_dev()
1041 gdev->chrdev.owner = THIS_MODULE; in gpiochip_setup_dev()
1042 gdev->chrdev.kobj.parent = &gdev->dev.kobj; in gpiochip_setup_dev()
1044 status = cdev_add(&gdev->chrdev, gdev->dev.devt, 1); in gpiochip_setup_dev()
1070 cdev_del(&gdev->chrdev); in gpiochip_setup_dev()
1354 cdev_del(&gdev->chrdev); in gpiochip_remove()
Dgpiolib.h54 struct cdev chrdev; member