Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/arch/ppc/kernel/
Dppc4xx_dma.c597 unsigned int polarity; in ppc4xx_init_dma_channel() local
615 polarity = mfdcr(DCRN_POL); in ppc4xx_init_dma_channel()
617 polarity = 0; in ppc4xx_init_dma_channel()
629 polarity &= ~GET_DMA_POLARITY(0); in ppc4xx_init_dma_channel()
630 polarity |= p_dma_ch->polarity; in ppc4xx_init_dma_channel()
632 mtdcr(DCRN_POL, polarity); in ppc4xx_init_dma_channel()
637 polarity &= ~GET_DMA_POLARITY(1); in ppc4xx_init_dma_channel()
638 polarity |= p_dma_ch->polarity; in ppc4xx_init_dma_channel()
640 mtdcr(DCRN_POL, polarity); in ppc4xx_init_dma_channel()
645 polarity &= ~GET_DMA_POLARITY(2); in ppc4xx_init_dma_channel()
[all …]
/linux-2.4.37.9/include/linux/
Deeprom.h27 unsigned polarity; member
47 …rom *ee, long memaddr, int eesel_bit, int eeclk_bit, int eedo_bit, int eedi_bit, unsigned polarity) in setup_ee_mem_bitbanger() argument
55 ee->polarity = polarity; in setup_ee_mem_bitbanger()
81 int pol = !!(ee->polarity & EEPOL_EECLK); in eeprom_clk_lo()
89 int pol = !!(ee->polarity & EEPOL_EECLK); in eeprom_clk_hi()
97 int pol = !!(ee->polarity & EEPOL_EEDI); in eeprom_send_addr()
117 eeprom_update(ee, ee->eesel, 1 ^ !!(ee->polarity & EEPOL_EESEL)); in eeprom_readw()
126 res |= !!(data & ee->eedo) ^ !!(ee->polarity & EEPOL_EEDO); in eeprom_readw()
129 eeprom_update(ee, ee->eesel, 0 ^ !!(ee->polarity & EEPOL_EESEL)); in eeprom_readw()
Dacpi.h127 u16 polarity:2; member
/linux-2.4.37.9/arch/ia64/kernel/
Diosapic.c112 unsigned char polarity: 1; /* interrupt polarity (see iosapic.h) */ member
174 pol = iosapic_intr_info[vector].polarity; in set_rte()
424 || iosapic_intr_info[vector].polarity || iosapic_intr_info[vector].trigger) in iosapic_reassign_vector()
437 unsigned long polarity, unsigned long trigger) in register_intr() argument
457 iosapic_intr_info[vector].polarity = polarity; in register_intr()
484 unsigned long polarity, unsigned long trigger) in iosapic_register_intr() argument
494 polarity, trigger); in iosapic_register_intr()
497 gsi, (polarity == IOSAPIC_POL_HIGH ? "high" : "low"), in iosapic_register_intr()
512 unsigned long polarity, unsigned long trigger) in iosapic_register_platform_intr() argument
542 register_intr(gsi, vector, delivery, polarity, trigger); in iosapic_register_platform_intr()
[all …]
Dacpi.c362 (plintsrc->flags.polarity == 1) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW, in acpi_parse_plat_int_src()
386 (p->flags.polarity == 1) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW, in acpi_parse_int_src_ovr()
822 acpi_register_irq (u32 gsi, u32 polarity, u32 trigger) in acpi_register_irq() argument
834 (polarity == ACPI_ACTIVE_HIGH) ? IOSAPIC_POL_HIGH : IOSAPIC_POL_LOW, in acpi_register_irq()
/linux-2.4.37.9/arch/x86_64/kernel/
Dacpi.c269 acpi_sci_ioapic_setup(u32 gsi, u16 polarity, u16 trigger) in acpi_sci_ioapic_setup() argument
274 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
275 polarity = 3; in acpi_sci_ioapic_setup()
281 if (acpi_sci_flags.polarity) in acpi_sci_ioapic_setup()
282 polarity = acpi_sci_flags.polarity; in acpi_sci_ioapic_setup()
289 mp_override_legacy_irq(gsi, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
333 intsrc->flags.polarity, intsrc->flags.trigger); in acpi_parse_int_src_ovr()
345 intsrc->flags.polarity, in acpi_parse_int_src_ovr()
Dio_apic.c436 int polarity; in MPBIOS_polarity() local
449 polarity = default_ISA_polarity(idx); in MPBIOS_polarity()
454 polarity = default_EISA_polarity(idx); in MPBIOS_polarity()
459 polarity = default_PCI_polarity(idx); in MPBIOS_polarity()
464 polarity = default_MCA_polarity(idx); in MPBIOS_polarity()
470 polarity = 1; in MPBIOS_polarity()
478 polarity = 0; in MPBIOS_polarity()
484 polarity = 1; in MPBIOS_polarity()
489 polarity = 1; in MPBIOS_polarity()
495 polarity = 1; in MPBIOS_polarity()
[all …]
Dacpitable.h109 u16 polarity:2; member
De820.c579 acpi_sci_flags.polarity = 1; in parse_mem_cmdline()
581 acpi_sci_flags.polarity = 3; in parse_mem_cmdline()
Dmpparse.c791 u8 polarity, in mp_override_legacy_irq() argument
817 intsrc.mpc_irqflag = (trigger << 2) | polarity; in mp_override_legacy_irq()
/linux-2.4.37.9/arch/i386/kernel/
Dacpi.c256 acpi_sci_ioapic_setup(u32 gsi, u16 polarity, u16 trigger) in acpi_sci_ioapic_setup() argument
261 if (polarity == 0) /* compatible SCI polarity is low */ in acpi_sci_ioapic_setup()
262 polarity = 3; in acpi_sci_ioapic_setup()
268 if (acpi_sci_flags.polarity) in acpi_sci_ioapic_setup()
269 polarity = acpi_sci_flags.polarity; in acpi_sci_ioapic_setup()
276 mp_override_legacy_irq(gsi, polarity, trigger, gsi); in acpi_sci_ioapic_setup()
320 intsrc->flags.polarity, intsrc->flags.trigger); in acpi_parse_int_src_ovr()
332 intsrc->flags.polarity, in acpi_parse_int_src_ovr()
Dio_apic.c381 int polarity; in MPBIOS_polarity() local
394 polarity = default_ISA_polarity(idx); in MPBIOS_polarity()
399 polarity = default_EISA_polarity(idx); in MPBIOS_polarity()
404 polarity = default_PCI_polarity(idx); in MPBIOS_polarity()
409 polarity = default_MCA_polarity(idx); in MPBIOS_polarity()
415 polarity = 1; in MPBIOS_polarity()
423 polarity = 0; in MPBIOS_polarity()
429 polarity = 1; in MPBIOS_polarity()
434 polarity = 1; in MPBIOS_polarity()
440 polarity = 1; in MPBIOS_polarity()
[all …]
/linux-2.4.37.9/include/asm-ia64/
Diosapic.h58 extern int iosapic_register_intr (unsigned int gsi, unsigned long polarity,
61 unsigned long polarity,
67 unsigned long polarity,
/linux-2.4.37.9/drivers/acpi/
Dtables.c145 mps_inti_flags_polarity[p->flags.polarity], in acpi_table_print_madt_entry()
159 mps_inti_flags_polarity[p->flags.polarity], in acpi_table_print_madt_entry()
170 mps_inti_flags_polarity[p->flags.polarity], in acpi_table_print_madt_entry()
207 mps_inti_flags_polarity[p->flags.polarity], in acpi_table_print_madt_entry()
/linux-2.4.37.9/include/asm-i386/
Dapicdef.h317 polarity : 1, member
330 polarity : 1, member
Dio_apic.h77 polarity : 1, member
Dmpspec.h228 extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 global_irq);
/linux-2.4.37.9/include/asm-x86_64/
Dapicdef.h301 polarity : 1, member
314 polarity : 1, member
Dio_apic.h69 polarity : 1, member
Dmpspec.h197 extern void mp_override_legacy_irq (u8 bus_irq, u8 polarity, u8 trigger, u32 global_irq);
/linux-2.4.37.9/include/acpi/
Dactbl.h188 u16 polarity : 2; /* Polarity of APIC I/O input signals */\
/linux-2.4.37.9/arch/ppc64/kernel/
Dopen_pic_defs.h311 static void openpic_initirq(u_int irq, u_int pri, u_int vector, int polarity,
/linux-2.4.37.9/drivers/sound/
Dad1848_mixer.h61 unsigned int polarity:1; /* volume polarity: 0=normal, 1=reversed */ member
Dmaestro3.c2470 u16 gpo, polarity_port, polarity; in m3_amp_enable() local
2492 polarity = polarity_port >> 12; in m3_amp_enable()
2494 polarity = !polarity; in m3_amp_enable()
2495 polarity = polarity << gpo; in m3_amp_enable()
2503 outw( (GPO_SECONDARY_AC97 | GPO_PRIMARY_AC97 | polarity) , in m3_amp_enable()
/linux-2.4.37.9/drivers/net/e1000/
De1000_hw.c46 static int32_t e1000_check_polarity(struct e1000_hw *hw, e1000_rev_polarity *polarity);
4168 e1000_rev_polarity polarity; in e1000_phy_igp_get_info() local
4183 ret_val = e1000_check_polarity(hw, &polarity); in e1000_phy_igp_get_info()
4187 phy_info->cable_polarity = polarity; in e1000_phy_igp_get_info()
4245 e1000_rev_polarity polarity; in e1000_phy_ife_get_info() local
4261 ret_val = e1000_check_polarity(hw, &polarity); in e1000_phy_ife_get_info()
4266 polarity = ((phy_data & IFE_PSC_FORCE_POLARITY) >> in e1000_phy_ife_get_info()
4270 phy_info->cable_polarity = polarity; in e1000_phy_ife_get_info()
4295 e1000_rev_polarity polarity; in e1000_phy_m88_get_info() local
4318 ret_val = e1000_check_polarity(hw, &polarity); in e1000_phy_m88_get_info()
[all …]

12