Home
last modified time | relevance | path

Searched refs:int_usb (Results 1 – 12 of 12) sorted by relevance

/drivers/usb/musb/
Djz4740.c40 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
49 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | in jz4740_musb_interrupt()
52 if (musb->int_usb || musb->int_tx || musb->int_rx) in jz4740_musb_interrupt()
Dsunxi.c177 musb->int_usb = readb(musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
178 if (musb->int_usb) in sunxi_musb_interrupt()
179 writeb(musb->int_usb, musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
186 if ((musb->int_usb & MUSB_INTR_BABBLE) && is_host_active(musb)) { in sunxi_musb_interrupt()
187 musb->int_usb &= ~MUSB_INTR_BABBLE; in sunxi_musb_interrupt()
188 musb->int_usb |= MUSB_INTR_DISCONNECT; in sunxi_musb_interrupt()
191 if ((musb->int_usb & MUSB_INTR_RESET) && !is_host_active(musb)) { in sunxi_musb_interrupt()
Ddavinci.c299 musb->int_usb = (tmp & DAVINCI_USB_USBINT_MASK) in davinci_musb_interrupt()
313 int err = musb->int_usb & MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
315 err = musb->int_usb & MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
327 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
357 if (musb->int_tx || musb->int_rx || musb->int_usb) in davinci_musb_interrupt()
Dda8xx.c314 musb->int_usb = (status & DA8XX_INTR_USB_MASK) >> DA8XX_INTR_USB_SHIFT; in da8xx_musb_interrupt()
330 err = musb->int_usb & MUSB_INTR_VBUSERROR; in da8xx_musb_interrupt()
343 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in da8xx_musb_interrupt()
353 } else if (!(musb->int_usb & MUSB_INTR_BABBLE)){ in da8xx_musb_interrupt()
377 if (musb->int_tx || musb->int_rx || musb->int_usb) in da8xx_musb_interrupt()
Dmusb_core.c539 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() argument
545 int_usb); in musb_stage0_irq()
551 if (int_usb & MUSB_INTR_RESUME) { in musb_stage0_irq()
599 musb->int_usb |= MUSB_INTR_DISCONNECT; in musb_stage0_irq()
600 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_stage0_irq()
606 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_stage0_irq()
617 if (int_usb & MUSB_INTR_SESSREQ) { in musb_stage0_irq()
645 if (int_usb & MUSB_INTR_VBUSERROR) { in musb_stage0_irq()
716 if (int_usb & MUSB_INTR_SUSPEND) { in musb_stage0_irq()
772 if (int_usb & MUSB_INTR_CONNECT) { in musb_stage0_irq()
[all …]
Dam35x.c250 musb->int_usb = in am35x_musb_interrupt()
267 err = musb->int_usb & MUSB_INTR_VBUSERROR; in am35x_musb_interrupt()
280 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in am35x_musb_interrupt()
308 if (musb->int_usb & MUSB_INTR_DISCONNECT) { in am35x_musb_interrupt()
313 if (musb->int_tx || musb->int_rx || musb->int_usb) in am35x_musb_interrupt()
Dblackfin.c211 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in blackfin_interrupt()
215 if (musb->int_usb || musb->int_tx || musb->int_rx) { in blackfin_interrupt()
216 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in blackfin_interrupt()
225 (musb->int_usb & MUSB_INTR_DISCONNECT && is_host_active(musb))) { in blackfin_interrupt()
Dux500.c147 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in ux500_musb_interrupt()
151 if (musb->int_usb || musb->int_tx || musb->int_rx) in ux500_musb_interrupt()
Dmusb_dsps.c341 musb->int_usb = (usbintr & wrp->usb_bitmap) >> wrp->usb_shift; in dsps_interrupt()
354 err = musb->int_usb & MUSB_INTR_VBUSERROR; in dsps_interrupt()
367 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in dsps_interrupt()
393 if (musb->int_tx || musb->int_rx || musb->int_usb) in dsps_interrupt()
Domap2430.c337 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in omap2430_musb_interrupt()
341 if (musb->int_usb || musb->int_tx || musb->int_rx) in omap2430_musb_interrupt()
Dmusb_core.h356 u8 int_usb; member
Dtusb6010.c721 musb->int_usb |= MUSB_INTR_DISCONNECT; in tusb_otg_ints()
839 musb->int_usb = (u8) int_src; in tusb_musb_interrupt()