Home
last modified time | relevance | path

Searched refs:eint (Results 1 – 25 of 52) sorted by relevance

123

/openbmc/linux/drivers/pinctrl/mediatek/
H A Dmtk-eint.c119 curr_level = eint->gpio_xlate->get_gpio_state(eint->pctl, in mtk_eint_flip_edge()
257 err = eint->gpio_xlate->get_gpio_n(eint->pctl, d->hwirq, in mtk_eint_irq_request_resources()
306 void __iomem *dom_en = eint->base + eint->regs->dom_en; in mtk_eint_hw_init()
378 eint->gpio_xlate->get_gpio_state(eint->pctl, in mtk_eint_irq_handler()
406 mtk_eint_chip_write_mask(eint, eint->base, eint->wake_mask); in mtk_eint_do_suspend()
414 mtk_eint_chip_write_mask(eint, eint->base, eint->cur_mask); in mtk_eint_do_resume()
496 eint->wake_mask = devm_kcalloc(eint->dev, eint->hw->ports, in mtk_eint_do_init()
501 eint->cur_mask = devm_kcalloc(eint->dev, eint->hw->ports, in mtk_eint_do_init()
506 eint->dual_edge = devm_kcalloc(eint->dev, eint->hw->ap_num, in mtk_eint_do_init()
511 eint->domain = irq_domain_add_linear(eint->dev->of_node, in mtk_eint_do_init()
[all …]
H A Dmtk-eint.h78 int mtk_eint_do_init(struct mtk_eint *eint);
79 int mtk_eint_do_suspend(struct mtk_eint *eint);
80 int mtk_eint_do_resume(struct mtk_eint *eint);
81 int mtk_eint_set_debounce(struct mtk_eint *eint, unsigned long eint_n,
83 int mtk_eint_find_irq(struct mtk_eint *eint, unsigned long eint_n);
86 static inline int mtk_eint_do_init(struct mtk_eint *eint) in mtk_eint_do_init() argument
91 static inline int mtk_eint_do_suspend(struct mtk_eint *eint) in mtk_eint_do_suspend() argument
96 static inline int mtk_eint_do_resume(struct mtk_eint *eint) in mtk_eint_do_resume() argument
101 static inline int mtk_eint_set_debounce(struct mtk_eint *eint, unsigned long eint_n, in mtk_eint_set_debounce() argument
107 static inline int mtk_eint_find_irq(struct mtk_eint *eint, unsigned long eint_n) in mtk_eint_find_irq() argument
H A Dpinctrl-mtk-common.c737 if (pin->eint.eintnum == eint_num) in mtk_find_pin_by_eint_num()
870 eint_n = pin->eint.eintnum; in mtk_gpio_to_irq()
891 eint_n = pin->eint.eintnum; in mtk_gpio_set_config()
1023 pctl->eint = devm_kzalloc(pctl->dev, sizeof(*pctl->eint), GFP_KERNEL); in mtk_eint_init()
1024 if (!pctl->eint) in mtk_eint_init()
1028 if (IS_ERR(pctl->eint->base)) in mtk_eint_init()
1029 return PTR_ERR(pctl->eint->base); in mtk_eint_init()
1032 if (!pctl->eint->irq) in mtk_eint_init()
1035 pctl->eint->dev = &pdev->dev; in mtk_eint_init()
1042 pctl->eint->pctl = pctl; in mtk_eint_init()
[all …]
H A Dpinctrl-mtk-common-v2.c340 desc->eint.eint_m); in mtk_xt_set_gpio_as_eint()
378 hw->eint = devm_kzalloc(hw->dev, sizeof(*hw->eint), GFP_KERNEL); in mtk_build_eint()
379 if (!hw->eint) in mtk_build_eint()
383 if (IS_ERR(hw->eint->base)) { in mtk_build_eint()
384 ret = PTR_ERR(hw->eint->base); in mtk_build_eint()
389 if (!hw->eint->irq) { in mtk_build_eint()
399 hw->eint->dev = &pdev->dev; in mtk_build_eint()
400 hw->eint->hw = hw->soc->eint_hw; in mtk_build_eint()
401 hw->eint->pctl = hw; in mtk_build_eint()
407 devm_kfree(hw->dev, hw->eint); in mtk_build_eint()
[all …]
H A Dpinctrl-mtk-common.h37 const struct mtk_desc_eint eint; member
44 .eint = _eint, \
293 struct mtk_eint *eint; member
H A Dpinctrl-moore.c528 if (!hw->eint) in mtk_gpio_to_irq()
533 if (desc->eint.eint_n == (u16)EINT_NA) in mtk_gpio_to_irq()
536 return mtk_eint_find_irq(hw->eint, desc->eint.eint_n); in mtk_gpio_to_irq()
550 if (!hw->eint || in mtk_gpio_set_config()
552 desc->eint.eint_n == (u16)EINT_NA) in mtk_gpio_set_config()
557 return mtk_eint_set_debounce(hw->eint, desc->eint.eint_n, debounce); in mtk_gpio_set_config()
H A Dpinctrl-paris.c928 if (!hw->eint) in mtk_gpio_to_irq()
933 if (desc->eint.eint_n == EINT_NA) in mtk_gpio_to_irq()
936 return mtk_eint_find_irq(hw->eint, desc->eint.eint_n); in mtk_gpio_to_irq()
948 if (!hw->eint || in mtk_gpio_set_config()
950 desc->eint.eint_n == EINT_NA) in mtk_gpio_set_config()
955 return mtk_eint_set_debounce(hw->eint, desc->eint.eint_n, debounce); in mtk_gpio_set_config()
1112 return mtk_eint_do_suspend(pctl->eint); in mtk_paris_pinctrl_suspend()
1119 return mtk_eint_do_resume(pctl->eint); in mtk_paris_pinctrl_resume()
H A Dpinctrl-moore.h32 .eint = { \
H A Dpinctrl-paris.h46 .eint = _eint, \
H A Dpinctrl-mtk-common-v2.h220 struct mtk_eint_desc eint; member
296 struct mtk_eint *eint; member
H A DMakefile3 obj-$(CONFIG_EINT_MTK) += mtk-eint.o
H A DKconfig153 map specific eint which doesn't have real gpio pin.
228 map specific eint which doesn't have real gpio pin.
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dsamsung,pinctrl-wakeup-interrupt.yaml32 - samsung,s3c2410-wakeup-eint
33 - samsung,s3c2412-wakeup-eint
34 - samsung,s3c64xx-wakeup-eint
35 - samsung,s5pv210-wakeup-eint
36 - samsung,exynos4210-wakeup-eint
37 - samsung,exynos7-wakeup-eint
38 - samsung,exynos850-wakeup-eint
39 - samsung,exynosautov9-wakeup-eint
56 - samsung,s3c2410-wakeup-eint
57 - samsung,s3c2412-wakeup-eint
[all …]
H A Dmediatek,mt6779-pinctrl.yaml83 - const: eint
106 const: eint
216 "eint";
H A Dmediatek,mt6795-pinctrl.yaml35 Physical address base for GPIO base and eint registers.
41 - const: eint
187 reg-names = "base", "eint";
H A Dmediatek,mt8188-pinctrl.yaml40 - description: eint registers base address
49 - const: eint
196 "eint";
H A Dsamsung,pinctrl.yaml148 compatible = "samsung,s3c64xx-wakeup-eint";
230 compatible = "samsung,exynos4210-wakeup-eint";
316 compatible = "samsung,exynos7-wakeup-eint";
H A Dmediatek,mt8183-pinctrl.yaml34 - const: eint
212 "eint";
H A Dmediatek,mt8186-pinctrl.yaml50 - const: eint
239 "iocfg_rt", "eint";
H A Dmediatek,mt7986-pinctrl.yaml34 - const: eint
381 "iocfg_lb", "iocfg_tr", "iocfg_tl", "eint";
H A Dmediatek,mt7981-pinctrl.yaml34 - const: eint
437 "iocfg_tm", "iocfg_tl", "eint";
/openbmc/linux/Documentation/devicetree/bindings/arm/samsung/
H A Dsamsung-soc.yaml38 - samsung,s3c64xx-wakeup-eint
/openbmc/u-boot/arch/arm/dts/
H A Dexynos4x12.dtsi77 compatible = "samsung,exynos4210-wakeup-eint";
H A Dexynos5250.dtsi25 compatible = "samsung,exynos4210-wakeup-eint";
H A Dexynos4210.dtsi91 compatible = "samsung,exynos4210-wakeup-eint";

123