Searched refs:MAX_PINS (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/char/ |
D | scx200_gpio.c | 37 #define MAX_PINS 32 /* 64 later, when known ok */ macro 55 if (m >= MAX_PINS) in scx200_gpio_open() 100 rc = register_chrdev_region(devid, MAX_PINS, "scx200_gpio"); in scx200_gpio_init() 102 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init() 111 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init() 128 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS); in scx200_gpio_cleanup()
|
/linux-6.1.9/sound/pci/lola/ |
D | lola.h | 182 #define MAX_PINS MAX_STREAM_COUNT macro 233 struct lola_pin pins[MAX_PINS];
|