Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/musb/
Ddavinci.c280 musb->int_usb = (tmp & DAVINCI_USB_USBINT_MASK) in davinci_musb_interrupt()
294 int err = musb->int_usb & MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
296 err = musb->int_usb & MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
308 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in davinci_musb_interrupt()
336 if (musb->int_tx || musb->int_rx || musb->int_usb) in davinci_musb_interrupt()
Dam35x.c230 musb->int_usb = in am35x_musb_interrupt()
247 err = musb->int_usb & MUSB_INTR_VBUSERROR; in am35x_musb_interrupt()
260 musb->int_usb &= ~MUSB_INTR_VBUSERROR; in am35x_musb_interrupt()
286 if (musb->int_usb & MUSB_INTR_DISCONNECT) { in am35x_musb_interrupt()
291 if (musb->int_tx || musb->int_rx || musb->int_usb) in am35x_musb_interrupt()
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()
Dmusb_core.c713 musb->int_usb |= MUSB_INTR_DISCONNECT; in musb_handle_intr_resume()
714 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_resume()
720 musb->int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_resume()
888 static void musb_handle_intr_connect(struct musb *musb, u8 devctl, u8 int_usb) in musb_handle_intr_connect() argument
914 if (int_usb & MUSB_INTR_SUSPEND) { in musb_handle_intr_connect()
916 int_usb &= ~MUSB_INTR_SUSPEND; in musb_handle_intr_connect()
1055 static irqreturn_t musb_stage0_irq(struct musb *musb, u8 int_usb, in musb_stage0_irq() argument
1060 musb_dbg(musb, "<== DevCtl=%02x, int_usb=0x%x", devctl, int_usb); in musb_stage0_irq()
1066 if (int_usb & MUSB_INTR_RESUME) { in musb_stage0_irq()
1072 if (int_usb & MUSB_INTR_SESSREQ) { in musb_stage0_irq()
[all …]
Djz4740.c38 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
47 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | in jz4740_musb_interrupt()
50 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,
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.c155 musb->int_usb = musb_clearb(musb->mregs, MUSB_INTRUSB); in generic_interrupt()
159 if ((musb->int_usb & MUSB_INTR_RESET) && !is_host_active(musb)) { in generic_interrupt()
165 if (musb->int_usb || musb->int_tx || musb->int_rx) in generic_interrupt()
Dsunxi.c174 musb->int_usb = readb(musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
175 if (musb->int_usb) in sunxi_musb_interrupt()
176 writeb(musb->int_usb, musb->mregs + SUNXI_MUSB_INTRUSB); in sunxi_musb_interrupt()
178 if ((musb->int_usb & MUSB_INTR_RESET) && !is_host_active(musb)) { in sunxi_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()
390 if (musb->int_tx || musb->int_rx || musb->int_usb) in dsps_interrupt()
Domap2430.c176 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in omap2430_musb_interrupt()
180 if (musb->int_usb || musb->int_tx || musb->int_rx) in omap2430_musb_interrupt()
Dmusb_core.h335 u8 int_usb; member
Dtusb6010.c717 musb->int_usb |= MUSB_INTR_DISCONNECT; in tusb_otg_ints()
835 musb->int_usb = (u8) int_src; in tusb_musb_interrupt()
/linux-5.19.10/Documentation/driver-api/usb/
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)