Searched refs:chrdev (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/iio/
H A Dchrdev.h16 * for a particular chrdev
17 * @chrdev: character device structure
21 * the chrdev.
24 struct cdev chrdev; member in struct:iio_handler
31 container_of(cd, struct iio_handler, chrdev)
68 * struct iio_event_interface - chrdev interface for an event line
70 * @handler: fileoperations and related control for the chrdev
76 * @attr: this chrdev's minor number sysfs attribute
H A Dindustrialio-ring.c56 * iio_ring_open() chrdev file open for ring buffer access
64 = container_of(inode->i_cdev, struct iio_handler, chrdev);
75 * iio_ring_release() -chrdev file close ring buffer access
94 * iio_ring_rip_outer() chrdev read for ring buffer access
139 * __iio_request_ring_buffer_event_chrdev() allocate ring event chrdev
140 * @buf: ring buffer whose event chrdev we are allocating
142 * @dev: device with which the chrdev is associated
178 cdev_del(&buf->access_handler.chrdev);
219 cdev_init(&buf->access_handler.chrdev, &iio_ring_fileops);
220 buf->access_handler.chrdev
[all...]
H A Dindustrialio-core.c59 * are queued. Hence a client MUST open the chrdev before the ring buffer is
358 cdev_del(&ev_int->handler.chrdev);
416 cdev_init(&ev_int->handler.chrdev, &iio_event_chrdev_fileops);
417 ev_int->handler.chrdev.owner = owner;
428 ret = cdev_add(&ev_int->handler.chrdev, ev_int->dev.devt, 1);
668 "Could not get chrdev interface\n");
/netgear-R7000-V1.0.7.12_1.2.5/src/router/squashfs-4.2/
H A Dunsquashfs.c928 int chrdev = i->type == SQUASHFS_CHRDEV_TYPE; local
935 if(mknod(pathname, chrdev ? S_IFCHR : S_IFBLK,
940 chrdev ? "character" : "block",
950 "superuser!\n", chrdev ? "character" :

Completed in 69 milliseconds