Home
last modified time | relevance | path

Searched refs:trigger (Results 1 – 25 of 68) sorted by relevance

123

/arch/ia64/include/asm/
Diosapic.h68 extern struct irq_chip *ia64_native_iosapic_get_irq_chip(unsigned long trigger);
99 unsigned long trigger);
103 unsigned long trigger);
109 unsigned long trigger);
118 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument
120 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument
122 polarity,trigger) (gsi) argument
Dparavirt.h178 struct irq_chip *(*__get_irq_chip)(unsigned long trigger);
194 iosapic_get_irq_chip(unsigned long trigger) in iosapic_get_irq_chip() argument
196 return pv_iosapic_ops.__get_irq_chip(trigger); in iosapic_get_irq_chip()
/arch/ia64/kernel/
Diosapic.c147 unsigned char trigger : 1; /* trigger mode (see iosapic.h) */ member
219 unsigned long pol, trigger, dmode; in set_rte() local
234 trigger = iosapic_intr_info[irq].trigger; in set_rte()
244 (trigger << IOSAPIC_TRIGGER_SHIFT) | in set_rte()
485 static int iosapic_find_sharable_irq(unsigned long trigger, unsigned long pol) in iosapic_find_sharable_irq() argument
494 if (trigger == IOSAPIC_EDGE) in iosapic_find_sharable_irq()
499 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq()
545 ia64_native_iosapic_get_irq_chip(unsigned long trigger) in ia64_native_iosapic_get_irq_chip() argument
547 if (trigger == IOSAPIC_EDGE) in ia64_native_iosapic_get_irq_chip()
555 unsigned long polarity, unsigned long trigger) in register_intr() argument
[all …]
/arch/x86/include/asm/
Dhw_irq.h90 int trigger; member
96 int trigger, int polarity) in set_io_apic_irq_attr() argument
100 irq_attr->trigger = trigger; in set_io_apic_irq_attr()
Dapb_timer.h36 extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu);
Dio_apic.h85 trigger : 1, /* 0: edge, 1: level */ member
100 trigger : 1, member
Dapicdef.h310 trigger : 1, member
368 trigger : 1, member
381 trigger : 1, member
/arch/x86/pci/
Dxen.c106 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument
111 return xen_register_pirq(gsi, -1 /* no GSI override */, trigger, in acpi_register_gsi_xen_hvm()
145 int trigger, int polarity) in acpi_register_gsi_xen() argument
147 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen()
438 int trigger, polarity; in xen_setup_acpi_sci() local
446 rc = acpi_get_override_irq(gsi, &trigger, &polarity); in xen_setup_acpi_sci()
452 trigger = trigger ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE; in xen_setup_acpi_sci()
456 "polarity=%d\n", gsi, trigger, polarity); in xen_setup_acpi_sci()
475 gsi = xen_register_gsi(gsi, gsi_override, trigger, polarity); in xen_setup_acpi_sci()
494 int trigger, polarity; in pci_xen_initial_domain() local
[all …]
/arch/x86/kernel/acpi/
Dboot.c374 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
376 if (trigger == 0) /* compatible SCI trigger is level */ in acpi_sci_ioapic_setup()
377 trigger = 3; in acpi_sci_ioapic_setup()
384 trigger = (acpi_sci_flags & ACPI_MADT_TRIGGER_MASK) >> 2; in acpi_sci_ioapic_setup()
394 mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
479 void __init acpi_pic_sci_set_trigger(unsigned int irq, u16 trigger) in acpi_pic_sci_set_trigger() argument
498 switch (trigger) { in acpi_pic_sci_set_trigger()
537 int trigger, int polarity) in acpi_register_gsi_pic() argument
543 if (trigger == ACPI_LEVEL_SENSITIVE) in acpi_register_gsi_pic()
551 int trigger, int polarity) in acpi_register_gsi_ioapic() argument
[all …]
/arch/x86/kernel/
Di8259.c234 static void restore_ELCR(char *trigger) in restore_ELCR() argument
236 outb(trigger[0], 0x4d0); in restore_ELCR()
237 outb(trigger[1], 0x4d1); in restore_ELCR()
240 static void save_ELCR(char *trigger) in save_ELCR() argument
243 trigger[0] = inb(0x4d0) & 0xF8; in save_ELCR()
244 trigger[1] = inb(0x4d1) & 0xDE; in save_ELCR()
Ddevicetree.c280 u32 trigger; member
288 .trigger = IOAPIC_EDGE,
293 .trigger = IOAPIC_LEVEL,
298 .trigger = IOAPIC_LEVEL,
303 .trigger = IOAPIC_EDGE,
329 set_io_apic_irq_attr(&attr, idx, line, it->trigger, it->polarity); in ioapic_xlate()
/arch/arm/vfp/
Dvfpmodule.c336 void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs) in VFP_bounce() argument
340 pr_debug("VFP: bounce: trigger %08x fpexc %08x\n", trigger, fpexc); in VFP_bounce()
377 trigger = fmrx(FPINST); in VFP_bounce()
386 vfp_raise_exceptions(VFP_EXCEPTION_ERROR, trigger, fpscr, regs); in VFP_bounce()
409 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
411 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
425 trigger = fmrx(FPINST2); in VFP_bounce()
428 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
430 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
/arch/powerpc/sysdev/
Duic.c128 int trigger, polarity; in uic_set_irq_type() local
137 trigger = 1; polarity = 1; in uic_set_irq_type()
140 trigger = 1; polarity = 0; in uic_set_irq_type()
143 trigger = 0; polarity = 1; in uic_set_irq_type()
146 trigger = 0; polarity = 0; in uic_set_irq_type()
157 tr = (tr & mask) | (trigger << (31-src)); in uic_set_irq_type()
/arch/arm/plat-versatile/
Dleds.c36 const char *trigger; member
87 led->cdev.default_trigger = versatile_leds[i].trigger; in versatile_leds_init()
/arch/arm/boot/dts/
Dat91sam9m10g45ek.dts91 linux,default-trigger = "heartbeat";
97 linux,default-trigger = "nand-disk";
103 linux,default-trigger = "mmc0";
Dat91sam9x5cm.dtsi66 linux,default-trigger = "heartbeat";
/arch/x86/include/asm/uv/
Duv_irq.h22 trigger : 1, member
/arch/mips/include/asm/vr41xx/
Dgiu.h44 extern void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger,
/arch/arm/plat-samsung/include/plat/
Ddma-ops.h42 int (*trigger)(unsigned ch); member
/arch/x86/kernel/apic/
Dio_apic.c638 entry1.trigger = IOAPIC_EDGE; in __eoi_ioapic_pin()
687 if (!entry.trigger) { in clear_IO_APIC_pin()
688 entry.trigger = IOAPIC_LEVEL; in clear_IO_APIC_pin()
966 int trigger; in irq_trigger() local
975 trigger = default_ISA_trigger(idx); in irq_trigger()
977 trigger = default_PCI_trigger(idx); in irq_trigger()
987 trigger = default_EISA_trigger(idx); in irq_trigger()
997 trigger = default_MCA_trigger(idx); in irq_trigger()
1003 trigger = 1; in irq_trigger()
1011 trigger = 0; in irq_trigger()
[all …]
/arch/arm/kernel/
Dhw_breakpoint.c372 addr = info->trigger & ~0x3; in arch_install_hw_breakpoint()
674 info->trigger = addr; in enable_single_step()
713 info->trigger = wp->attr.bp_addr; in watchpoint_handler()
740 info->trigger = addr; in watchpoint_handler()
743 pr_debug("watchpoint fired: address = 0x%x\n", info->trigger); in watchpoint_handler()
783 if (info->trigger != pc) in watchpoint_single_step_handler()
824 info->trigger = addr; in breakpoint_handler()
/arch/powerpc/platforms/cell/
Daxon_msi.c76 u32 __iomem *trigger; member
465 out_le32(msic->trigger, val); in msic_set()
488 msic->trigger = ioremap(addr, 0x4); in axon_msi_debug_setup()
489 if (!msic->trigger) { in axon_msi_debug_setup()
/arch/arm/mach-omap1/
Dirq.c129 static void omap_irq_set_cfg(int irq, int fiq, int priority, int trigger) in omap_irq_set_cfg() argument
137 val = fiq | ((priority & 0x1f) << 2) | ((trigger & 0x1) << 1); in omap_irq_set_cfg()
/arch/s390/kernel/
Dipl.c78 void (*fn) (struct shutdown_trigger *trigger);
574 static void ipl_run(struct shutdown_trigger *trigger) in ipl_run() argument
1111 static void reipl_run(struct shutdown_trigger *trigger) in reipl_run() argument
1448 static void dump_run(struct shutdown_trigger *trigger) in dump_run() argument
1529 static void dump_reipl_run(struct shutdown_trigger *trigger) in dump_reipl_run() argument
1537 dump_run(trigger); in dump_reipl_run()
1585 static void vmcmd_run(struct shutdown_trigger *trigger) in vmcmd_run() argument
1589 if (strcmp(trigger->name, ON_REIPL_STR) == 0) in vmcmd_run()
1591 else if (strcmp(trigger->name, ON_PANIC_STR) == 0) in vmcmd_run()
1593 else if (strcmp(trigger->name, ON_HALT_STR) == 0) in vmcmd_run()
[all …]
/arch/frv/kernel/
Dirq.c152 #error dont know external IRQ trigger levels for this setup in init_IRQ()

123