Home
last modified time | relevance | path

Searched refs:polarity (Results 1 – 25 of 82) sorted by relevance

1234

/arch/x86/kernel/acpi/
Dboot.c338 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity,
341 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument
360 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq()
373 int polarity) in mp_config_acpi_gsi() argument
396 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi()
408 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument
425 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq()
465 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument
470 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
471 polarity = 3; in acpi_sci_ioapic_setup()
[all …]
/arch/ia64/kernel/
Diosapic.c143 unsigned char polarity: 1; /* interrupt polarity member
231 pol = iosapic_intr_info[irq].polarity; in set_rte()
497 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq()
553 unsigned long polarity, unsigned long trigger) in register_intr() argument
585 (info->trigger != trigger || info->polarity != polarity)){ in register_intr()
596 iosapic_intr_info[irq].polarity = polarity; in register_intr()
713 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument
744 irq = iosapic_find_sharable_irq(trigger, polarity); in iosapic_register_intr()
753 err = register_intr(gsi, irq, dmode, polarity, trigger); in iosapic_register_intr()
771 (polarity == IOSAPIC_POL_HIGH ? "high" : "low"), in iosapic_register_intr()
[all …]
/arch/mips/include/asm/mach-au1x00/
Dau1550_spi.h12 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
13 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
/arch/ia64/include/asm/
Diosapic.h88 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity,
92 unsigned long polarity,
98 unsigned long polarity,
/arch/powerpc/platforms/4xx/
Duic.c123 int trigger, polarity; in uic_set_irq_type() local
132 trigger = 1; polarity = 1; in uic_set_irq_type()
135 trigger = 1; polarity = 0; in uic_set_irq_type()
138 trigger = 0; polarity = 1; in uic_set_irq_type()
141 trigger = 0; polarity = 0; in uic_set_irq_type()
153 pr = (pr & mask) | (polarity << (31-src)); in uic_set_irq_type()
/arch/x86/pci/
Dxen.c107 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument
117 static int xen_register_gsi(u32 gsi, int triggering, int polarity) in xen_register_gsi() argument
126 gsi, triggering, polarity); in xen_register_gsi()
132 setup_gsi.polarity = (polarity == ACPI_ACTIVE_HIGH ? 0 : 1); in xen_register_gsi()
146 int trigger, int polarity) in acpi_register_gsi_xen() argument
148 return xen_register_gsi(gsi, trigger, polarity); in acpi_register_gsi_xen()
575 int trigger, polarity; in pci_xen_initial_domain() local
577 if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) in pci_xen_initial_domain()
/arch/arm/boot/dts/
Drk3228-evb.dts67 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
Drk3288-rock2-som.dtsi251 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
Drk3288-evb.dtsi301 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
/arch/powerpc/platforms/85xx/
Dsocrates_fpga_pic.c191 int polarity; in socrates_fpga_pic_set_type() local
199 polarity = 1; in socrates_fpga_pic_set_type()
202 polarity = 0; in socrates_fpga_pic_set_type()
209 if (polarity) in socrates_fpga_pic_set_type()
/arch/x86/include/asm/uv/
Duv_irq.h20 polarity : 1, member
/arch/arm/mach-at91/
Dpm.c74 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
75 int (*config_pmc_ws)(void __iomem *pmc, u32 mode, u32 polarity);
187 unsigned int mode = 0, polarity = 0, val = 0; in at91_pm_config_ws() local
201 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
221 polarity |= wsi->pmc_fsmr_bit; in at91_pm_config_ws()
230 soc_pm.config_pmc_ws(soc_pm.data.pmc, mode, polarity); in at91_pm_config_ws()
239 u32 *polarity) in at91_sama5d2_config_shdwc_ws() argument
246 *polarity |= ((val >> 16) & 0x3ff); in at91_sama5d2_config_shdwc_ws()
251 static int at91_sama5d2_config_pmc_ws(void __iomem *pmc, u32 mode, u32 polarity) in at91_sama5d2_config_pmc_ws() argument
254 writel(polarity, pmc + AT91_PMC_FSPR); in at91_sama5d2_config_pmc_ws()
[all …]
/arch/mips/include/asm/octeon/
Dcvmx-led-defs.h115 uint64_t polarity:1; member
117 uint64_t polarity:1;
/arch/arm/xen/
Denlighten.c283 int interrupt, trigger, polarity; in xen_acpi_guest_init() local
297 polarity = ((a.value >> 8) & 0x2) ? ACPI_ACTIVE_LOW in xen_acpi_guest_init()
299 xen_events_irq = acpi_register_gsi(NULL, interrupt, trigger, polarity); in xen_acpi_guest_init()
/arch/arm64/boot/dts/rockchip/
Drk3368-evb.dtsi225 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
/arch/x86/include/asm/
Dacpi.h41 int trigger, int polarity);
Dapicdef.h367 polarity : 1, member
380 polarity : 1, member
Dio_apic.h156 int node, int trigger, int polarity);
/arch/arm/plat-orion/
Dgpio.c427 u32 polarity; in gpio_irq_handler() local
429 polarity = readl(GPIO_IN_POL(ochip)); in gpio_irq_handler()
430 polarity ^= 1 << i; in gpio_irq_handler()
431 writel(polarity, GPIO_IN_POL(ochip)); in gpio_irq_handler()
/arch/x86/kvm/
Dioapic.h64 u8 polarity:1; member
/arch/powerpc/boot/dts/
Dxcalibur1501.dts254 polarity = <0x00>;
263 polarity = <0x00>;
272 polarity = <0x00>;
281 polarity = <0x00>;
290 polarity = <0x00>;
Dcurrituck.dts147 /* Legacy interrupts (note the weird polarity, the bridge seems
184 /* Legacy interrupts (note the weird polarity, the bridge seems
221 /* Legacy interrupts (note the weird polarity, the bridge seems
Dakebono.dts275 /* Legacy interrupts (note the weird polarity, the bridge seems
315 /* Legacy interrupts (note the weird polarity, the bridge seems
355 /* Legacy interrupts (note the weird polarity, the bridge seems
395 /* Legacy interrupts (note the weird polarity, the bridge seems
Dxpedite5370.dts244 polarity = <0x00>;
252 polarity = <0x00>;
260 polarity = <0x00>;
268 polarity = <0x00>;
Dxpedite5301.dts246 polarity = <0x00>;
254 polarity = <0x00>;
262 polarity = <0x00>;
270 polarity = <0x00>;

1234