/linux-3.4.99/drivers/net/wireless/ath/ath5k/ |
D | rfkill.c | 42 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_disable() 44 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, !ah->rf_kill.polarity); in ath5k_rfkill_disable() 51 ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable() 53 ath5k_hw_set_gpio(ah, ah->rf_kill.gpio, ah->rf_kill.polarity); in ath5k_rfkill_enable() 72 ah->rf_kill.polarity; in ath5k_is_rfkill_set() 91 ah->rf_kill.polarity = ah->ah_capabilities.cap_eeprom.ee_rfkill_pol; in ath5k_rfkill_hw_start()
|
/linux-3.4.99/arch/ia64/include/asm/ |
D | iosapic.h | 98 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity, 102 unsigned long polarity, 108 unsigned long polarity, 118 #define iosapic_register_intr(gsi,polarity,trigger) (gsi) argument 120 #define iosapic_override_isa_irq(isa_irq,gsi,polarity,trigger) do { } while (0) argument 122 polarity,trigger) (gsi) argument
|
/linux-3.4.99/arch/x86/pci/ |
D | xen.c | 106 int trigger, int polarity) in acpi_register_gsi_xen_hvm() argument 116 static int xen_register_gsi(u32 gsi, int gsi_override, int triggering, int polarity) in xen_register_gsi() argument 125 gsi, triggering, polarity); in xen_register_gsi() 131 setup_gsi.polarity = (polarity == ACPI_ACTIVE_HIGH ? 0 : 1); in xen_register_gsi() 145 int trigger, int polarity) in acpi_register_gsi_xen() argument 147 return xen_register_gsi(gsi, -1 /* no GSI override */, trigger, polarity); in acpi_register_gsi_xen() 438 int trigger, polarity; in xen_setup_acpi_sci() local 446 rc = acpi_get_override_irq(gsi, &trigger, &polarity); in xen_setup_acpi_sci() 453 polarity = polarity ? ACPI_ACTIVE_LOW : ACPI_ACTIVE_HIGH; in xen_setup_acpi_sci() 456 "polarity=%d\n", gsi, trigger, polarity); in xen_setup_acpi_sci() [all …]
|
/linux-3.4.99/arch/arm/mach-davinci/ |
D | cp_intc.c | 53 unsigned polarity = cp_intc_read(CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type() local 58 polarity |= mask; in cp_intc_set_irq_type() 62 polarity &= ~mask; in cp_intc_set_irq_type() 66 polarity |= mask; in cp_intc_set_irq_type() 70 polarity &= ~mask; in cp_intc_set_irq_type() 77 cp_intc_write(polarity, CP_INTC_SYS_POLARITY(reg)); in cp_intc_set_irq_type()
|
/linux-3.4.99/drivers/input/mouse/ |
D | gpio_mouse.c | 31 gpio_get_value(gpio->bleft) ^ gpio->polarity); in gpio_mouse_scan() 34 gpio_get_value(gpio->bmiddle) ^ gpio->polarity); in gpio_mouse_scan() 37 gpio_get_value(gpio->bright) ^ gpio->polarity); in gpio_mouse_scan() 39 x = (gpio_get_value(gpio->right) ^ gpio->polarity) in gpio_mouse_scan() 40 - (gpio_get_value(gpio->left) ^ gpio->polarity); in gpio_mouse_scan() 41 y = (gpio_get_value(gpio->down) ^ gpio->polarity) in gpio_mouse_scan() 42 - (gpio_get_value(gpio->up) ^ gpio->polarity); in gpio_mouse_scan()
|
/linux-3.4.99/arch/ia64/kernel/ |
D | iosapic.c | 145 unsigned char polarity: 1; /* interrupt polarity member 233 pol = iosapic_intr_info[irq].polarity; in set_rte() 499 if (info->trigger == trigger && info->polarity == pol && in iosapic_find_sharable_irq() 555 unsigned long polarity, unsigned long trigger) in register_intr() argument 587 (info->trigger != trigger || info->polarity != polarity)){ in register_intr() 598 iosapic_intr_info[irq].polarity = polarity; in register_intr() 717 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument 748 irq = iosapic_find_sharable_irq(trigger, polarity); in iosapic_register_intr() 757 err = register_intr(gsi, irq, dmode, polarity, trigger); in iosapic_register_intr() 775 (polarity == IOSAPIC_POL_HIGH ? "high" : "low"), in iosapic_register_intr() [all …]
|
/linux-3.4.99/drivers/pnp/pnpacpi/ |
D | rsparser.c | 40 static int irq_flags(int triggering, int polarity, int shareable) in irq_flags() argument 45 if (polarity == ACPI_ACTIVE_LOW) in irq_flags() 50 if (polarity == ACPI_ACTIVE_LOW) in irq_flags() 63 int *polarity, int *shareable) in decode_irq_flags() argument 69 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags() 73 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 77 *polarity = ACPI_ACTIVE_LOW; in decode_irq_flags() 81 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 87 *polarity = ACPI_ACTIVE_HIGH; in decode_irq_flags() 99 int polarity, int shareable) in pnpacpi_parse_allocated_irqresource() argument [all …]
|
/linux-3.4.99/arch/x86/include/asm/ |
D | hw_irq.h | 91 int polarity; member 96 int trigger, int polarity) in set_io_apic_irq_attr() argument 101 irq_attr->polarity = polarity; in set_io_apic_irq_attr()
|
D | io_apic.h | 83 polarity : 1, member 98 polarity : 1, member
|
/linux-3.4.99/drivers/acpi/ |
D | pci_link.c | 82 u8 polarity; /* All IRQs */ member 138 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible() 164 link->irq.polarity = p->polarity; in acpi_pci_link_check_possible() 325 resource->res.data.irq.polarity = in acpi_pci_link_set() 326 link->irq.polarity; in acpi_pci_link_set() 343 resource->res.data.extended_irq.polarity = in acpi_pci_link_set() 344 link->irq.polarity; in acpi_pci_link_set() 590 int *polarity, char **name) in acpi_pci_link_allocate_irq() argument 630 if (polarity) in acpi_pci_link_allocate_irq() 631 *polarity = link->irq.polarity; in acpi_pci_link_allocate_irq()
|
D | pci_irq.c | 421 int polarity = ACPI_ACTIVE_LOW; in acpi_pci_irq_enable() local 449 &triggering, &polarity, in acpi_pci_irq_enable() 477 rc = acpi_register_gsi(&dev->dev, gsi, triggering, polarity); in acpi_pci_irq_enable() 493 (polarity == ACPI_ACTIVE_LOW) ? "low" : "high", dev->irq); in acpi_pci_irq_enable()
|
D | tables.c | 133 u16 polarity, trigger; in acpi_table_print_madt_entry() local 137 polarity = p->inti_flags & ACPI_MADT_POLARITY_MASK; in acpi_table_print_madt_entry() 143 mps_inti_flags_polarity[polarity], in acpi_table_print_madt_entry()
|
/linux-3.4.99/arch/x86/kernel/acpi/ |
D | boot.c | 374 static void __init acpi_sci_ioapic_setup(u8 bus_irq, u16 polarity, u16 trigger, u32 gsi) in acpi_sci_ioapic_setup() argument 379 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup() 380 polarity = 3; in acpi_sci_ioapic_setup() 387 polarity = acpi_sci_flags & ACPI_MADT_POLARITY_MASK; in acpi_sci_ioapic_setup() 394 mp_override_legacy_irq(bus_irq, polarity, trigger, gsi); in acpi_sci_ioapic_setup() 537 int trigger, int polarity) in acpi_register_gsi_pic() argument 551 int trigger, int polarity) in acpi_register_gsi_ioapic() argument 554 gsi = mp_register_gsi(dev, gsi, trigger, polarity); in acpi_register_gsi_ioapic() 561 int trigger, int polarity) = acpi_register_gsi_pic; 567 int acpi_register_gsi(struct device *dev, u32 gsi, int trigger, int polarity) in acpi_register_gsi() argument [all …]
|
/linux-3.4.99/arch/x86/kernel/ |
D | devicetree.c | 281 u32 polarity; member 289 .polarity = 1, 294 .polarity = 0, 299 .polarity = 1, 304 .polarity = 0, 329 set_io_apic_irq_attr(&attr, idx, line, it->trigger, it->polarity); in ioapic_xlate()
|
/linux-3.4.99/arch/mips/include/asm/mach-au1x00/ |
D | au1550_spi.h | 11 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); 12 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
|
/linux-3.4.99/Documentation/hwmon/ |
D | ds1621 | 25 * polarity int 26 Output's polarity: 0 = active high, 1 = active low 35 Fahrenheit range of -67 to +257 degrees with 0.9 steps. If polarity 38 As for the thermostat, behavior can also be programmed using the polarity 44 is somewhat misleading in this point since setting the polarity bit does
|
/linux-3.4.99/arch/powerpc/sysdev/ |
D | uic.c | 128 int trigger, polarity; in uic_set_irq_type() local 137 trigger = 1; polarity = 1; in uic_set_irq_type() 140 trigger = 1; polarity = 0; in uic_set_irq_type() 143 trigger = 0; polarity = 1; in uic_set_irq_type() 146 trigger = 0; polarity = 0; in uic_set_irq_type() 158 pr = (pr & mask) | (polarity << (31-src)); in uic_set_irq_type()
|
/linux-3.4.99/drivers/acpi/acpica/ |
D | rsirq.c | 89 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity), 123 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.irq.polarity), 166 ACPI_RS_OFFSET(data.irq.polarity), 203 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.extended_irq.polarity),
|
/linux-3.4.99/arch/arm/mach-msm/ |
D | irq-vic.c | 302 uint32_t polarity; in msm_irq_set_type() local 305 polarity = msm_irq_shadow_reg[index].int_polarity; in msm_irq_set_type() 307 polarity |= b; in msm_irq_set_type() 309 polarity &= ~b; in msm_irq_set_type() 310 writel(polarity, preg); in msm_irq_set_type() 311 msm_irq_shadow_reg[index].int_polarity = polarity; in msm_irq_set_type()
|
/linux-3.4.99/drivers/hwmon/ |
D | ds1621.c | 41 static int polarity = -1; variable 42 module_param(polarity, int, 0); 43 MODULE_PARM_DESC(polarity, "Output's polarity: 0 = active high, 1 = active low"); 92 if (polarity == 0) in ds1621_init_client() 94 else if (polarity == 1) in ds1621_init_client()
|
/linux-3.4.99/include/trace/events/ |
D | rcu.h | 257 TP_PROTO(char *polarity, long long oldnesting, long long newnesting), 259 TP_ARGS(polarity, oldnesting, newnesting), 262 __field(char *, polarity) 268 __entry->polarity = polarity; 273 TP_printk("%s %llx %llx", __entry->polarity, 552 #define trace_rcu_dyntick(polarity, oldnesting, newnesting) do { } while (0) argument
|
/linux-3.4.99/arch/powerpc/platforms/85xx/ |
D | socrates_fpga_pic.c | 193 int polarity; in socrates_fpga_pic_set_type() local 201 polarity = 1; in socrates_fpga_pic_set_type() 204 polarity = 0; in socrates_fpga_pic_set_type() 211 if (polarity) in socrates_fpga_pic_set_type()
|
/linux-3.4.99/drivers/net/ethernet/icplus/ |
D | ipg.c | 249 u8 polarity, data; in mdio_read() local 251 polarity = ipg_r8(PHY_CTRL); in mdio_read() 252 polarity &= (IPG_PC_DUPLEX_POLARITY | IPG_PC_LINK_POLARITY); in mdio_read() 276 data |= polarity | IPG_PC_MGMTDIR; in mdio_read() 282 send_three_state(ioaddr, polarity); in mdio_read() 284 read_phy_bit(ioaddr, polarity); in mdio_read() 292 (read_phy_bit(ioaddr, polarity) << (p[6].len - 1 - i)); in mdio_read() 295 send_three_state(ioaddr, polarity); in mdio_read() 296 send_three_state(ioaddr, polarity); in mdio_read() 297 send_three_state(ioaddr, polarity); in mdio_read() [all …]
|
/linux-3.4.99/include/linux/ |
D | acpi.h | 117 int acpi_register_gsi (struct device *dev, u32 gsi, int triggering, int polarity); 122 extern int acpi_get_override_irq(u32 gsi, int *trigger, int *polarity); 124 #define acpi_get_override_irq(gsi, trigger, polarity) (-1) argument
|
/linux-3.4.99/arch/mips/kernel/ |
D | irq-gic.c | 164 unsigned int pin, unsigned int polarity, unsigned int trigtype, in gic_setup_intr() argument 184 GIC_SET_POLARITY(intr, polarity); in gic_setup_intr() 224 intrmap[i].polarity, in gic_basic_init()
|