Home
last modified time | relevance | path

Searched refs:gpio_int (Results 1 – 4 of 4) sorted by relevance

/drivers/pinctrl/samsung/
Dpinctrl-exynos5440.c131 unsigned int gpio_int; member
850 unsigned long gpio_int; in exynos5440_gpio_irq_unmask() local
853 gpio_int = readl(d->reg_base + GPIO_INT); in exynos5440_gpio_irq_unmask()
854 gpio_int |= 1 << irqd->hwirq; in exynos5440_gpio_irq_unmask()
855 writel(gpio_int, d->reg_base + GPIO_INT); in exynos5440_gpio_irq_unmask()
861 unsigned long gpio_int; in exynos5440_gpio_irq_mask() local
864 gpio_int = readl(d->reg_base + GPIO_INT); in exynos5440_gpio_irq_mask()
865 gpio_int &= ~(1 << irqd->hwirq); in exynos5440_gpio_irq_mask()
866 writel(gpio_int, d->reg_base + GPIO_INT); in exynos5440_gpio_irq_mask()
883 virq = irq_linear_revmap(d->irq_domain, intd->gpio_int); in exynos5440_gpio_irq()
[all …]
/drivers/power/supply/
Dbq24190_charger.c156 unsigned int gpio_int; member
1303 if (!gpio_is_valid(pdata->gpio_int)) in bq24190_setup_pdata()
1306 ret = gpio_request(pdata->gpio_int, dev_name(bdi->dev)); in bq24190_setup_pdata()
1310 ret = gpio_direction_input(pdata->gpio_int); in bq24190_setup_pdata()
1314 bdi->irq = gpio_to_irq(pdata->gpio_int); in bq24190_setup_pdata()
1318 bdi->gpio_int = pdata->gpio_int; in bq24190_setup_pdata()
1322 gpio_free(pdata->gpio_int); in bq24190_setup_pdata()
1421 if (bdi->gpio_int) in bq24190_probe()
1422 gpio_free(bdi->gpio_int); in bq24190_probe()
1440 if (bdi->gpio_int) in bq24190_remove()
[all …]
/drivers/input/touchscreen/
Dzforce_ts.c122 struct gpio_desc *gpio_int; member
589 } while (gpiod_get_value_cansleep(ts->gpio_int)); in zforce_irq_thread()
771 ts->gpio_int = devm_gpiod_get_optional(&client->dev, "irq", in zforce_probe()
773 if (IS_ERR(ts->gpio_int)) { in zforce_probe()
774 ret = PTR_ERR(ts->gpio_int); in zforce_probe()
786 ts->gpio_int = devm_gpiod_get_index(&client->dev, NULL, 0, in zforce_probe()
788 if (IS_ERR(ts->gpio_int)) { in zforce_probe()
789 ret = PTR_ERR(ts->gpio_int); in zforce_probe()
Dauo-pixcir-ts.c195 if (gpio_get_value(pdata->gpio_int) == 0) { in auo_pixcir_interrupt()
495 pdata->gpio_int = of_get_gpio(np, 0); in auo_pixcir_parse_dt()
496 if (!gpio_is_valid(pdata->gpio_int)) { in auo_pixcir_parse_dt()
602 error = devm_gpio_request_one(&client->dev, pdata->gpio_int, in auo_pixcir_probe()
606 pdata->gpio_int, error); in auo_pixcir_probe()