Home
last modified time | relevance | path

Searched refs:MAX_PINS (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/char/
Dscx200_gpio.c36 #define MAX_PINS 32 /* 64 later, when known ok */ macro
54 if (m >= MAX_PINS) in scx200_gpio_open()
99 rc = register_chrdev_region(devid, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
101 rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); in scx200_gpio_init()
110 cdev_add(&scx200_gpio_cdev, devid, MAX_PINS); in scx200_gpio_init()
127 unregister_chrdev_region(MKDEV(major, 0), MAX_PINS); in scx200_gpio_cleanup()