Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/usb/musb-new/
H A Dpic32.c74 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in pic32_interrupt()
75 if (musb->int_usb) in pic32_interrupt()
76 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in pic32_interrupt()
88 if (musb->int_usb & MUSB_INTR_DISCONNECT) { in pic32_interrupt()
93 if (musb->int_tx || musb->int_rx || musb->int_usb) in pic32_interrupt()
H A Dsunxi.c204 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in sunxi_musb_interrupt()
205 last_int_usb = musb->int_usb; in sunxi_musb_interrupt()
206 if (musb->int_usb) in sunxi_musb_interrupt()
207 musb_writeb(musb->mregs, MUSB_INTRUSB, musb->int_usb); in sunxi_musb_interrupt()
215 if (musb->int_usb || musb->int_tx || musb->int_rx) in sunxi_musb_interrupt()
H A Dmusb_core.c426 int_usb); in musb_stage0_irq()
433 if (int_usb & MUSB_INTR_RESUME) { in musb_stage0_irq()
510 if (int_usb & MUSB_INTR_SESSREQ) { in musb_stage0_irq()
538 if (int_usb & MUSB_INTR_VBUSERROR) { in musb_stage0_irq()
608 if (int_usb & MUSB_INTR_SUSPEND) { in musb_stage0_irq()
667 if (int_usb & MUSB_INTR_CONNECT) { in musb_stage0_irq()
697 if (int_usb & MUSB_INTR_SUSPEND) { in musb_stage0_irq()
699 int_usb &= ~MUSB_INTR_SUSPEND; in musb_stage0_irq()
781 if (int_usb & MUSB_INTR_RESET) { in musb_stage0_irq()
854 if (int_usb & MUSB_INTR_SOF) { in musb_stage0_irq()
[all …]
H A Dam35x.c270 musb->int_usb = in am35x_musb_interrupt()
288 err = is_host_enabled(musb) && (musb->int_usb & in am35x_musb_interrupt()
302 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in am35x_musb_interrupt()
330 if (musb->int_tx || musb->int_rx || musb->int_usb) in am35x_musb_interrupt()
H A Dmusb_dsps.c323 musb->int_usb = (usbintr & wrp->usb_bitmap) >> wrp->usb_shift; in dsps_interrupt()
347 err = is_host_enabled(musb) && (musb->int_usb & in dsps_interrupt()
361 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in dsps_interrupt()
389 if (musb->int_tx || musb->int_rx || musb->int_usb) in dsps_interrupt()
H A Dmusb_core.h366 u8 int_usb; member
/openbmc/linux/drivers/usb/musb/
H A 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()
H A 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()
H A Dmusb_core.c910 if (int_usb & MUSB_INTR_SUSPEND) { in musb_handle_intr_connect()
912 int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_connect()
1061 if (int_usb & MUSB_INTR_RESUME) { in musb_stage0_irq()
1067 if (int_usb & MUSB_INTR_SESSREQ) { in musb_stage0_irq()
1073 if (int_usb & MUSB_INTR_VBUSERROR) { in musb_stage0_irq()
1078 if (int_usb & MUSB_INTR_SUSPEND) { in musb_stage0_irq()
1083 if (int_usb & MUSB_INTR_CONNECT) { in musb_stage0_irq()
1088 if (int_usb & MUSB_INTR_DISCONNECT) { in musb_stage0_irq()
1093 if (int_usb & MUSB_INTR_RESET) { in musb_stage0_irq()
1110 if (int_usb & MUSB_INTR_SOF) { in musb_stage0_irq()
[all …]
H A 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()
H A Dmusb_trace.h158 __field(u8, int_usb)
164 __entry->int_usb = musb->int_usb;
169 __get_str(name), __entry->int_usb,
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dmusb_core.h335 u8 int_usb; member
H A Dtusb6010.c722 musb->int_usb |= MUSB_INTR_DISCONNECT; in tusb_otg_ints()
840 musb->int_usb = (u8) int_src; in tusb_musb_interrupt()
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c470 u16 int_usb; in musb_submit_rh_msg() local
519 int_usb = readw(&musbr->intrusb); in musb_submit_rh_msg()
520 if (int_usb & MUSB_INTR_CONNECT) { in musb_submit_rh_msg()
/openbmc/linux/Documentation/driver-api/usb/
H A Dwriting_musb_glue_layer.rst355 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB);
364 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME |
367 if (musb->int_usb || musb->int_tx || musb->int_rx)
651 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB);
660 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME |
663 if (musb->int_usb || musb->int_tx || musb->int_rx)