/arch/ia64/include/asm/ |
D | iosapic.h | 90 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, 94 unsigned long polarity, 100 unsigned long polarity, 110 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument 112 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument 114 polarity,trigger) (gsi) argument
|
/arch/arm/mach-davinci/ |
D | cp_intc.c | 59 unsigned polarity = cp_intc_read(CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type() local 64 polarity |= mask; in cp_intc_set_irq_type() 68 polarity &= ~mask; in cp_intc_set_irq_type() 72 polarity |= mask; in cp_intc_set_irq_type() 76 polarity &= ~mask; in cp_intc_set_irq_type() 83 cp_intc_write(polarity, CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type()
|
/arch/x86/kernel/acpi/ |
D | boot.c | 349 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, 352 static void __init mp_override_legacy_irq(u8 bus_irq, u8 polarity, u8 trigger, in mp_override_legacy_irq() argument 371 if (mp_register_ioapic_irq(bus_irq, polarity, trigger, gsi) < 0) in mp_override_legacy_irq() 384 int polarity) in mp_config_acpi_gsi() argument 407 (polarity == ACPI_ACTIVE_HIGH ? 1 : 3); in mp_config_acpi_gsi() 419 static int __init mp_register_ioapic_irq(u8 bus_irq, u8 polarity, in mp_register_ioapic_irq() argument 436 mp_irq.irqflag = (trigger << 2) | polarity; in mp_register_ioapic_irq() 476 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument 481 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup() 482 polarity = 3; in acpi_sci_ioapic_setup() [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/kernel/ |
D | iosapic.c | 146 unsigned char polarity: 1; /* interrupt polarity member 234 pol = iosapic_intr_info[irq].polarity; in set_rte() 500 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq() 556 unsigned long polarity, unsigned long trigger) in register_intr() argument 588 (info->trigger != trigger || info->polarity != polarity)){ in register_intr() 599 iosapic_intr_info[irq].polarity = polarity; in register_intr() 718 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument 749 irq = iosapic_find_sharable_irq(trigger, polarity); in iosapic_register_intr() 758 err = register_intr(gsi, irq, dmode, polarity, trigger); in iosapic_register_intr() 776 (polarity == IOSAPIC_POL_HIGH ? "high" : "low"), in iosapic_register_intr() [all …]
|
/arch/x86/kernel/ |
D | devicetree.c | 174 u32 polarity; member 182 .polarity = 1, 187 .polarity = 0, 192 .polarity = 1, 197 .polarity = 0, 217 ioapic_set_alloc_attr(&tmp, NUMA_NO_NODE, it->trigger, it->polarity); in dt_irqdomain_alloc()
|
/arch/x86/pci/ |
D | xen.c | 109 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument 119 static int xen_register_gsi(u32 gsi, int gsi_override, int triggering, int polarity) in xen_register_gsi() argument 128 gsi, triggering, polarity); in xen_register_gsi() 134 setup_gsi.polarity = (polarity == ACPI_ACTIVE_HIGH ? 0 : 1); in xen_register_gsi() 148 int trigger, int polarity) in acpi_register_gsi_xen() argument 150 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen() 490 int trigger, polarity; in pci_xen_initial_domain() local 492 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 | 127 int trigger, polarity; in uic_set_irq_type() local 136 trigger = 1; polarity = 1; in uic_set_irq_type() 139 trigger = 1; polarity = 0; in uic_set_irq_type() 142 trigger = 0; polarity = 1; in uic_set_irq_type() 145 trigger = 0; polarity = 0; in uic_set_irq_type() 157 pr = (pr & mask) | (polarity << (31-src)); in uic_set_irq_type()
|
/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 | 58 int trigger, int polarity);
|
D | apicdef.h | 367 polarity : 1, member 380 polarity : 1, member
|
/arch/x86/platform/intel-mid/ |
D | sfi.c | 475 int polarity; in sfi_parse_devs() local 494 polarity = 1; in sfi_parse_devs() 498 polarity = 1; in sfi_parse_devs() 501 polarity = 1; in sfi_parse_devs() 504 polarity = 0; in sfi_parse_devs() 507 polarity = 1; in sfi_parse_devs() 510 ioapic_set_alloc_attr(&info, NUMA_NO_NODE, 1, polarity); in sfi_parse_devs()
|
/arch/powerpc/platforms/85xx/ |
D | socrates_fpga_pic.c | 196 int polarity; in socrates_fpga_pic_set_type() local 204 polarity = 1; in socrates_fpga_pic_set_type() 207 polarity = 0; in socrates_fpga_pic_set_type() 214 if (polarity) in socrates_fpga_pic_set_type()
|
/arch/x86/include/asm/uv/ |
D | uv_irq.h | 20 polarity : 1, member
|
/arch/x86/kernel/apic/ |
D | io_apic.c | 94 int polarity; member 869 int trigger, int polarity) in ioapic_set_alloc_attr() argument 875 info->ioapic_polarity = polarity; in ioapic_set_alloc_attr() 880 int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); 887 int trigger, polarity; in ioapic_copy_alloc_attr() local 900 if (acpi_get_override_irq(gsi, &trigger, &polarity) >= 0) { in ioapic_copy_alloc_attr() 902 dst->ioapic_polarity = polarity; in ioapic_copy_alloc_attr() 949 data->entry.polarity = data->polarity = info->ioapic_polarity; in mp_check_pin_attr() 953 data->polarity == info->ioapic_polarity; in mp_check_pin_attr() 1244 entry.polarity == IOAPIC_POL_LOW ? "low " : "high", in io_apic_print_entries() [all …]
|
/arch/arm/xen/ |
D | enlighten.c | 297 int interrupt, trigger, polarity; in xen_acpi_guest_init() local 311 polarity = ((a.value >> 8) & 0x2) ? ACPI_ACTIVE_LOW in xen_acpi_guest_init() 313 xen_events_irq = acpi_register_gsi(NULL, interrupt, trigger, polarity); in xen_acpi_guest_init()
|
/arch/mips/include/asm/octeon/ |
D | cvmx-led-defs.h | 145 uint64_t polarity:1; member 147 uint64_t polarity:1;
|
/arch/arm/boot/dts/ |
D | rk3228-evb.dts | 101 rockchip,hw-tshut-polarity = <1>; /* 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 | 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 | xcalibur1501.dts | 257 polarity = <0x00>; 266 polarity = <0x00>; 275 polarity = <0x00>; 284 polarity = <0x00>; 293 polarity = <0x00>;
|
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 | 247 polarity = <0x00>; 255 polarity = <0x00>; 263 polarity = <0x00>; 271 polarity = <0x00>;
|