Home
last modified time | relevance | path

Searched refs:irqchip (Results 1 – 38 of 38) sorted by relevance

/linux-4.1.27/arch/x86/kvm/
Dirq_comm.c39 return kvm_pic_set_irq(pic, e->irqchip.pin, irq_source_id, level); in kvm_set_pic_irq()
47 return kvm_ioapic_set_irq(ioapic, e->irqchip.pin, irq_source_id, level, in kvm_set_ioapic_irq()
240 void kvm_fire_mask_notifiers(struct kvm *kvm, unsigned irqchip, unsigned pin, in kvm_fire_mask_notifiers() argument
247 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_fire_mask_notifiers()
265 switch (ue->u.irqchip.irqchip) { in kvm_set_routing_entry()
282 e->irqchip.irqchip = ue->u.irqchip.irqchip; in kvm_set_routing_entry()
283 e->irqchip.pin = ue->u.irqchip.pin + delta; in kvm_set_routing_entry()
284 if (e->irqchip.pin >= max_pin) in kvm_set_routing_entry()
304 .u.irqchip = { .irqchip = KVM_IRQCHIP_IOAPIC, .pin = (irq) } }
309 .u.irqchip = { .irqchip = SELECT_PIC(irq), .pin = (irq) % 8 } }
DMakefile11 $(KVM)/eventfd.o $(KVM)/irqchip.o $(KVM)/vfio.o
/linux-4.1.27/virt/kvm/
Dirqchip.c64 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() argument
69 return irq_rt->chip[irqchip][pin]; in kvm_irq_map_chip_pin()
142 ue->u.irqchip.irqchip == ei->irqchip.irqchip) in setup_routing_entry()
151 rt->chip[e->irqchip.irqchip][e->irqchip.pin] = e->gsi; in setup_routing_entry()
Deventfd.c451 bool kvm_irq_has_notifier(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_has_notifier() argument
457 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_irq_has_notifier()
472 void kvm_notify_acked_irq(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_notify_acked_irq() argument
477 trace_kvm_ack_irq(irqchip, pin); in kvm_notify_acked_irq()
480 gsi = kvm_irq_map_chip_pin(kvm, irqchip, pin); in kvm_notify_acked_irq()
/linux-4.1.27/Documentation/gpio/
Ddriver.txt72 The IRQ portions of the GPIO block are implemented using an irqchip, using
81 system interrupt controller. This means the GPIO irqchip is registered
83 gpiochip_set_chained_irqchip() helper function, and the GPIO irqchip
84 handler will be called immediately from the parent irqchip, while
85 holding the IRQs disabled. The GPIO irqchip will then end up calling
97 other GPIO irqchip residing on the other side of a sleeping bus. Of course
118 * gpiochip_irqchip_add(): adds an irqchip to a gpiochip. It will pass
126 data. (Notice handler data, since the irqchip data is likely used by the
127 parent irqchip!) This is for the chained type of chip. This is also used
128 to set up a nested irqchip if NULL is passed as handler.
[all …]
/linux-4.1.27/include/trace/events/
Dkvm.h170 #define kvm_ack_irq_parm __print_symbolic(__entry->irqchip, kvm_irqchips), __entry->pin
173 #define kvm_ack_irq_parm __entry->irqchip, __entry->pin
177 TP_PROTO(unsigned int irqchip, unsigned int pin),
178 TP_ARGS(irqchip, pin),
181 __field( unsigned int, irqchip )
186 __entry->irqchip = irqchip;
/linux-4.1.27/include/linux/gpio/
Ddriver.h119 struct irq_chip *irqchip; member
165 struct irq_chip *irqchip,
170 struct irq_chip *irqchip,
/linux-4.1.27/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c343 struct irq_chip *uninitialized_var(irqchip); in mpc52xx_irqhost_map()
372 case MPC52xx_IRQ_L1_MAIN: irqchip = &mpc52xx_main_irqchip; break; in mpc52xx_irqhost_map()
373 case MPC52xx_IRQ_L1_PERP: irqchip = &mpc52xx_periph_irqchip; break; in mpc52xx_irqhost_map()
374 case MPC52xx_IRQ_L1_SDMA: irqchip = &mpc52xx_sdma_irqchip; break; in mpc52xx_irqhost_map()
382 irq_set_chip_and_handler(virq, irqchip, handle_level_irq); in mpc52xx_irqhost_map()
/linux-4.1.27/drivers/irqchip/
Dirqchip.h26 #define IRQCHIP_DECLARE(name, compat, fn) OF_DECLARE_2(irqchip, name, compat, fn)
DKconfig147 The primary irqchip invokes the crossbar's callback which inturn allocates
149 routed to one of the free irqchip interrupt lines.
DMakefile1 obj-$(CONFIG_IRQCHIP) += irqchip.o
/linux-4.1.27/drivers/gpio/
Dgpiolib.c419 struct irq_chip *irqchip, in gpiochip_set_chained_irqchip() argument
476 irq_set_chip_and_handler(irq, chip->irqchip, chip->irq_handler); in gpiochip_irq_map()
560 if (gpiochip->irqchip) { in gpiochip_irqchip_remove()
561 gpiochip->irqchip->irq_request_resources = NULL; in gpiochip_irqchip_remove()
562 gpiochip->irqchip->irq_release_resources = NULL; in gpiochip_irqchip_remove()
563 gpiochip->irqchip = NULL; in gpiochip_irqchip_remove()
592 struct irq_chip *irqchip, in gpiochip_irqchip_add() argument
601 if (!gpiochip || !irqchip) in gpiochip_irqchip_add()
617 gpiochip->irqchip = irqchip; in gpiochip_irqchip_add()
625 gpiochip->irqchip = NULL; in gpiochip_irqchip_add()
[all …]
Dgpio-pl061.c196 struct irq_chip *irqchip = irq_desc_get_chip(desc); in pl061_irq_handler() local
198 chained_irq_enter(irqchip, desc); in pl061_irq_handler()
208 chained_irq_exit(irqchip, desc); in pl061_irq_handler()
Dgpio-zynq.c504 struct irq_chip *irqchip = irq_desc_get_chip(desc); in zynq_gpio_irqhandler() local
506 chained_irq_enter(irqchip, desc); in zynq_gpio_irqhandler()
516 chained_irq_exit(irqchip, desc); in zynq_gpio_irqhandler()
Dgpio-omap.c721 struct irq_chip *irqchip = irq_desc_get_chip(desc); in omap_gpio_irq_handler() local
724 chained_irq_enter(irqchip, desc); in omap_gpio_irq_handler()
754 chained_irq_exit(irqchip, desc); in omap_gpio_irq_handler()
784 chained_irq_exit(irqchip, desc); in omap_gpio_irq_handler()
/linux-4.1.27/arch/mips/bmips/
Dirq.c37 OF_DECLARE_2(irqchip, mips_cpu_intc, "mti,cpu-interrupt-controller",
/linux-4.1.27/Documentation/virtual/kvm/devices/
Dmpic.txt43 irqchip id 0.
45 This irqchip 0 has 256 interrupt pins, which expose the interrupts in
/linux-4.1.27/arch/s390/kvm/
DMakefile10 common-objs = $(KVM)/kvm_main.o $(KVM)/eventfd.o $(KVM)/async_pf.o $(KVM)/irqchip.o
/linux-4.1.27/arch/blackfin/kernel/
DMakefile9 sys_bfin.o traps.o irqchip.o dma-mapping.o flat.o \
/linux-4.1.27/arch/powerpc/kvm/
Dmpic.c1795 u32 irq = e->irqchip.pin; in mpic_set_irq()
1834 e->irqchip.irqchip = ue->u.irqchip.irqchip; in kvm_set_routing_entry()
1835 e->irqchip.pin = ue->u.irqchip.pin; in kvm_set_routing_entry()
1836 if (e->irqchip.pin >= KVM_IRQCHIP_NUM_PINS) in kvm_set_routing_entry()
DMakefile116 kvm-objs-$(CONFIG_HAVE_KVM_IRQ_ROUTING) += $(KVM)/irqchip.o
Dbook3s_xics.c1403 entries->irqchip.irqchip = 0; in kvm_irq_map_gsi()
1404 entries->irqchip.pin = gsi; in kvm_irq_map_gsi()
1408 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() argument
/linux-4.1.27/include/linux/
Dkvm_host.h315 unsigned irqchip; member
317 } irqchip; member
744 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin);
751 bool kvm_irq_has_notifier(struct kvm *kvm, unsigned irqchip, unsigned pin);
752 void kvm_notify_acked_irq(struct kvm *kvm, unsigned irqchip, unsigned pin);
/linux-4.1.27/drivers/pinctrl/spear/
Dpinctrl-plgpio.c363 struct irq_chip *irqchip = irq_desc_get_chip(desc); in plgpio_irq_handler() local
370 chained_irq_enter(irqchip, desc); in plgpio_irq_handler()
407 chained_irq_exit(irqchip, desc); in plgpio_irq_handler()
/linux-4.1.27/drivers/
DMakefile8 obj-y += irqchip/
DKconfig165 source "drivers/irqchip/Kconfig"
/linux-4.1.27/Documentation/arm/
DInterrupts53 struct irqchip {
83 IRQs that use this 'irqchip'. Generally expected to re-trigger
/linux-4.1.27/arch/arm/mach-omap2/
Domap-wakeupgen.c545 OF_DECLARE_2(irqchip, ti_wakeupgen, "ti,omap4-wugen-mpu", wakeupgen_init);
/linux-4.1.27/arch/arm/mach-imx/
Dgpc.c276 OF_DECLARE_2(irqchip, imx_gpc, "fsl,imx6q-gpc", imx_gpc_init);
/linux-4.1.27/include/uapi/linux/
Dkvm.h821 __u32 irqchip; member
851 struct kvm_irq_routing_irqchip irqchip; member
/linux-4.1.27/arch/arm/mach-exynos/
Dsuspend.c267 #define EXYNOS_PMU_IRQ(symbol, name) OF_DECLARE_2(irqchip, symbol, name, exynos_pmu_irq_init)
/linux-4.1.27/include/asm-generic/
Dvmlinux.lds.h176 #define IRQCHIP_OF_MATCH_TABLE() OF_TABLE(CONFIG_IRQCHIP, irqchip)
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt651 capability is present (or unless it is not using the in-kernel irqchip,
656 in-kernel irqchip (GIC), and for in-kernel irqchip can tell the GIC to
1031 in-kernel irqchip, the multiprocessing state must be maintained by userspace on
1051 in-kernel irqchip, the multiprocessing state must be maintained by userspace on
1419 struct kvm_irq_routing_irqchip irqchip;
1434 __u32 irqchip;
2116 Directly inject a MSI message. Only valid with in-kernel irqchip that handles
2139 after enabling in-kernel irqchip support via KVM_CREATE_IRQCHIP. The following
2281 kvm_irqfd.gsi specifies the irqchip pin toggled by this event. When
2292 the specified gsi in the irqchip. When the irqchip is resampled, such
[all …]
/linux-4.1.27/Documentation/
DIRQ-domain.txt145 A typical use case for simple domains is where an irqchip provider
Dpinctrl.txt867 and if they also support interrupt capabilities, through the irqchip
/linux-4.1.27/arch/x86/include/asm/
Dkvm_host.h905 void kvm_fire_mask_notifiers(struct kvm *kvm, unsigned irqchip, unsigned pin,
/linux-4.1.27/virt/kvm/arm/
Dvgic.c2150 int kvm_irq_map_chip_pin(struct kvm *kvm, unsigned irqchip, unsigned pin) in kvm_irq_map_chip_pin() argument
/linux-4.1.27/
DMAINTAINERS2207 F: drivers/irqchip/irq-bcm7*
2208 F: drivers/irqchip/irq-brcmstb*
5397 T: git git://git.infradead.org/users/jcooper/linux.git irqchip/core
5399 F: drivers/irqchip/
6443 F: drivers/irqchip/irq-metag.c
6444 F: drivers/irqchip/irq-metag-ext.c
7046 F: drivers/irqchip/irq-omap-intc.c
9817 F: drivers/irqchip/irq-xtensa-*