Lines Matching refs:num_nodes
38 int num_nodes; member
46 int num_nodes, in xillybus_init_chrdev() argument
80 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev()
89 unit->num_nodes = num_nodes; in xillybus_init_chrdev()
101 unit->num_nodes); in xillybus_init_chrdev()
109 for (i = 0; i < num_nodes; i++) { in xillybus_init_chrdev()
147 dev_info(dev, "Created %d device files.\n", num_nodes); in xillybus_init_chrdev()
162 unit->num_nodes); in xillybus_init_chrdev()
195 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev()
202 unit->num_nodes); in xillybus_cleanup_chrdev()
205 unit->num_nodes); in xillybus_cleanup_chrdev()
227 minor < (unit->lowest_minor + unit->num_nodes)) { in xillybus_find_inode()