Exemplo n.º 1
0
static void disable_mace_irq(struct irq_data *d)
{
	unsigned int bit = d->irq - CRIME_IRQ_BASE;

	crime_mask &= ~(1 << bit);
	crime->imask = crime_mask;
	flush_crime_bus();
}
Exemplo n.º 2
0
static void disable_mace_irq(unsigned int irq)
{
    unsigned int bit = irq - CRIME_IRQ_BASE;

    crime_mask &= ~(1 << bit);
    crime->imask = crime_mask;
    flush_crime_bus();
}
Exemplo n.º 3
0
static void disable_macepci_irq(unsigned int irq)
{
    crime_mask &= ~(1 << (irq - CRIME_IRQ_BASE));
    crime->imask = crime_mask;
    flush_crime_bus();
    macepci_mask &= ~MACEPCI_CONTROL_INT(irq - MACEPCI_SCSI0_IRQ);
    mace->pci.control = macepci_mask;
    flush_mace_bus();
}
Exemplo n.º 4
0
static void disable_macepci_irq(struct irq_data *d)
{
	crime_mask &= ~(1 << (d->irq - CRIME_IRQ_BASE));
	crime->imask = crime_mask;
	flush_crime_bus();
	macepci_mask &= ~MACEPCI_CONTROL_INT(d->irq - MACEPCI_SCSI0_IRQ);
	mace->pci.control = macepci_mask;
	flush_mace_bus();
}
Exemplo n.º 5
0
static void disable_mace_irq(unsigned int irq)
{
	unsigned long flags;

	spin_lock_irqsave(&ip32_irq_lock, flags);
	crime_mask &= ~(1 << (irq - 1));
	crime->imask = crime_mask;
	flush_crime_bus();
	spin_unlock_irqrestore(&ip32_irq_lock, flags);
}
Exemplo n.º 6
0
static void disable_mace_irq(unsigned int irq)
{
	unsigned long flags;

	spin_lock_irqsave(&ip32_irq_lock, flags);
	crime_mask &= ~(1 << (irq - 1));
	crime_write(crime_mask, CRIME_INT_MASK);
	flush_crime_bus();
	spin_unlock_irqrestore(&ip32_irq_lock, flags);
}
Exemplo n.º 7
0
static void disable_macepci_irq(unsigned int irq)
{
	unsigned long flags;

	spin_lock_irqsave(&ip32_irq_lock, flags);
	crime_mask &= ~(1 << (irq - 1));
	crime->imask = crime_mask;
	flush_crime_bus();
	macepci_mask &= ~MACEPCI_CONTROL_INT(irq - 9);
	mace->pci.control = macepci_mask;
	flush_mace_bus();
	spin_unlock_irqrestore(&ip32_irq_lock, flags);
}
Exemplo n.º 8
0
static void disable_maceisa_irq(unsigned int irq)
{
    unsigned int crime_int = 0;

    maceisa_mask &= ~(1 << (irq - MACEISA_AUDIO_SW_IRQ));
        if (!(maceisa_mask & MACEISA_AUDIO_INT))
        crime_int |= MACE_AUDIO_INT;
        if (!(maceisa_mask & MACEISA_MISC_INT))
        crime_int |= MACE_MISC_INT;
        if (!(maceisa_mask & MACEISA_SUPERIO_INT))
        crime_int |= MACE_SUPERIO_INT;
    crime_mask &= ~crime_int;
    crime->imask = crime_mask;
    flush_crime_bus();
    mace->perif.ctrl.imask = maceisa_mask;
    flush_mace_bus();
}
Exemplo n.º 9
0
static void disable_maceisa_irq(unsigned int irq)
{
	unsigned int crime_int = 0;
	unsigned long flags;

	spin_lock_irqsave(&ip32_irq_lock, flags);
	maceisa_mask &= ~(1 << (irq - 33));
        if(!(maceisa_mask & MACEISA_AUDIO_INT))
		crime_int |= MACE_AUDIO_INT;
        if(!(maceisa_mask & MACEISA_MISC_INT))
		crime_int |= MACE_MISC_INT;
        if(!(maceisa_mask & MACEISA_SUPERIO_INT))
		crime_int |= MACE_SUPERIO_INT;
	crime_mask &= ~crime_int;
	crime->imask = crime_mask;
	flush_crime_bus();
	mace->perif.ctrl.imask = maceisa_mask;
	flush_mace_bus();
	spin_unlock_irqrestore(&ip32_irq_lock, flags);
}
Exemplo n.º 10
0
static void disable_maceisa_irq(unsigned int irq)
{
	unsigned int crime_int = 0;
	unsigned long flags;

	spin_lock_irqsave(&ip32_irq_lock, flags);
	maceisa_mask &= ~(1 << (irq - 33));
        if(!(maceisa_mask & MACEISA_AUDIO_INT))
		crime_int |= MACE_AUDIO_INT;
        if(!(maceisa_mask & MACEISA_MISC_INT))
		crime_int |= MACE_MISC_INT;
        if(!(maceisa_mask & MACEISA_SUPERIO_INT))
		crime_int |= MACE_SUPERIO_INT;
	crime_mask &= ~crime_int;
	crime_write(crime_mask, CRIME_INT_MASK);
	flush_crime_bus();
	mace_perif_ctrl_write(maceisa_mask, imask);
	flush_mace_bus();
	spin_unlock_irqrestore(&ip32_irq_lock, flags);
}