Lines Matching defs:gpio
22 #include <linux/gpio.h>
24 #include <linux/w1-gpio.h>
344 .gpio = GPIO_NR_TREO680_VIBRATE_EN,
349 .gpio = GPIO_NR_TREO_GREEN_LED,
354 .gpio = GPIO_NR_TREO680_KEYB_BL,
367 .gpio = GPIO_NR_CENTRO_VIBRATE_EN,
372 .gpio = GPIO_NR_TREO_GREEN_LED,
378 .gpio = GPIO_NR_CENTRO_KEYB_BL,
388 .name = "leds-gpio",
433 unsigned int gpio;
446 * gpio line is used by the lcd controller as the L_BIAS signal, but
447 * treo680 configures it as gpio.
449 gpio = GPIO_NR_TREO680_LCD_POWER;
450 if (gpio_request_one(gpio, lcd_flags, "LCD power") < 0)
461 gpio = GPIO_NR_TREO680_LCD_EN;
462 if (gpio_request_one(gpio, lcd_flags, "LCD enable") < 0)
464 gpio = GPIO_NR_TREO680_LCD_EN_N;
465 if (gpio_request_one(gpio, lcd_flags, "LCD enable_n") < 0)
473 pr_err("gpio %d initialization failed\n", gpio);
482 GPIO_LOOKUP("gpio-pxa", GPIO_NR_TREO_SD_DETECT_N,
484 GPIO_LOOKUP("gpio-pxa", GPIO_NR_TREO680_SD_READONLY,
486 GPIO_LOOKUP("gpio-pxa", GPIO_NR_TREO680_SD_POWER,
506 GPIO_LOOKUP("gpio-pxa", GPIO_NR_TREO_SD_DETECT_N,
508 GPIO_LOOKUP("gpio-pxa", GPIO_NR_CENTRO_SD_POWER,