Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/gpio/
Dgpio-it87.c73 struct it87_gpio { struct
83 static struct it87_gpio it87_gpio_chip = { argument
170 struct it87_gpio *it87_gpio = gpiochip_get_data(chip); in it87_gpio_request() local
175 spin_lock(&it87_gpio->lock); in it87_gpio_request()
184 if (group < it87_gpio->simple_size) in it87_gpio_request()
185 superio_set_mask(mask, group + it87_gpio->simple_base); in it87_gpio_request()
190 superio_clear_mask(mask, group + it87_gpio->output_base); in it87_gpio_request()
195 spin_unlock(&it87_gpio->lock); in it87_gpio_request()
203 struct it87_gpio *it87_gpio = gpiochip_get_data(chip); in it87_gpio_get() local
206 reg = (gpio_num / 8) + it87_gpio->io_base; in it87_gpio_get()
[all …]