/arch/x86/kernel/acpi/ |
D | boot.c | 338 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/ |
D | iosapic.c | 143 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/ |
D | au1550_spi.h | 12 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/ |
D | iosapic.h | 88 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, 92 unsigned long polarity, 98 unsigned long polarity,
|
/arch/powerpc/platforms/4xx/ |
D | uic.c | 123 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/ |
D | xen.c | 107 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/ |
D | rk3228-evb.dts | 67 rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
|
D | rk3288-rock2-som.dtsi | 251 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
D | rk3288-evb.dtsi | 301 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
/arch/powerpc/platforms/85xx/ |
D | socrates_fpga_pic.c | 191 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/ |
D | uv_irq.h | 20 polarity : 1, member
|
/arch/arm/mach-at91/ |
D | pm.c | 74 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/ |
D | cvmx-led-defs.h | 115 uint64_t polarity:1; member 117 uint64_t polarity:1;
|
/arch/arm/xen/ |
D | enlighten.c | 283 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/ |
D | rk3368-evb.dtsi | 225 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
/arch/x86/include/asm/ |
D | acpi.h | 41 int trigger, int polarity);
|
D | apicdef.h | 367 polarity : 1, member 380 polarity : 1, member
|
D | io_apic.h | 156 int node, int trigger, int polarity);
|
/arch/arm/plat-orion/ |
D | gpio.c | 427 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/ |
D | ioapic.h | 64 u8 polarity:1; member
|
/arch/powerpc/boot/dts/ |
D | xcalibur1501.dts | 254 polarity = <0x00>; 263 polarity = <0x00>; 272 polarity = <0x00>; 281 polarity = <0x00>; 290 polarity = <0x00>;
|
D | currituck.dts | 147 /* 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
|
D | akebono.dts | 275 /* 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
|
D | xpedite5370.dts | 244 polarity = <0x00>; 252 polarity = <0x00>; 260 polarity = <0x00>; 268 polarity = <0x00>;
|
D | xpedite5301.dts | 246 polarity = <0x00>; 254 polarity = <0x00>; 262 polarity = <0x00>; 270 polarity = <0x00>;
|