/linux-master/drivers/pinctrl/nuvoton/ |
H A D | pinctrl-npcm8xx.c | 6 #include <linux/gpio/driver.h> 232 unsigned int gpio = BIT(irqd_to_hwirq(d)); local 236 npcm_gpio_clr(&bank->gc, bank->base + NPCM8XX_GP_N_EVBE, gpio); 237 npcm_gpio_clr(&bank->gc, bank->base + NPCM8XX_GP_N_POL, gpio); 240 npcm_gpio_clr(&bank->gc, bank->base + NPCM8XX_GP_N_EVBE, gpio); 241 npcm_gpio_set(&bank->gc, bank->base + NPCM8XX_GP_N_POL, gpio); 244 npcm_gpio_set(&bank->gc, bank->base + NPCM8XX_GP_N_EVBE, gpio); 247 npcm_gpio_set(&bank->gc, bank->base + NPCM8XX_GP_N_POL, gpio); 250 npcm_gpio_clr(&bank->gc, bank->base + NPCM8XX_GP_N_POL, gpio); 257 npcm_gpio_clr(&bank->gc, bank->base + NPCM8XX_GP_N_EVTYP, gpio); 271 unsigned int gpio = irqd_to_hwirq(d); local 280 unsigned int gpio = irqd_to_hwirq(d); local 289 unsigned int gpio = irqd_to_hwirq(d); local 297 unsigned int gpio = irqd_to_hwirq(d); local 1862 int gpio = pin % bank->gc.ngpio; local 1882 int gpio = BIT(pin % bank->gc.ngpio); local 1922 int gpio = pin % bank->gc.ngpio; local 1943 int gpio = BIT(pin % bank->gc.ngpio); local 2074 int gpio = BIT(offset % bank->gc.ngpio); local 2094 debounce_timing_setting(struct npcm8xx_gpio *bank, u32 gpio, u32 nanosecs) argument 2165 int gpio = BIT(pin % bank->gc.ngpio); local 2192 int gpio = pin % bank->gc.ngpio; local 2255 int gpio = BIT(pin % bank->gc.ngpio); local [all...] |
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 4 #include <linux/gpio/machine.h> 5 #include <linux/gpio/driver.h> 6 #include <linux/gpio/property.h> 455 .name = "txgbe-gpio-irq", 475 gc = txgbe->gpio; 477 int gpio = irq_find_mapping(gc->irq.domain, hwirq); local 478 struct irq_data *d = irq_get_irq_data(gpio); 479 u32 irq_type = irq_get_trigger_type(gpio); 482 handle_nested_irq(gpio); 502 /* for gpio interrup 507 int gpio = irq_find_mapping(gc->irq.domain, hwirq); local [all...] |
/linux-master/drivers/staging/fbtft/ |
H A D | fb_ssd1305.c | 11 #include <linux/gpio/consumer.h> 171 gpiod_set_value(par->gpio.dc, 1);
|
/linux-master/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon_xo_1_5.c | 11 #include <linux/gpio/consumer.h> 12 #include <linux/gpio/machine.h>
|
/linux-master/drivers/input/serio/ |
H A D | Makefile | 34 obj-$(CONFIG_SERIO_GPIO_PS2) += ps2-gpio.o
|
/linux-master/sound/soc/codecs/ |
H A D | dmic.c | 9 #include <linux/gpio.h> 10 #include <linux/gpio/consumer.h>
|
/linux-master/drivers/gpio/ |
H A D | gpio-wm8350.c | 11 #include <linux/gpio/driver.h> 19 #include <linux/mfd/wm8350/gpio.h> 126 .driver.name = "wm8350-gpio", 145 MODULE_ALIAS("platform:wm8350-gpio");
|
H A D | gpio-sl28cpld.c | 9 #include <linux/gpio/driver.h> 10 #include <linux/gpio/regmap.h> 68 irq_chip->name = "sl28cpld-gpio-irq"; 142 { .compatible = "kontron,sl28cpld-gpio", .data = (void *)SL28CPLD_GPIO }, 152 .name = "sl28cpld-gpio",
|
H A D | gpio-idio-16.c | 10 #include <linux/gpio/regmap.h> 15 #include "gpio-idio-16.h" 67 static int idio_16_reg_mask_xlate(struct gpio_regmap *const gpio, const unsigned int base, argument
|
H A D | gpio-zynqmp-modepin.c | 10 #include <linux/gpio/driver.h> 24 * @pin: gpio pin number within the device 52 * @pin: gpio pin number within the device 85 * @pin: gpio pin number within the device 97 * @pin: gpio pin number within the device 125 /* configure the gpio chip */ 136 /* modepin gpio registration */ 146 { .compatible = "xlnx,zynqmp-gpio-modepin", }, 152 .name = "modepin-gpio",
|
H A D | gpio-twl6040.c | 16 #include <linux/gpio/driver.h>
|
/linux-master/arch/sh/boards/mach-x3proto/ |
H A D | setup.c | 19 #include <linux/gpio/driver.h> 202 .name = "gpio-keys", 246 baseboard_buttons[i].gpio = x3proto_gpio_chip.base + i;
|
/linux-master/drivers/iio/dac/ |
H A D | ad5592r-base.c | 15 #include <linux/gpio/consumer.h> 16 #include <linux/gpio/driver.h> 162 struct gpio_desc *gpio; local 164 gpio = devm_gpiod_get_optional(st->dev, "reset", GPIOD_OUT_LOW); 165 if (IS_ERR(gpio)) 166 return PTR_ERR(gpio); 168 if (gpio) { 170 gpiod_set_value(gpio, 1);
|
/linux-master/arch/arm/mach-omap1/ |
H A D | serial.c | 7 #include <linux/gpio/machine.h> 8 #include <linux/gpio/consumer.h>
|
H A D | board-palmte.c | 16 #include <linux/gpio/machine.h> 17 #include <linux/gpio/consumer.h> 217 GPIO_LOOKUP("gpio-0-15", PALMTE_PINTDAV_GPIO, "tsc2102_irq", 220 GPIO_LOOKUP("gpio-0-15", PALMTE_USB_OR_DC_GPIO, "usb_dc_irq",
|
/linux-master/arch/arm/mach-pxa/ |
H A D | gumstix.c | 23 #include <linux/gpio/machine.h> 24 #include <linux/gpio.h> 104 .dev_id = "gpio-vbus", 106 GPIO_LOOKUP("gpio-pxa", GPIO_GUMSTIX_USB_GPIOn, 108 GPIO_LOOKUP("gpio-pxa", GPIO_GUMSTIX_USB_GPIOx, 115 .name = "gpio-vbus", 162 pr_err("gumstix: failed request gpio for bluetooth reset\n");
|
/linux-master/drivers/media/rc/ |
H A D | Makefile | 30 obj-$(CONFIG_IR_GPIO_CIR) += gpio-ir-recv.o 31 obj-$(CONFIG_IR_GPIO_TX) += gpio-ir-tx.o
|
/linux-master/drivers/phy/ |
H A D | phy-can-transceiver.c | 12 #include <linux/gpio.h> 13 #include <linux/gpio/consumer.h>
|
/linux-master/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_gpt.c | 27 * gpio-controller; 28 * #gpio-cells = < 2 >; 29 * This driver will register the GPIO pin if it finds the gpio-controller 51 #include <linux/gpio/driver.h> 276 static int mpc52xx_gpt_gpio_get(struct gpio_chip *gc, unsigned int gpio) argument 284 mpc52xx_gpt_gpio_set(struct gpio_chip *gc, unsigned int gpio, int v) argument 290 dev_dbg(gpt->dev, "%s: gpio:%d v:%d\n", __func__, gpio, v); 298 static int mpc52xx_gpt_gpio_dir_in(struct gpio_chip *gc, unsigned int gpio) argument 303 dev_dbg(gpt->dev, "%s: gpio 313 mpc52xx_gpt_gpio_dir_out(struct gpio_chip *gc, unsigned int gpio, int val) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
H A D | xpio.c | 25 #include <subdev/bios/gpio.h>
|
/linux-master/drivers/hsi/controllers/ |
H A D | omap_ssi.h | 17 #include <linux/gpio/consumer.h>
|
/linux-master/arch/mips/kernel/ |
H A D | gpio_txx9.c | 3 * A gpio chip driver for TXx9 SoCs 10 #include <linux/gpio/driver.h>
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | stv090x.h | 95 int (*set_gpio)(struct dvb_frontend *fe, u8 gpio, u8 dir, u8 value,
|
/linux-master/drivers/power/supply/ |
H A D | gpio-charger.c | 16 #include <linux/gpio/consumer.h> 18 #include <linux/power/gpio-charger.h> 166 struct gpio_desc *gpio) 168 int ret, irq = gpiod_to_irq(gpio); 381 { .compatible = "gpio-charger" }, 389 .name = "gpio-charger", 400 MODULE_ALIAS("platform:gpio-charger"); 165 gpio_charger_get_irq(struct device *dev, void *dev_id, struct gpio_desc *gpio) argument
|
/linux-master/tools/gpio/ |
H A D | gpio-watch.c | 3 * gpio-watch - monitor unrequested lines for property changes using the 14 #include <linux/gpio.h>
|