Home
last modified time | relevance | path

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

/drivers/usb/musb/
Dmusb_core.c710 musb->int_usb |= MUSB_INTR_DISCONNECT; in musb_handle_intr_resume()
711 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_resume()
717 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_resume()
884 static void musb_handle_intr_connect(struct musb *musb, u8 devctl, u8 int_usb) in musb_handle_intr_connect() argument
910 if (int_usb & MUSB_INTR_SUSPEND) { in musb_handle_intr_connect()
912 int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_connect()
1050 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() argument
1055 musb_dbg(musb, "<== DevCtl=%02x, int_usb=0x%x", devctl, int_usb); in musb_stage0_irq()
1061 if (int_usb & MUSB_INTR_RESUME) { in musb_stage0_irq()
1067 if (int_usb & MUSB_INTR_SESSREQ) { in musb_stage0_irq()
[all …]
Dda8xx.c247 musb->int_usb = (status & DA8XX_INTR_USB_MASK) >> DA8XX_INTR_USB_SHIFT; in da8xx_musb_interrupt()
263 err = musb->int_usb & MUSB_INTR_VBUSERROR; in da8xx_musb_interrupt()
276 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in da8xx_musb_interrupt()
285 } else if (!(musb->int_usb & MUSB_INTR_BABBLE)) { in da8xx_musb_interrupt()
308 if (musb->int_tx || musb->int_rx || musb->int_usb) in da8xx_musb_interrupt()
Dmpfs.c60 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in mpfs_musb_interrupt()
64 if (musb->int_usb || musb->int_tx || musb->int_rx) { in mpfs_musb_interrupt()
65 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in mpfs_musb_interrupt()
Djz4740.c39 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
48 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | in jz4740_musb_interrupt()
51 if (musb->int_usb || musb->int_tx || musb->int_rx) in jz4740_musb_interrupt()
Dmusb_trace.h158 __field(u8, int_usb)
164 __entry->int_usb = musb->int_usb;
169 __get_str(name), __entry->int_usb,
Dsunxi.c181 musb->int_usb = readb(musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
182 if (musb->int_usb) in sunxi_musb_interrupt()
183 writeb(musb->int_usb, musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
185 if ((musb->int_usb & MUSB_INTR_RESET) && !is_host_active(musb)) { in sunxi_musb_interrupt()
Dux500.c132 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in ux500_musb_interrupt()
136 if (musb->int_usb || musb->int_tx || musb->int_rx) in ux500_musb_interrupt()
Dmediatek.c156 musb->int_usb = musb_clearb(musb->mregs, MUSB_INTRUSB); in generic_interrupt()
160 if ((musb->int_usb & MUSB_INTR_RESET) && !is_host_active(musb)) { in generic_interrupt()
166 if (musb->int_usb || musb->int_tx || musb->int_rx) in generic_interrupt()
Dmusb_dsps.c339 musb->int_usb = (usbintr & wrp->usb_bitmap) >> wrp->usb_shift; in dsps_interrupt()
352 err = musb->int_usb & MUSB_INTR_VBUSERROR; in dsps_interrupt()
365 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in dsps_interrupt()
388 if (musb->int_tx || musb->int_rx || musb->int_usb) in dsps_interrupt()
Domap2430.c177 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in omap2430_musb_interrupt()
181 if (musb->int_usb || musb->int_tx || musb->int_rx) in omap2430_musb_interrupt()
Dmusb_core.h335 u8 int_usb; member
Dtusb6010.c722 musb->int_usb |= MUSB_INTR_DISCONNECT; in tusb_otg_ints()
840 musb->int_usb = (u8) int_src; in tusb_musb_interrupt()