/arch/x86/kernel/acpi/ |
D | boot.c | 336 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, 339 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument 358 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq() 371 int polarity) in mp_config_acpi_gsi() argument 394 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi() 406 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument 423 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq() 463 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument 468 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup() 469 polarity = 3; in acpi_sci_ioapic_setup() [all …]
|
/arch/ia64/kernel/ |
D | iosapic.c | 142 unsigned char polarity: 1; /* interrupt polarity member 230 pol = iosapic_intr_info[irq].polarity; in set_rte() 496 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq() 552 unsigned long polarity, unsigned long trigger) in register_intr() argument 584 (info->trigger != trigger || info->polarity != polarity)){ in register_intr() 595 iosapic_intr_info[irq].polarity = polarity; in register_intr() 712 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument 743 irq = iosapic_find_sharable_irq(trigger, polarity); in iosapic_register_intr() 752 err = register_intr(gsi, irq, dmode, polarity, trigger); in iosapic_register_intr() 770 (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/x86/kernel/ |
D | devicetree.c | 187 u32 polarity; member 195 .polarity = 1, 200 .polarity = 0, 205 .polarity = 1, 210 .polarity = 0, 230 ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->trigger, it->polarity); in dt_irqdomain_alloc()
|
/arch/x86/pci/ |
D | xen.c | 110 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument 120 static int xen_register_gsi(u32 gsi, int gsi_override, int triggering, int polarity) in xen_register_gsi() argument 129 gsi, triggering, polarity); in xen_register_gsi() 135 setup_gsi.polarity = (polarity == ACPI_ACTIVE_HIGH ? 0 : 1); in xen_register_gsi() 149 int trigger, int polarity) in acpi_register_gsi_xen() argument 151 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen() 489 int trigger, polarity; in pci_xen_initial_domain() local 491 if (acpi_get_override_irq(irq, &trigger, &polarity) == -1) in pci_xen_initial_domain()
|
D | intel_mid_pci.c | 217 int polarity; in intel_mid_pci_irq_enable() local 232 polarity = IOAPIC_POL_HIGH; in intel_mid_pci_irq_enable() 254 polarity = IOAPIC_POL_LOW; in intel_mid_pci_irq_enable() 258 ioapic_set_alloc_attr(&info, dev_to_node(&dev->dev), 1, polarity); in intel_mid_pci_irq_enable()
|
/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/arm/mach-at91/ |
D | pm.c | 40 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity); 41 int (*config_pmc_ws)(void __iomem *pmc, u32 mode, u32 polarity); 133 unsigned int mode = 0, polarity = 0, val = 0; in at91_pm_config_ws() local 147 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws() 167 polarity |= wsi->pmc_fsmr_bit; in at91_pm_config_ws() 176 soc_pm.config_pmc_ws(soc_pm.data.pmc, mode, polarity); in at91_pm_config_ws() 185 u32 *polarity) in at91_sama5d2_config_shdwc_ws() argument 192 *polarity |= ((val >> 16) & 0x3ff); in at91_sama5d2_config_shdwc_ws() 197 static int at91_sama5d2_config_pmc_ws(void __iomem *pmc, u32 mode, u32 polarity) in at91_sama5d2_config_pmc_ws() argument 200 writel(polarity, pmc + AT91_PMC_FSPR); in at91_sama5d2_config_pmc_ws() [all …]
|
/arch/x86/include/asm/ |
D | io_apic.h | 75 polarity : 1, member 90 polarity : 1, member 178 int node, int trigger, int polarity);
|
D | acpi.h | 42 int trigger, int polarity);
|
D | apicdef.h | 367 polarity : 1, member 380 polarity : 1, member
|
/arch/arm/boot/dts/ |
D | rk3228-evb.dts | 63 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 */
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 470 int polarity; in sfi_parse_devs() local 489 polarity = 1; in sfi_parse_devs() 493 polarity = 1; in sfi_parse_devs() 496 polarity = 1; in sfi_parse_devs() 499 polarity = 0; in sfi_parse_devs() 502 polarity = 1; in sfi_parse_devs() 505 ioapic_set_alloc_attr(&info, NUMA_NO_NODE, 1, polarity); in sfi_parse_devs()
|
/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/mips/include/asm/octeon/ |
D | cvmx-led-defs.h | 115 uint64_t polarity:1; member 117 uint64_t polarity:1;
|
/arch/x86/kernel/apic/ |
D | io_apic.c | 95 int polarity; member 872 int trigger, int polarity) in ioapic_set_alloc_attr() argument 878 info->ioapic_polarity = polarity; in ioapic_set_alloc_attr() 883 int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); 890 int trigger, polarity; in ioapic_copy_alloc_attr() local 903 if (acpi_get_override_irq(gsi, &trigger, &polarity) >= 0) { in ioapic_copy_alloc_attr() 905 dst->ioapic_polarity = polarity; in ioapic_copy_alloc_attr() 952 data->entry.polarity = data->polarity = info->ioapic_polarity; in mp_check_pin_attr() 956 data->polarity == info->ioapic_polarity; in mp_check_pin_attr() 1248 entry.polarity == IOAPIC_POL_LOW ? "low " : "high", in io_apic_print_entries() [all …]
|
/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 | 221 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
|
/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 | 68 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
|