Home
last modified time | relevance | path

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

12345678

/arch/ia64/include/asm/
Diosapic.h68 extern struct irq_chip *ia64_native_iosapic_get_irq_chip(unsigned long trigger);
94 unsigned long trigger);
98 unsigned long trigger);
104 unsigned long trigger);
113 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument
115 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument
117 polarity,trigger) (gsi) argument
Dparavirt.h177 struct irq_chip *(*__get_irq_chip)(unsigned long trigger);
193 iosapic_get_irq_chip(unsigned long trigger) in iosapic_get_irq_chip() argument
195 return pv_iosapic_ops.__get_irq_chip(trigger); in iosapic_get_irq_chip()
/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c44 int trigger, gpio; in gpio_halt_cb() local
54 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_cb()
59 gpio_set_value(gpio, trigger); in gpio_halt_cb()
77 int trigger; in gpio_halt_probe() local
105 trigger = (flags == OF_GPIO_ACTIVE_LOW); in gpio_halt_probe()
107 gpio_direction_output(gpio, !trigger); in gpio_halt_probe()
126 " irq).\n", gpio, trigger, irq); in gpio_halt_probe()
/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/kernel/acpi/
Dboot.c312 u8 trigger, u32 gsi);
314 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
330 if ((bus_irq == 0) && (trigger == 3)) in mp_override_legacy_irq()
331 trigger = 1; in mp_override_legacy_irq()
333 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq()
345 static int mp_config_acpi_gsi(struct device *dev, u32 gsi, int trigger, in mp_config_acpi_gsi() argument
368 mp_irq.irqflag = (trigger == ACPI_EDGE_SENSITIVE ? 4 : 0x0c) | in mp_config_acpi_gsi()
381 static int mp_register_gsi(struct device *dev, u32 gsi, int trigger, in mp_register_gsi() argument
393 trigger = trigger == ACPI_EDGE_SENSITIVE ? 0 : 1; in mp_register_gsi()
396 if (mp_set_gsi_attr(gsi, trigger, polarity, node)) { in mp_register_gsi()
[all …]
/arch/x86/kernel/
Ddevicetree.c171 u32 trigger; member
179 .trigger = IOAPIC_EDGE,
184 .trigger = IOAPIC_LEVEL,
189 .trigger = IOAPIC_LEVEL,
194 .trigger = IOAPIC_EDGE,
219 if (mp_set_gsi_attr(gsi, it->trigger, it->polarity, cpu_to_node(0))) in ioapic_xlate()
Di8259.c233 static void restore_ELCR(char *trigger) in restore_ELCR() argument
235 outb(trigger[0], 0x4d0); in restore_ELCR()
236 outb(trigger[1], 0x4d1); in restore_ELCR()
239 static void save_ELCR(char *trigger) in save_ELCR() argument
242 trigger[0] = inb(0x4d0) & 0xF8; in save_ELCR()
243 trigger[1] = inb(0x4d1) & 0xDE; in save_ELCR()
/arch/arm/boot/dts/
Daks-cdu.dts100 linux,default-trigger = "none";
105 linux,default-trigger = "none";
111 linux,default-trigger = "none";
116 linux,default-trigger = "none";
Dkizbox.dts108 linux,default-trigger = "none";
114 linux,default-trigger = "none";
120 linux,default-trigger = "none";
127 linux,default-trigger = "none";
Dvexpress-v2m.dtsi321 linux,default-trigger = "heartbeat";
327 linux,default-trigger = "mmc0";
333 linux,default-trigger = "cpu0";
339 linux,default-trigger = "cpu1";
345 linux,default-trigger = "cpu2";
351 linux,default-trigger = "cpu3";
357 linux,default-trigger = "cpu4";
363 linux,default-trigger = "cpu5";
Dvexpress-v2m-rs1.dtsi322 linux,default-trigger = "heartbeat";
328 linux,default-trigger = "mmc0";
334 linux,default-trigger = "cpu0";
340 linux,default-trigger = "cpu1";
346 linux,default-trigger = "cpu2";
352 linux,default-trigger = "cpu3";
358 linux,default-trigger = "cpu4";
364 linux,default-trigger = "cpu5";
Dimx28-sps1.dts152 linux,default-trigger = "heartbeat";
159 linux,default-trigger = "heartbeat";
166 default-trigger = "heartbeat";
Domap3-devkit8000.dts27 linux,default-trigger = "heartbeat";
34 linux,default-trigger = "none";
41 linux,default-trigger = "usr";
Dexynos4412-tiny4412.dts32 linux,default-trigger = "heartbeat";
51 linux,default-trigger = "mmc0";
Dat91sam9n12ek.dts151 linux,default-trigger = "mmc0";
157 linux,default-trigger = "nand-disk";
163 linux,default-trigger = "heartbeat";
/arch/x86/include/asm/
Dhw_irq.h107 int trigger; member
113 int trigger, int polarity) in set_io_apic_irq_attr() argument
117 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);
/arch/arm/vfp/
Dvfpmodule.c332 void VFP_bounce(u32 trigger, u32 fpexc, struct pt_regs *regs) in VFP_bounce() argument
336 pr_debug("VFP: bounce: trigger %08x fpexc %08x\n", trigger, fpexc); in VFP_bounce()
373 trigger = fmrx(FPINST); in VFP_bounce()
382 vfp_raise_exceptions(VFP_EXCEPTION_ERROR, trigger, fpscr, regs); in VFP_bounce()
405 exceptions = vfp_emulate_instruction(trigger, fpscr, regs); in VFP_bounce()
407 vfp_raise_exceptions(exceptions, trigger, orig_fpscr, regs); in VFP_bounce()
421 trigger = fmrx(FPINST2); in VFP_bounce()
424 exceptions = vfp_emulate_instruction(trigger, orig_fpscr, regs); in VFP_bounce()
426 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/mach-footbridge/
Debsa285.c37 const char *trigger; member
93 led->cdev.default_trigger = ebsa285_leds[i].trigger; in ebsa285_leds_init()
/arch/arm/mach-integrator/
Dleds.c33 const char *trigger; member
107 led->cdev.default_trigger = integrator_leds[i].trigger; in integrator_leds_init()
/arch/x86/include/asm/uv/
Duv_irq.h22 trigger : 1, member
/arch/x86/pci/
Dxen.c107 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument
112 return xen_register_pirq(gsi, -1 /* no GSI override */, trigger, in acpi_register_gsi_xen_hvm()
146 int trigger, int polarity) in acpi_register_gsi_xen() argument
148 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen()
474 int trigger, polarity; in pci_xen_initial_domain() local
476 if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) in pci_xen_initial_domain()
480 trigger ? ACPI_LEVEL_SENSITIVE : ACPI_EDGE_SENSITIVE, in pci_xen_initial_domain()
/arch/x86/kernel/apic/
Dio_apic.c92 int trigger; member
613 entry1.trigger = IOAPIC_EDGE; in native_eoi_ioapic_pin()
663 if (!entry.trigger) { in clear_IO_APIC_pin()
664 entry.trigger = IOAPIC_LEVEL; in clear_IO_APIC_pin()
935 int trigger; in irq_trigger() local
944 trigger = default_ISA_trigger(idx); in irq_trigger()
946 trigger = default_PCI_trigger(idx); in irq_trigger()
956 trigger = default_EISA_trigger(idx); in irq_trigger()
967 trigger = 1; in irq_trigger()
975 trigger = 0; in irq_trigger()
[all …]
/arch/mips/include/asm/vr41xx/
Dgiu.h44 extern void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger,

12345678