Home
last modified time | relevance | path

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

/openbmc/linux/drivers/char/
H A Dpc8736x_gpio.c50 #define PC8736X_GPIO_CT 32 /* minors matching 4 8 bit ports */ macro
228 if (m >= PC8736X_GPIO_CT) in pc8736x_gpio_open()
308 rc = register_chrdev_region(devid, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
310 rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); in pc8736x_gpio_init()
327 cdev_add(&pc8736x_gpio_cdev, devid, PC8736X_GPIO_CT); in pc8736x_gpio_init()
346 unregister_chrdev_region(MKDEV(major,0), PC8736X_GPIO_CT); in pc8736x_gpio_cleanup()