Home
last modified time | relevance | path

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

12345

/openbmc/linux/drivers/irqchip/
H A Dirq-wpcm450-aic.c41 static struct wpcm450_aic *aic; variable
48 writel(0xffffffff, aic->regs + AIC_MDCR); in wpcm450_aic_init_hw()
55 readl(aic->regs + AIC_IPER); in wpcm450_aic_init_hw()
56 writel(0, aic->regs + AIC_EOSCR); in wpcm450_aic_init_hw()
61 aic->regs + AIC_SCR(i)); in wpcm450_aic_init_hw()
70 hwirq = readl(aic->regs + AIC_IPER) / 4; in wpcm450_aic_handle_irq()
72 generic_handle_domain_irq(aic->domain, hwirq); in wpcm450_aic_handle_irq()
78 writel(0, aic->regs + AIC_EOSCR); in wpcm450_aic_eoi()
86 writel(mask, aic->regs + AIC_MDCR); in wpcm450_aic_mask()
94 writel(mask, aic->regs + AIC_MECR); in wpcm450_aic_unmask()
[all …]
H A Dirq-atmel-aic-common.c2 * Atmel AT91 common AIC (Advanced Interrupt Controller) code shared by
3 * irq-atmel-aic and irq-atmel-aic5 drivers
25 #include "irq-atmel-aic-common.h"
51 struct aic_chip_data *aic = gc->private; in aic_common_set_type() local
62 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type()
68 if (!(d->mask & aic->ext_irqs)) in aic_common_set_type()
113 struct aic_chip_data *aic; in aic_common_ext_irq_of_init() local
120 aic = gc->private; in aic_common_ext_irq_of_init()
121 aic->ext_irqs |= 1; in aic_common_ext_irq_of_init()
126 pr_warn("AIC: external irq %d >= %d skip it\n", in aic_common_ext_irq_of_init()
[all …]
H A Dirq-jcore-aic.c2 * J-Core SoC AIC driver
49 struct irq_chip *aic = d->host_data; in jcore_aic_irqdomain_map() local
51 irq_set_chip_and_handler(irq, aic, handle_jcore_irq); in jcore_aic_irqdomain_map()
73 pr_info("Initializing J-Core AIC\n"); in aic_irq_of_init()
83 pr_err("Unable to map AIC for cpu %u\n", cpu); in aic_irq_of_init()
102 jcore_aic.name = "AIC"; in aic_irq_of_init()
H A Dirq-atmel-aic.c2 * Atmel AT91 AIC (Advanced Interrupt Controller) driver
34 #include "irq-atmel-aic-common.h"
36 /* Number of irq lines managed by AIC */
147 * Perform 8 End Of Interrupt Command to make sure AIC in aic_hw_init()
160 /* No debugging in AIC: Debug (Protect) Control Register */ in aic_hw_init()
250 domain = aic_common_of_init(node, &aic_irq_ops, "atmel-aic", in aic_of_init()
274 IRQCHIP_DECLARE(at91rm9200_aic, "atmel,at91rm9200-aic", aic_of_init);
H A Dirq-atmel-aic5.c34 #include "irq-atmel-aic-common.h"
36 /* Number of irq lines managed by AIC */
249 * Perform 8 End Of Interrupt Command to make sure AIC in aic5_hw_init()
262 /* No debugging in AIC: Debug (Protect) Control Register */ in aic5_hw_init()
381 IRQCHIP_DECLARE(sama5d2_aic5, "atmel,sama5d2-aic", sama5d2_aic5_of_init);
390 IRQCHIP_DECLARE(sama5d3_aic5, "atmel,sama5d3-aic", sama5d3_aic5_of_init);
399 IRQCHIP_DECLARE(sama5d4_aic5, "atmel,sama5d4-aic", sama5d4_aic5_of_init);
408 IRQCHIP_DECLARE(sam9x60_aic5, "microchip,sam9x60-aic", sam9x60_aic5_of_init);
H A DMakefile42 obj-$(CONFIG_ATMEL_AIC_IRQ) += irq-atmel-aic-common.o irq-atmel-aic.o
43 obj-$(CONFIG_ATMEL_AIC5_IRQ) += irq-atmel-aic-common.o irq-atmel-aic5.o
48 obj-$(CONFIG_JCORE_AIC) += irq-jcore-aic.o
118 obj-$(CONFIG_WPCM450_AIC) += irq-wpcm450-aic.o
120 obj-$(CONFIG_APPLE_AIC) += irq-apple-aic.o
H A Dirq-apple-aic.c12 * AIC is a fairly simple interrupt controller with the following features:
65 #include <dt-bindings/interrupt-controller/apple-aic.h>
68 * AIC v1 registers (MMIO)
108 * AIC v2 registers (MMIO)
225 /* Must be ordered as in apple-aic.h */
283 .compatible = "apple,t8103-aic",
287 .compatible = "apple,aic",
436 .name = "AIC",
592 .name = "AIC-FIQ",
765 * Ack the IPI. We need to order this after the AIC event read, but in aic_handle_ipi()
[all …]
/openbmc/qemu/hw/i2c/
H A Daspeed_i2c.c40 AspeedI2CClass *aic = ASPEED_I2C_GET_CLASS(bus->controller); in aspeed_i2c_bus_raise_interrupt() local
77 qemu_irq_raise(aic->bus_get_irq(bus)); in aspeed_i2c_bus_raise_interrupt()
83 AspeedI2CClass *aic = ASPEED_I2C_GET_CLASS(bus->controller); in aspeed_i2c_bus_raise_slave_interrupt() local
90 qemu_irq_raise(aic->bus_get_irq(bus)); in aspeed_i2c_bus_raise_slave_interrupt()
96 AspeedI2CClass *aic = ASPEED_I2C_GET_CLASS(bus->controller); in aspeed_i2c_bus_old_read() local
114 if (!aic->has_dma) { in aspeed_i2c_bus_old_read()
123 if (!aic->has_dma) { in aspeed_i2c_bus_old_read()
143 AspeedI2CClass *aic = ASPEED_I2C_GET_CLASS(bus->controller); in aspeed_i2c_bus_new_read() local
178 if (!aic->has_dma64) { in aspeed_i2c_bus_new_read()
246 AspeedI2CClass *aic = ASPEED_I2C_GET_CLASS(bus->controller); in aspeed_i2c_bus_send() local
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c45 * Disable AIC for now, until we have all the in ar9003_hw_is_aic_enabled()
167 struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; in ar9003_aic_cal_start() local
177 aic->aic_sram[i] = 0; in ar9003_aic_cal_start()
246 /* Need to enable AIC reference signal in BT modem. */ in ar9003_aic_cal_start()
251 aic->aic_cal_start_time = REG_READ(ah, AR_TSF_L32); in ar9003_aic_cal_start()
258 aic->aic_caled_chan = 0; in ar9003_aic_cal_start()
259 aic->aic_cal_state = AIC_CAL_STATE_STARTED; in ar9003_aic_cal_start()
261 return aic->aic_cal_state; in ar9003_aic_cal_start()
266 struct ath9k_hw_aic *aic = &ah->btcoex_hw.aic; in ar9003_aic_cal_post_process() local
280 value = aic->aic_sram[i]; in ar9003_aic_cal_post_process()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Datmel,aic.txt1 * Advanced Interrupt Controller (AIC)
5 - "atmel,<chip>-aic" where <chip> can be "at91rm9200", "sama5d2",
7 - "microchip,<chip>-aic" where <chip> can be "sam9x60"
22 - reg: Should contain AIC registers location and length
27 * AIC
29 aic: interrupt-controller@fffff000 {
30 compatible = "atmel,at91rm9200-aic";
37 * An interrupt generating device that is wired to an AIC.
H A Dapple,aic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml#
31 This device also represents the FIQ interrupt sources on platforms using AIC,
40 - const: apple,t8103-aic
41 - const: apple,aic
67 Specifies base physical address and size of the AIC registers.
115 aic: interrupt-controller@23b100000 {
116 compatible = "apple,t8103-aic", "apple,aic";
H A Dapple,aic2.yaml27 This device also represents the FIQ interrupt sources on platforms using AIC,
35 - apple,t8112-aic
36 - apple,t6000-aic
49 The 2nd cell contains the die ID (only present on apple,t6000-aic).
119 const: apple,t8112-aic
135 aic: interrupt-controller@28e100000 {
136 compatible = "apple,t6000-aic", "apple,aic2";
H A Dnuvoton,wpcm450-aic.yaml4 $id: http://devicetree.org/schemas/interrupt-controller/nuvoton,wpcm450-aic.yaml#
17 const: nuvoton,wpcm450-aic
34 aic: interrupt-controller@b8002000 {
35 compatible = "nuvoton,wpcm450-aic";
H A Djcore,aic.txt5 - compatible: Should be "jcore,aic1" for the (obsolete) first-generation aic
21 aic: interrupt-controller@200 {
/openbmc/qemu/hw/intc/
H A Daspeed_intc.c41 AspeedINTCClass *aic = ASPEED_INTC_GET_CLASS(s); in aspeed_intc_update() local
43 if (irq >= aic->num_ints) { in aspeed_intc_update()
62 AspeedINTCClass *aic = ASPEED_INTC_GET_CLASS(s); in aspeed_intc_set_irq() local
68 if (irq >= aic->num_ints) { in aspeed_intc_set_irq()
81 for (i = 0; i < aic->num_lines; i++) { in aspeed_intc_set_irq()
140 AspeedINTCClass *aic = ASPEED_INTC_GET_CLASS(s); in aspeed_intc_write() local
167 if (irq >= aic->num_ints) { in aspeed_intc_write()
216 if (irq >= aic->num_ints) { in aspeed_intc_write()
276 AspeedINTCClass *aic = ASPEED_INTC_GET_CLASS(s); in aspeed_intc_instance_init() local
279 assert(aic->num_ints <= ASPEED_INTC_NR_INTS); in aspeed_intc_instance_init()
[all …]
/openbmc/linux/arch/arm64/boot/dts/apple/
H A Dt600x-die0.dtsi17 aic: interrupt-controller@28e100000 { label
18 compatible = "apple,t6000-aic", "apple,aic2";
38 interrupt-parent = <&aic>;
52 interrupt-parent = <&aic>;
59 interrupt-parent = <&aic>;
68 interrupt-parent = <&aic>;
87 interrupt-parent = <&aic>;
100 interrupt-parent = <&aic>;
114 interrupt-parent = <&aic>;
128 interrupt-parent = <&aic>;
[all …]
H A Dt8103.dtsi11 #include <dt-bindings/interrupt-controller/apple-aic.h>
302 interrupt-parent = <&aic>;
312 interrupt-parent = <&aic>;
318 interrupt-parent = <&aic>;
362 interrupt-parent = <&aic>;
372 interrupt-parent = <&aic>;
385 interrupt-parent = <&aic>;
398 interrupt-parent = <&aic>;
412 interrupt-parent = <&aic>;
425 interrupt-parent = <&aic>;
[all …]
H A Dt8112.dtsi11 #include <dt-bindings/interrupt-controller/apple-aic.h>
325 interrupt-parent = <&aic>;
335 interrupt-parent = <&aic>;
341 interrupt-parent = <&aic>;
385 interrupt-parent = <&aic>;
395 interrupt-parent = <&aic>;
409 interrupt-parent = <&aic>;
423 interrupt-parent = <&aic>;
437 interrupt-parent = <&aic>;
451 interrupt-parent = <&aic>;
[all …]
H A Dt6001.dtsi11 #include <dt-bindings/interrupt-controller/apple-aic.h>
50 &aic {
H A Dt600x-dieX.dtsi60 interrupt-parent = <&aic>;
88 interrupt-parent = <&aic>;
102 interrupt-parent = <&aic>;
/openbmc/linux/Documentation/devicetree/bindings/sound/
H A Dingenic,aic.yaml4 $id: http://devicetree.org/schemas/sound/ingenic,aic.yaml#
7 title: Ingenic SoCs AC97 / I2S Controller (AIC)
42 - description: AIC clock
47 - const: aic
75 aic: audio-controller@10020000 {
86 clock-names = "aic", "i2s";
H A Dingenic,codec.yaml38 - const: aic
60 clock-names = "aic";
/openbmc/linux/Documentation/devicetree/bindings/dma/
H A Dapple,admac.yaml74 #include <dt-bindings/interrupt-controller/apple-aic.h>
77 aic: interrupt-controller {
87 <&aic AIC_IRQ 626 IRQ_TYPE_LEVEL_HIGH>,
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c323 struct be_aic_obj *aic = &adapter->aic_obj[0]; in be_get_coalesce() local
325 et->rx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
326 et->rx_coalesce_usecs_high = aic->max_eqd; in be_get_coalesce()
327 et->rx_coalesce_usecs_low = aic->min_eqd; in be_get_coalesce()
329 et->tx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
330 et->tx_coalesce_usecs_high = aic->max_eqd; in be_get_coalesce()
331 et->tx_coalesce_usecs_low = aic->min_eqd; in be_get_coalesce()
348 struct be_aic_obj *aic = &adapter->aic_obj[0]; in be_set_coalesce() local
355 aic->max_eqd = min(et->rx_coalesce_usecs_high, BE_MAX_EQD); in be_set_coalesce()
356 aic->min_eqd = min(et->rx_coalesce_usecs_low, aic->max_eqd); in be_set_coalesce()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pci/
H A Dapple,pcie.yaml104 #include <dt-bindings/interrupt-controller/apple-aic.h>
121 interrupt-parent = <&aic>;
128 msi-ranges = <&aic AIC_IRQ 704 IRQ_TYPE_EDGE_RISING 32>;

12345