Lines Matching refs:irq_src

634 static void dma_irq(struct omap_udc *udc, u16 irq_src)  in dma_irq()  argument
641 if (irq_src & UDC_TXN_DONE) { in dma_irq()
660 if (irq_src & UDC_RXN_EOT) { in dma_irq()
678 if (irq_src & UDC_RXN_CNT) { in dma_irq()
1392 static void ep0_irq(struct omap_udc *udc, u16 irq_src) in ep0_irq() argument
1402 if (irq_src & UDC_SETUP) { in ep0_irq()
1403 u16 ack = irq_src & (UDC_EP0_TX|UDC_EP0_RX); in ep0_irq()
1408 irq_src = UDC_SETUP; in ep0_irq()
1424 if (irq_src & UDC_EP0_TX) { in ep0_irq()
1461 if (irq_src & UDC_EP0_RX) { in ep0_irq()
1508 if (irq_src & UDC_SETUP) { in ep0_irq()
1723 static void devstate_irq(struct omap_udc *udc, u16 irq_src) in devstate_irq() argument
1820 u16 irq_src; in omap_udc_irq() local
1825 irq_src = omap_readw(UDC_IRQ_SRC); in omap_udc_irq()
1828 if (irq_src & UDC_DS_CHG) { in omap_udc_irq()
1829 devstate_irq(_udc, irq_src); in omap_udc_irq()
1831 irq_src &= ~UDC_DS_CHG; in omap_udc_irq()
1835 if (irq_src & (UDC_EP0_RX|UDC_SETUP|UDC_EP0_TX)) { in omap_udc_irq()
1836 ep0_irq(_udc, irq_src); in omap_udc_irq()
1838 irq_src &= ~(UDC_EP0_RX|UDC_SETUP|UDC_EP0_TX); in omap_udc_irq()
1842 if (use_dma && (irq_src & (UDC_TXN_DONE|UDC_RXN_CNT|UDC_RXN_EOT))) { in omap_udc_irq()
1843 dma_irq(_udc, irq_src); in omap_udc_irq()
1845 irq_src &= ~(UDC_TXN_DONE|UDC_RXN_CNT|UDC_RXN_EOT); in omap_udc_irq()
1848 irq_src &= ~(UDC_IRQ_SOF | UDC_EPN_TX|UDC_EPN_RX); in omap_udc_irq()
1849 if (irq_src) in omap_udc_irq()
1850 DBG("udc_irq, unhandled %03x\n", irq_src); in omap_udc_irq()
1891 u16 epn_stat, irq_src; in omap_udc_pio_irq() local
1901 irq_src = omap_readw(UDC_IRQ_SRC); in omap_udc_pio_irq()
1904 if (irq_src & UDC_EPN_RX) { in omap_udc_pio_irq()
1940 else if (irq_src & UDC_EPN_TX) { in omap_udc_pio_irq()