Searched refs:MAX_PINS (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | scx200_gpio.c | 36 #define MAX_PINS 32 /* 64 later, when known ok */ macro 54 if (m >= MAX_PINS) 98 rc = register_chrdev_region(devid, MAX_PINS, "scx200_gpio"); 100 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); 109 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); 126 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS);
|
Completed in 85 milliseconds