Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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
/kernel/linux/common_modules/newip/src/linux-5.10/drivers/net/bt/
Dbtdev.c976 struct cdev *chrdev = NULL; in bt_cdev_create() local
984 chrdev = cdev_alloc(); in bt_cdev_create()
985 if (unlikely(!chrdev)) { in bt_cdev_create()
990 cdev_init(chrdev, ops); in bt_cdev_create()
991 dev->cdev = chrdev; in bt_cdev_create()
993 ret = cdev_add(chrdev, MKDEV(BT_DEV_MAJOR, minor), 1); in bt_cdev_create()
1008 cdev_del(chrdev); in bt_cdev_create()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpiolib.h49 struct cdev chrdev; member
Dgpiolib-cdev.c2292 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()
/kernel/linux/linux-5.10/drivers/iio/
Dindustrialio-core.c1634 struct iio_dev, chrdev); in iio_chrdev_open()
1656 struct iio_dev, chrdev); in iio_chrdev_release()
1773 cdev_init(&indio_dev->chrdev, &iio_buffer_fileops); in __iio_device_register()
1775 indio_dev->chrdev.owner = this_mod; in __iio_device_register()
1777 ret = cdev_device_add(&indio_dev->chrdev, &indio_dev->dev); in __iio_device_register()
1801 cdev_device_del(&indio_dev->chrdev, &indio_dev->dev); in iio_device_unregister()
/kernel/linux/linux-5.10/drivers/mmc/core/
Dblock.c156 struct cdev chrdev; member
2497 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_open()
2509 struct mmc_rpmb_data, chrdev); in mmc_rpmb_chrdev_release()
2572 cdev_init(&rpmb->chrdev, &mmc_rpmb_fileops); in mmc_blk_alloc_rpmb_part()
2573 rpmb->chrdev.owner = THIS_MODULE; in mmc_blk_alloc_rpmb_part()
2574 ret = cdev_device_add(&rpmb->chrdev, &rpmb->dev); in mmc_blk_alloc_rpmb_part()
2600 cdev_device_del(&rpmb->chrdev, &rpmb->dev); in mmc_blk_remove_rpmb_part()
/kernel/linux/linux-5.10/include/linux/iio/
Diio.h552 struct cdev chrdev; member
/kernel/linux/linux-5.10/Documentation/ide/
DChangeLog.ide-tape.1995-2002187 * 3 : 2+follow all chrdev related procedures
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0032_linux_drivers_regulator_remoteproc_reset_rpmsg_rtc.patch2061 - * rpmsg_chrdev_register_device() - register chrdev device based on rpdev
2066 * basis for the rpmsg chrdev.
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch2193 struct mmc_rpmb_data, chrdev);