Home
last modified time | relevance | path

Searched full:eic (Results 1 – 25 of 25) sorted by relevance

/Linux-v6.1/drivers/irqchip/
Dirq-mchp-eic.c28 * struct mchp_eic - EIC private data structure
32 * @irqs: irqs b/w eic and gic
45 static struct mchp_eic *eic; variable
51 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_mask()
53 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_mask()
62 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_unmask()
64 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_unmask()
74 tmp = readl_relaxed(eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_set_type()
96 writel_relaxed(tmp, eic->base + MCHP_EIC_SCFG(d->hwirq)); in mchp_eic_irq_set_type()
103 irq_set_irq_wake(eic->irqs[d->hwirq], on); in mchp_eic_irq_set_wake()
[all …]
Dirq-mips-gic.c83 /* All local interrupts are routable in EIC mode. */ in gic_local_irq_is_routable()
723 /* Enable or disable EIC */ in gic_cpu_startup()
796 /* Always use vector 1 in EIC mode */ in gic_of_init()
DMakefile122 obj-$(CONFIG_MCHP_EIC) += irq-mchp-eic.o
/Linux-v6.1/Documentation/devicetree/bindings/gpio/
Dgpio-eic-sprd.txt1 Spreadtrum EIC controller bindings
3 The EIC is the abbreviation of external interrupt controller, which can
4 be used only in input mode. The Spreadtrum platform has 2 EIC controllers,
5 one is in digital chip, and another one is in PMIC. The digital chip EIC
6 controller contains 4 sub-modules: EIC-debounce, EIC-latch, EIC-async and
7 EIC-sync. But the PMIC EIC controller contains only one EIC-debounce sub-
10 The EIC-debounce sub-module provides up to 8 source input signal
19 The EIC-latch sub-module is used to latch some special power down signals
20 and generate interrupts, since the EIC-latch does not depend on the APB
23 The EIC-async sub-module uses a 32kHz clock to capture the short signals
[all …]
/Linux-v6.1/drivers/gpio/
Dgpio-ep93xx.c54 struct ep93xx_gpio_irq_chip *eic; member
68 return egc->eic; in to_ep93xx_gpio_irq_chip()
83 struct ep93xx_gpio_irq_chip *eic) in ep93xx_gpio_update_int_params() argument
85 writeb_relaxed(0, epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params()
87 writeb_relaxed(eic->int_type2, in ep93xx_gpio_update_int_params()
88 epg->base + eic->irq_offset + EP93XX_INT_TYPE2_OFFSET); in ep93xx_gpio_update_int_params()
90 writeb_relaxed(eic->int_type1, in ep93xx_gpio_update_int_params()
91 epg->base + eic->irq_offset + EP93XX_INT_TYPE1_OFFSET); in ep93xx_gpio_update_int_params()
93 writeb_relaxed(eic->int_unmasked & eic->int_enabled, in ep93xx_gpio_update_int_params()
94 epg->base + eic->irq_offset + EP93XX_INT_EN_OFFSET); in ep93xx_gpio_update_int_params()
[all …]
Dgpio-eic-sprd.c16 /* EIC registers definition */
53 * The digital-chip EIC controller can support maximum 3 banks, and each bank
63 * The Spreadtrum EIC (external interrupt controller) can be used only in
66 * The Spreadtrum digital-chip EIC controller contains 4 sub-modules:
67 * debounce EIC, latch EIC, async EIC and sync EIC,
69 * The debounce EIC is used to capture the input signals' stable status
74 * The latch EIC is used to latch some special power down signals and
75 * generate interrupts, since the latch EIC does not depend on the APB clock
78 * The async EIC uses a 32k clock to capture the short signals (microsecond
81 * The EIC-sync is similar with GPIO's input function, which is a synchronized
[all …]
Dgpio-pmic-eic-sprd.c15 /* EIC registers definition */
27 * The PMIC EIC controller only has one bank, and each bank now can contain
48 * struct sprd_pmic_eic - PMIC EIC controller
52 * @offset: the EIC controller's offset address of the PMIC.
53 * @reg: the array to cache the EIC registers.
55 * @irq: the interrupt number of the PMIC EIC conteroller.
185 * Will set the trigger level according to current EIC level in sprd_pmic_eic_irq_set_type()
227 /* Generate trigger start pulse for debounce EIC */ in sprd_pmic_eic_bus_sync_unlock()
252 dev_warn(chip->parent, "PMIC EIC level was changed.\n"); in sprd_pmic_eic_toggle_trigger()
259 /* Generate trigger start pulse for debounce EIC */ in sprd_pmic_eic_toggle_trigger()
[all …]
DMakefile55 obj-$(CONFIG_GPIO_EIC_SPRD) += gpio-eic-sprd.o
122 obj-$(CONFIG_GPIO_PMIC_EIC_SPRD) += gpio-pmic-eic-sprd.o
DKconfig237 tristate "Spreadtrum EIC support"
242 Say yes here to support Spreadtrum EIC device.
490 tristate "Spreadtrum PMIC EIC support"
495 Say yes here to support Spreadtrum PMIC EIC device.
/Linux-v6.1/drivers/hwmon/
Dsht21.c36 * @eic: cached electronic identification code text
45 char eic[18]; member
164 u8 eic[8]; in eic_read() local
186 eic[2] = rx[0]; in eic_read()
187 eic[3] = rx[2]; in eic_read()
188 eic[4] = rx[4]; in eic_read()
189 eic[5] = rx[6]; in eic_read()
197 eic[0] = rx[3]; in eic_read()
198 eic[1] = rx[4]; in eic_read()
199 eic[6] = rx[0]; in eic_read()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/interrupt-controller/
Dmicrochip,eic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/microchip,eic.yaml#
19 - microchip,sama7g5-eic
61 eic: interrupt-controller@e1628000 {
62 compatible = "microchip,sama7g5-eic";
Dmti,gic.yaml43 route interrupts. This property is ignored if the CPU is started in EIC
/Linux-v6.1/arch/mips/include/asm/mips-boards/
Dmaltaint.h42 * Interrupts 96..127 are used for Soc-it EIC interrupts
46 /* SOC-it EIC interrupt offsets */
/Linux-v6.1/arch/arm64/boot/dts/sprd/
Dwhale2.dtsi202 compatible = "sprd,sc9860-eic-debounce";
212 compatible = "sprd,sc9860-eic-latch";
222 compatible = "sprd,sc9860-eic-async";
232 compatible = "sprd,sc9860-eic-sync";
Dsc2731.dtsi56 compatible = "sprd,sc2731-eic";
/Linux-v6.1/arch/s390/kvm/
Dintercept.c281 u16 eic = vcpu->arch.sie_block->eic; in handle_external_interrupt() local
292 if ((eic == EXT_IRQ_CLK_COMP || eic == EXT_IRQ_CPU_TIMER) && in handle_external_interrupt()
296 switch (eic) { in handle_external_interrupt()
Dinterrupt.c502 vcpu->arch.sie_block->eic = EXT_IRQ_CPU_TIMER; in __deliver_cpu_timer()
526 vcpu->arch.sie_block->eic = EXT_IRQ_CLK_COMP; in __deliver_ckc()
792 vcpu->arch.sie_block->eic = EXT_IRQ_EMERGENCY_SIG; in __deliver_emergency_signal()
826 vcpu->arch.sie_block->eic = EXT_IRQ_EXTERNAL_CALL; in __deliver_external_call()
984 vcpu->arch.sie_block->eic = EXT_IRQ_SERVICE_SIG; in write_sclp()
/Linux-v6.1/Documentation/hwmon/
Dsht21.rst55 eic
/Linux-v6.1/drivers/net/ethernet/renesas/
Dravb.h148 EIC = 0x0358, enumerator
406 /* EIC */
/Linux-v6.1/arch/arm/boot/dts/
Dsama7g5.dtsi545 eic: interrupt-controller@e1628000 { label
546 compatible = "microchip,sama7g5-eic";
/Linux-v6.1/drivers/clk/sprd/
Dsc9863a-clk.c1152 static SPRD_SC_GATE_CLK_HW(eic_eb, "eic-eb", &aon_apb.common.hw, 0x0,
1242 static SPRD_SC_GATE_CLK_HW(eic_rtc_eb, "eic-rtc-eb", &aon_apb.common.hw,
1244 static SPRD_SC_GATE_CLK_HW(eic_rtcdv5_eb, "eic-rtcdv5-eb", &aon_apb.common.hw,
Dsc9860-clk.c854 static SPRD_SC_GATE_CLK(eic_eb, "eic-eb", "aon-apb", 0x0,
974 static SPRD_SC_GATE_CLK(eic_rtc_eb, "eic-rtc-eb", "aon-apb", 0x10,
976 static SPRD_SC_GATE_CLK(eic_rtcdv5_eb, "eic-rtcdv5-eb", "aon-apb", 0x10,
Dums512-clk.c1212 static SPRD_SC_GATE_CLK_FW_NAME(eic_eb, "eic-eb", "ext-26m",
1258 static SPRD_SC_GATE_CLK_FW_NAME(eic_rtc_eb, "eic-rtc-eb", "ext-26m",
1260 static SPRD_SC_GATE_CLK_FW_NAME(eic_rtcdv5_eb, "eic-rtcdv5-eb", "ext-26m",
/Linux-v6.1/arch/s390/include/asm/
Dkvm_host.h302 __u16 eic; /* 0x00c6 */ member
/Linux-v6.1/
DMAINTAINERS13474 MICROCHIP EIC DRIVER
13478 F: drivers/irqchip/irq-mchp-eic.c