Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-winbond.c486 static struct gpio_chip winbond_gpio_chip = { variable
671 winbond_gpio_chip.ngpio = hweight_long(params.gpios) * 8; in winbond_gpio_iprobe()
678 winbond_gpio_chip.ngpio -= (8 - 5); in winbond_gpio_iprobe()
680 winbond_gpio_chip.parent = dev; in winbond_gpio_iprobe()
682 return devm_gpiochip_add_data(dev, &winbond_gpio_chip, &params.base); in winbond_gpio_iprobe()