Searched defs:gpio_base (Results 1 - 10 of 10) sorted by relevance

/drivers/gpio/
H A Dgpio-tps65910.c69 void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base) argument
74 if (!gpio_base)
80 tps65910->gpio.base = gpio_base;
H A Dgpio-davinci.c38 static void __iomem *gpio_base; variable
45 ptr = gpio_base + 0x10;
47 ptr = gpio_base + 0x38;
49 ptr = gpio_base + 0x60;
51 ptr = gpio_base + 0x88;
53 ptr = gpio_base + 0xb0;
158 gpio_base = ioremap(soc_info->gpio_base, SZ_4K);
159 if (WARN_ON(!gpio_base))
456 __raw_writel(binten, gpio_base
[all...]
H A Dgpio-langwell.c307 u32 gpio_base; local
328 gpio_base = *((u32 *)base + 1);
356 lnw->chip.base = gpio_base;
H A Dgpio-pca953x.c550 pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert) argument
560 *gpio_base = -1;
568 *gpio_base = be32_to_cpup(val);
578 pca953x_get_alt_pdata(struct i2c_client *client, int *gpio_base, int *invert) argument
580 *gpio_base = -1;
649 chip->gpio_start = pdata->gpio_base;
H A Dgpio-pxa.c373 int loop, gpio, gpio_base, n; local
379 gpio_base = c->chip.base;
389 generic_handle_irq(gpio_to_irq(gpio_base + n));
/drivers/pcmcia/
H A Delectra_cf.c56 void __iomem * gpio_base; member in struct:electra_cf_socket
70 gpio = in_le32(cf->gpio_base+0x40);
147 out_le32(cf->gpio_base+0x90, gpio);
222 cf->gpio_base = ioremap(0xfc103000, 0x1000);
225 if (!cf->mem_base || !cf->io_virt || !cf->gpio_base ||
319 if (cf->gpio_base)
320 iounmap(cf->gpio_base);
341 iounmap(cf->gpio_base);
/drivers/gpu/drm/gma500/
H A Doaktrail_hdmi_i2c.c254 unsigned int gpio_base = 0xff12c000; local
258 base = ioremap((resource_size_t)gpio_base, gpio_len);
/drivers/mfd/
H A Dtps6586x.c291 static int tps6586x_gpio_init(struct tps6586x *tps6586x, int gpio_base) argument
293 if (!gpio_base)
299 tps6586x->gpio.base = gpio_base;
516 ret = tps6586x_gpio_init(tps6586x, pdata->gpio_base);
531 if (pdata->gpio_base) {
554 if (pdata->gpio_base) {
H A Dasic3.c431 unsigned int gpio_base; local
436 gpio_base = ASIC3_GPIO_TO_BASE(offset);
438 if (gpio_base > ASIC3_GPIO_D_BASE) {
440 gpio_base, offset);
446 out_reg = asic3_read_register(asic, gpio_base + ASIC3_GPIO_DIRECTION);
454 asic3_write_register(asic, gpio_base + ASIC3_GPIO_DIRECTION, out_reg);
477 unsigned int gpio_base; local
482 gpio_base = ASIC3_GPIO_TO_BASE(offset);
484 if (gpio_base > ASIC3_GPIO_D_BASE) {
486 gpio_base, offse
497 unsigned int gpio_base; local
[all...]
H A Dtc6393xb.c499 static int tc6393xb_register_gpio(struct tc6393xb *tc6393xb, int gpio_base) argument
502 tc6393xb->gpio.base = gpio_base;
682 if (tcpd->gpio_base >= 0) {
683 ret = tc6393xb_register_gpio(tc6393xb, tcpd->gpio_base);

Completed in 362 milliseconds