Home
last modified time | relevance | path

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

1234

/arch/x86/kernel/acpi/
Dboot.c336 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/
Diosapic.c142 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/
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/x86/kernel/
Ddevicetree.c187 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/
Dxen.c110 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()
Dintel_mid_pci.c217 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/
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/arm/mach-at91/
Dpm.c40 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/
Dio_apic.h75 polarity : 1, member
90 polarity : 1, member
178 int node, int trigger, int polarity);
Dacpi.h42 int trigger, int polarity);
Dapicdef.h367 polarity : 1, member
380 polarity : 1, member
/arch/arm/boot/dts/
Drk3228-evb.dts63 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 */
/arch/x86/platform/intel-mid/
Dsfi.c470 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/
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/mips/include/asm/octeon/
Dcvmx-led-defs.h115 uint64_t polarity:1; member
117 uint64_t polarity:1;
/arch/x86/kernel/apic/
Dio_apic.c95 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/
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.dtsi221 rockchip,hw-tshut-polarity = <0>; /* tshut polarity 0:LOW 1:HIGH */
/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.h68 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

1234