/* The CS5535/CS5536 GPIOs support a number of extra features not defined by the gpio_chip API, so these are exported. For a full list of the registers, see include/linux/cs5535.h.  */
static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, unsigned int reg)
/* The CS5535/CS5536 GPIOs support a number of extra features not defined by the gpio_chip API, so these are exported. For a full list of the registers, see include/linux/cs5535.h.  */
static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, unsigned int reg)
{
	if (offset < 16)
		outl(1 << offset, chip->base + reg);
	else
		outl(1 << (offset - 16), chip->base + 0x80 + reg);
}