Searched refs:it87_gpio (Results 1 – 1 of 1) sorted by relevance
61 struct it87_gpio { struct71 static struct it87_gpio it87_gpio_chip = { argument150 struct it87_gpio *it87_gpio = gpiochip_get_data(chip); in it87_gpio_request() local155 spin_lock(&it87_gpio->lock); in it87_gpio_request()164 if (group < it87_gpio->simple_size) in it87_gpio_request()165 superio_set_mask(mask, group + it87_gpio->simple_base); in it87_gpio_request()170 superio_clear_mask(mask, group + it87_gpio->output_base); in it87_gpio_request()175 spin_unlock(&it87_gpio->lock); in it87_gpio_request()183 struct it87_gpio *it87_gpio = gpiochip_get_data(chip); in it87_gpio_get() local186 reg = (gpio_num / 8) + it87_gpio->io_base; in it87_gpio_get()[all …]