Searched refs:gpio_major (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/src/shared/ |
H A D | linux_gpio.c | 37 static int gpio_major; variable 122 if ((gpio_major = register_chrdev(0, "gpio", &gpio_fops)) < 0) 124 if ((gpio_major = devfs_register_chrdev(0, "gpio", &gpio_fops)) < 0) 126 return gpio_major; 136 device_create(gpiodev_class, NULL, MKDEV(gpio_major, 0), NULL, "gpio", 0); 138 class_device_create(gpiodev_class, NULL, MKDEV(gpio_major, 0), NULL, "gpio"); 142 gpio_major, 0, S_IFCHR | S_IRUGO | S_IWUGO, 155 device_destroy(gpiodev_class, MKDEV(gpio_major, 0)); 157 class_device_destroy(gpiodev_class, MKDEV(gpio_major, 0)); 163 if (gpio_major > [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/mips/brcm-boards/bcm947xx/ |
H A D | gpio.c | 33 static int gpio_major; variable 135 if ((gpio_major = devfs_register_chrdev(0, "gpio", &gpio_fops)) < 0) 136 return gpio_major; 143 DEVFS_FL_DEFAULT, gpio_major, i, 159 devfs_unregister_chrdev(gpio_major, "gpio");
|
Completed in 113 milliseconds