Searched refs:gpio (Results 126 - 150 of 2002) sorted by relevance

1234567891011>>

/linux-master/include/dt-bindings/gpio/
H A Dtegra-gpio.h3 * This header provides constants for binding nvidia,tegra*-gpio.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra194-gpio.h5 * This header provides constants for binding nvidia,tegra194-gpio*.
10 * The second cell contains standard flag values specified in gpio.h.
16 #include <dt-bindings/gpio/gpio.h>
H A Daspeed-gpio.h3 * This header provides constants for binding aspeed,*-gpio.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra186-gpio.h3 * This header provides constants for binding nvidia,tegra186-gpio*.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra234-gpio.h5 * This header provides constants for binding nvidia,tegra234-gpio*.
10 * The second cell contains standard flag values specified in gpio.h.
16 #include <dt-bindings/gpio/gpio.h>
/linux-master/scripts/dtc/include-prefixes/dt-bindings/gpio/
H A Daspeed-gpio.h3 * This header provides constants for binding aspeed,*-gpio.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra-gpio.h3 * This header provides constants for binding nvidia,tegra*-gpio.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra194-gpio.h5 * This header provides constants for binding nvidia,tegra194-gpio*.
10 * The second cell contains standard flag values specified in gpio.h.
16 #include <dt-bindings/gpio/gpio.h>
H A Dtegra186-gpio.h3 * This header provides constants for binding nvidia,tegra186-gpio*.
8 * The second cell contains standard flag values specified in gpio.h.
14 #include <dt-bindings/gpio/gpio.h>
H A Dtegra234-gpio.h5 * This header provides constants for binding nvidia,tegra234-gpio*.
10 * The second cell contains standard flag values specified in gpio.h.
16 #include <dt-bindings/gpio/gpio.h>
/linux-master/drivers/pps/clients/
H A DMakefile9 obj-$(CONFIG_PPS_CLIENT_GPIO) += pps-gpio.o
/linux-master/drivers/gpio/
H A Dgpio-rdc321x.c14 #include <linux/gpio/driver.h>
30 static int rdc_gpio_get_value(struct gpio_chip *chip, unsigned gpio) argument
37 reg = gpio < 32 ? gpch->reg1_data_base : gpch->reg2_data_base;
41 gpch->data_reg[gpio < 32 ? 0 : 1]);
45 return (1 << (gpio & 0x1f)) & value ? 1 : 0;
49 unsigned gpio, int value)
52 int reg = (gpio < 32) ? 0 : 1;
57 gpch->data_reg[reg] |= 1 << (gpio & 0x1f);
59 gpch->data_reg[reg] &= ~(1 << (gpio & 0x1f));
68 unsigned gpio, in
48 rdc_gpio_set_value_impl(struct gpio_chip *chip, unsigned gpio, int value) argument
67 rdc_gpio_set_value(struct gpio_chip *chip, unsigned gpio, int value) argument
78 rdc_gpio_config(struct gpio_chip *chip, unsigned gpio, int value) argument
109 rdc_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument
[all...]
H A Dgpio-tegra.c3 * arch/arm/mach-tegra/gpio.c
17 #include <linux/gpio/driver.h>
120 unsigned int gpio, u32 value)
124 val = 0x100 << GPIO_BIT(gpio);
126 val |= 1 << GPIO_BIT(gpio);
130 static void tegra_gpio_enable(struct tegra_gpio_info *tgi, unsigned int gpio) argument
132 tegra_gpio_mask_write(tgi, GPIO_MSK_CNF(tgi, gpio), gpio, 1);
135 static void tegra_gpio_disable(struct tegra_gpio_info *tgi, unsigned int gpio) argument
137 tegra_gpio_mask_write(tgi, GPIO_MSK_CNF(tgi, gpio), gpi
119 tegra_gpio_mask_write(struct tegra_gpio_info *tgi, u32 reg, unsigned int gpio, u32 value) argument
274 unsigned int gpio = d->hwirq; local
283 unsigned int gpio = d->hwirq; local
293 unsigned int gpio = d->hwirq; local
301 unsigned int gpio = d->hwirq, port = GPIO_PORT(gpio), lvl_type; local
371 unsigned int gpio = d->hwirq; local
384 unsigned int port, pin, gpio, i; local
469 unsigned int gpio = (b << 5) | (p << 3); local
504 unsigned int gpio = (b << 5) | (p << 3); local
538 unsigned int gpio = d->hwirq; local
647 unsigned int gpio = tegra_gpio_compose(i, j, 0); local
787 int gpio = tegra_gpio_compose(i, j, 0); local
[all...]
H A Dgpio-janz-ttl.c15 #include <linux/gpio/driver.h>
45 struct gpio_chip gpio; member in struct:ttl_module
57 static int ttl_get_value(struct gpio_chip *gpio, unsigned offset) argument
59 struct ttl_module *mod = dev_get_drvdata(gpio->parent);
79 static void ttl_set_value(struct gpio_chip *gpio, unsigned offset, int value) argument
81 struct ttl_module *mod = dev_get_drvdata(gpio->parent);
144 struct gpio_chip *gpio; local
168 gpio = &mod->gpio;
169 gpio
[all...]
H A Dgpio-max77620.c8 #include <linux/gpio/driver.h>
28 struct max77620_gpio *gpio = data; local
33 err = regmap_read(gpio->rmap, MAX77620_REG_IRQ_LVL2_GPIO, &value);
35 dev_err(gpio->dev, "REG_IRQ_LVL2_GPIO read failed: %d\n", err);
44 virq = irq_find_mapping(gpio->gpio_chip.irq.domain, offset);
54 struct max77620_gpio *gpio = gpiochip_get_data(chip); local
56 gpio->irq_enabled[data->hwirq] = false;
63 struct max77620_gpio *gpio = gpiochip_get_data(chip); local
66 gpio->irq_enabled[data->hwirq] = true;
72 struct max77620_gpio *gpio local
101 struct max77620_gpio *gpio = gpiochip_get_data(chip); local
109 struct max77620_gpio *gpio = gpiochip_get_data(chip); local
268 struct max77620_gpio *gpio = gpiochip_get_data(gc); local
[all...]
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
H A Dnv10.c29 nv10_gpio_sense(struct nvkm_gpio *gpio, int line) argument
31 struct nvkm_device *device = gpio->subdev.device;
52 nv10_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) argument
54 struct nvkm_device *device = gpio->subdev.device;
83 nv10_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) argument
85 struct nvkm_device *device = gpio->subdev.device;
94 nv10_gpio_intr_mask(struct nvkm_gpio *gpio, u32 type, u32 mask, u32 data) argument
96 struct nvkm_device *device = gpio->subdev.device;
H A Dnv50.c27 nv50_gpio_reset(struct nvkm_gpio *gpio, u8 match) argument
29 struct nvkm_device *device = gpio->subdev.device;
51 nvkm_gpio_set(gpio, 0, func, line, defs);
71 nv50_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) argument
73 struct nvkm_device *device = gpio->subdev.device;
84 nv50_gpio_sense(struct nvkm_gpio *gpio, int line) argument
86 struct nvkm_device *device = gpio->subdev.device;
96 nv50_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) argument
98 struct nvkm_device *device = gpio->subdev.device;
107 nv50_gpio_intr_mask(struct nvkm_gpio *gpio, u3 argument
[all...]
H A Dga102.c27 ga102_gpio_reset(struct nvkm_gpio *gpio, u8 match) argument
29 struct nvkm_device *device = gpio->subdev.device;
47 nvkm_gpio_set(gpio, 0, func, line, defs);
56 ga102_gpio_drive(struct nvkm_gpio *gpio, int line, int dir, int out) argument
58 struct nvkm_device *device = gpio->subdev.device;
66 ga102_gpio_sense(struct nvkm_gpio *gpio, int line) argument
68 struct nvkm_device *device = gpio->subdev.device;
73 ga102_gpio_intr_stat(struct nvkm_gpio *gpio, u32 *hi, u32 *lo) argument
75 struct nvkm_device *device = gpio->subdev.device;
87 ga102_gpio_intr_mask(struct nvkm_gpio *gpio, u3 argument
[all...]
/linux-master/arch/sh/boards/mach-x3proto/
H A Dgpio.c3 * arch/sh/boards/mach-x3proto/gpio.c
13 #include <linux/gpio/driver.h>
29 static int x3proto_gpio_direction_input(struct gpio_chip *chip, unsigned gpio) argument
36 data |= (1 << gpio);
43 static int x3proto_gpio_get(struct gpio_chip *chip, unsigned gpio) argument
45 return !!(__raw_readw(KEYDETR) & (1 << gpio));
48 static int x3proto_gpio_to_irq(struct gpio_chip *chip, unsigned gpio) argument
52 if (gpio < chip->ngpio)
53 virq = irq_create_mapping(x3proto_irq_domain, gpio);
77 .label = "x3proto-gpio",
[all...]
/linux-master/arch/powerpc/platforms/4xx/
H A DMakefile7 obj-$(CONFIG_PPC4xx_GPIO) += gpio.o
/linux-master/drivers/media/cec/platform/
H A DMakefile8 obj-$(CONFIG_CEC_GPIO) += cec-gpio/
/linux-master/drivers/media/pci/bt8xx/
H A Dbttv-input.c43 u32 gpio,data; local
45 /* read gpio value */
46 gpio = bttv_gpio_read(&btv->c);
48 if (ir->last_gpio == gpio)
50 ir->last_gpio = gpio;
54 data = ir_extract_bits(gpio, ir->mask_keycode);
55 dprintk("irq gpio=0x%x code=%d | %s%s%s\n",
56 gpio, data,
58 (gpio & ir->mask_keydown) ? " down" : "",
59 (gpio
78 u32 gpio, data, keyup; local
239 u32 gpio; local
310 u32 gpio; local
516 u32 gpio; local
[all...]
/linux-master/drivers/i2c/muxes/
H A DMakefile5 obj-$(CONFIG_I2C_ARB_GPIO_CHALLENGE) += i2c-arb-gpio-challenge.o
9 obj-$(CONFIG_I2C_MUX_GPIO) += i2c-mux-gpio.o
/linux-master/drivers/media/pci/cx25821/
H A DMakefile3 cx25821-gpio.o cx25821-medusa-video.o \
/linux-master/arch/sh/boards/mach-highlander/
H A Dpinmux-r7785rp.c6 #include <linux/gpio.h>

Completed in 232 milliseconds

1234567891011>>