Home
last modified time | relevance | path

Searched refs:irq_src (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/arch/m68k/mac/
Dpsc.c164 int irq_src = IRQ_SRC(irq); in psc_irq_enable() local
166 int pIER = pIERbase + (irq_src << 4); in psc_irq_enable()
175 int irq_src = IRQ_SRC(irq); in psc_irq_disable() local
177 int pIER = pIERbase + (irq_src << 4); in psc_irq_disable()
186 int irq_src = IRQ_SRC(irq); in psc_irq_clear() local
188 int pIFR = pIERbase + (irq_src << 4); in psc_irq_clear()
195 int irq_src = IRQ_SRC(irq); in psc_irq_pending() local
197 int pIFR = pIERbase + (irq_src << 4); in psc_irq_pending()
Dvia.c535 int irq_src = IRQ_SRC(irq); in via_irq_enable() local
542 if (irq_src == 1) { in via_irq_enable()
544 } else if (irq_src == 2) { in via_irq_enable()
547 } else if (irq_src == 7) { in via_irq_enable()
574 int irq_src = IRQ_SRC(irq); in via_irq_disable() local
581 if (irq_src == 1) { in via_irq_disable()
583 } else if (irq_src == 2) { in via_irq_disable()
585 } else if (irq_src == 7) { in via_irq_disable()
605 int irq_src = IRQ_SRC(irq); in via_irq_clear() local
609 if (irq_src == 1) { in via_irq_clear()
[all …]
Dmacints.c254 int irq_src = IRQ_SRC(irq); in mac_enable_irq() local
256 switch(irq_src) { in mac_enable_irq()
288 int irq_src = IRQ_SRC(irq); in mac_disable_irq() local
290 switch(irq_src) { in mac_disable_irq()
/linux-2.6.39/drivers/mfd/
Dmax8997-irq.c185 u8 irq_src; in max8997_irq_thread() local
189 ret = max8997_read_reg(max8997->i2c, MAX8997_REG_INTSRC, &irq_src); in max8997_irq_thread()
196 if (irq_src & MAX8997_IRQSRC_PMIC) { in max8997_irq_thread()
201 if (irq_src & MAX8997_IRQSRC_FUELGAUGE) { in max8997_irq_thread()
217 if (irq_src & MAX8997_IRQSRC_MUIC) { in max8997_irq_thread()
222 if (irq_src & MAX8997_IRQSRC_GPIO) { in max8997_irq_thread()
262 if (irq_src & MAX8997_IRQSRC_FLASH) { in max8997_irq_thread()
/linux-2.6.39/drivers/usb/gadget/
Domap_udc.c678 static void dma_irq(struct omap_udc *udc, u16 irq_src) in dma_irq() argument
685 if (irq_src & UDC_TXN_DONE) { in dma_irq()
704 if (irq_src & UDC_RXN_EOT) { in dma_irq()
722 if (irq_src & UDC_RXN_CNT) { in dma_irq()
1451 static void ep0_irq(struct omap_udc *udc, u16 irq_src) in ep0_irq() argument
1461 if (irq_src & UDC_SETUP) { in ep0_irq()
1462 u16 ack = irq_src & (UDC_EP0_TX|UDC_EP0_RX); in ep0_irq()
1467 irq_src = UDC_SETUP; in ep0_irq()
1483 if (irq_src & UDC_EP0_TX) { in ep0_irq()
1520 if (irq_src & UDC_EP0_RX) { in ep0_irq()
[all …]
Dfsl_qe_udc.c2268 u16 irq_src; in qe_udc_irq() local
2274 irq_src = in_be16(&udc->usb_regs->usb_usber) & in qe_udc_irq()
2277 out_be16(&udc->usb_regs->usb_usber, irq_src); in qe_udc_irq()
2279 if (irq_src & USB_E_IDLE_MASK) { in qe_udc_irq()
2281 irq_src &= ~USB_E_IDLE_MASK; in qe_udc_irq()
2285 if (irq_src & USB_E_TXB_MASK) { in qe_udc_irq()
2287 irq_src &= ~USB_E_TXB_MASK; in qe_udc_irq()
2291 if (irq_src & USB_E_RXB_MASK) { in qe_udc_irq()
2293 irq_src &= ~USB_E_RXB_MASK; in qe_udc_irq()
2297 if (irq_src & USB_E_RESET_MASK) { in qe_udc_irq()
[all …]
Dfsl_udc_core.c1688 u32 irq_src; in fsl_udc_irq() local
1696 irq_src = fsl_readl(&dr_regs->usbsts) & fsl_readl(&dr_regs->usbintr); in fsl_udc_irq()
1698 fsl_writel(irq_src, &dr_regs->usbsts); in fsl_udc_irq()
1708 if (irq_src & USB_STS_INT) { in fsl_udc_irq()
1726 if (irq_src & USB_STS_SOF) { in fsl_udc_irq()
1731 if (irq_src & USB_STS_PORT_CHANGE) { in fsl_udc_irq()
1737 if (irq_src & USB_STS_RESET) { in fsl_udc_irq()
1743 if (irq_src & USB_STS_SUSPEND) { in fsl_udc_irq()
1748 if (irq_src & (USB_STS_ERR | USB_STS_SYS_ERR)) { in fsl_udc_irq()
1749 VDBG("Error IRQ %x", irq_src); in fsl_udc_irq()