Lines Matching refs:dev_t
197 int register_chrdev_region(dev_t from, unsigned count, const char *name) in register_chrdev_region()
200 dev_t to = from + count; in register_chrdev_region()
201 dev_t n, next; in register_chrdev_region()
233 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region()
308 void unregister_chrdev_region(dev_t from, unsigned count) in unregister_chrdev_region()
310 dev_t to = from + count; in unregister_chrdev_region()
311 dev_t n, next; in unregister_chrdev_region()
454 static struct kobject *exact_match(dev_t dev, int *part, void *data) in exact_match()
460 static int exact_lock(dev_t dev, void *data) in exact_lock()
476 int cdev_add(struct cdev *p, dev_t dev, unsigned count) in cdev_add()
582 static void cdev_unmap(dev_t dev, unsigned count) in cdev_unmap()
663 static struct kobject *base_probe(dev_t dev, int *part, void *data) in base_probe()