/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | pic32.c | 74 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 D | sunxi.c | 204 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 D | musb_core.c | 426 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 D | am35x.c | 270 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 D | musb_dsps.c | 323 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 D | musb_core.h | 366 u8 int_usb; member
|
/openbmc/linux/drivers/usb/musb/ |
H A D | mpfs.c | 60 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 D | da8xx.c | 247 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 D | musb_core.c | 910 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 D | jz4740.c | 39 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 D | musb_trace.h | 158 __field(u8, int_usb) 164 __entry->int_usb = musb->int_usb; 169 __get_str(name), __entry->int_usb,
|
H A D | ux500.c | 132 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 D | mediatek.c | 156 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 D | sunxi.c | 181 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 D | musb_dsps.c | 339 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 D | omap2430.c | 177 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 D | musb_core.h | 335 u8 int_usb; member
|
H A D | tusb6010.c | 722 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 D | musb_hcd.c | 470 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 D | writing_musb_glue_layer.rst | 355 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)
|