Interrupt Functions

disable_spi_interrupts

uint32_t disable_spi_interrupts(qca); 
struct qcaspi * qca;
 

Disables interrupts by writing 0 to the QCA7000 INTR_ENABLE register.

enable_spi_interrupts

uint32_t enable_spi_interrupts(qca,  
 intr_enable); 
struct qcaspi * qca;
uint32_t intr_enable;
 

Enables interrupts specified by writing to the QCA7000 INTR_ENABLE register and returns the previous register value.

qcaspi_intr_handler

static irqreturn_t qcaspi_intr_handler(irq,  
 data); 
int irq;
void * data;
 

Called to service interrupts on rising edge of the QCA7000 interrupt line.