viafb_gpio_config 143 drivers/video/fbdev/via/via-gpio.c static struct viafb_gpio_cfg viafb_gpio_config = { viafb_gpio_config 181 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i += 2) viafb_gpio_config 182 drivers/video/fbdev/via/via-gpio.c viafb_gpio_enable(viafb_gpio_config.active_gpios[i]); viafb_gpio_config 199 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i++) viafb_gpio_config 200 drivers/video/fbdev/via/via-gpio.c if (!strcmp(name, viafb_gpio_config.active_gpios[i]->vg_name)) viafb_gpio_config 201 drivers/video/fbdev/via/via-gpio.c return viafb_gpio_config.gpio_chip.base + i; viafb_gpio_config 227 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.active_gpios[ngpio] = gpio; viafb_gpio_config 228 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_names[ngpio] = viafb_gpio_config 233 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = ngpio; viafb_gpio_config 234 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.names = viafb_gpio_config.gpio_names; viafb_gpio_config 235 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.vdev = vdev; viafb_gpio_config 244 drivers/video/fbdev/via/via-gpio.c spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); viafb_gpio_config 246 drivers/video/fbdev/via/via-gpio.c viafb_gpio_enable(viafb_gpio_config.active_gpios[i]); viafb_gpio_config 247 drivers/video/fbdev/via/via-gpio.c spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags); viafb_gpio_config 251 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.base = -1; /* Dynamic */ viafb_gpio_config 252 drivers/video/fbdev/via/via-gpio.c ret = gpiochip_add_data(&viafb_gpio_config.gpio_chip, viafb_gpio_config 253 drivers/video/fbdev/via/via-gpio.c &viafb_gpio_config); viafb_gpio_config 256 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = 0; viafb_gpio_config 277 drivers/video/fbdev/via/via-gpio.c if (viafb_gpio_config.gpio_chip.ngpio > 0) { viafb_gpio_config 278 drivers/video/fbdev/via/via-gpio.c gpiochip_remove(&viafb_gpio_config.gpio_chip); viafb_gpio_config 283 drivers/video/fbdev/via/via-gpio.c spin_lock_irqsave(&viafb_gpio_config.vdev->reg_lock, flags); viafb_gpio_config 284 drivers/video/fbdev/via/via-gpio.c for (i = 0; i < viafb_gpio_config.gpio_chip.ngpio; i += 2) viafb_gpio_config 285 drivers/video/fbdev/via/via-gpio.c viafb_gpio_disable(viafb_gpio_config.active_gpios[i]); viafb_gpio_config 286 drivers/video/fbdev/via/via-gpio.c viafb_gpio_config.gpio_chip.ngpio = 0; viafb_gpio_config 287 drivers/video/fbdev/via/via-gpio.c spin_unlock_irqrestore(&viafb_gpio_config.vdev->reg_lock, flags);