Home
last modified time | relevance | path

Searched refs:epmask (Results 1 – 9 of 9) sorted by relevance

/openbmc/u-boot/drivers/usb/musb-new/
H A Dam35x.c95 u32 epmask; in am35x_musb_enable() local
98 epmask = ((musb->epmask & AM35X_TX_EP_MASK) << AM35X_INTR_TX_SHIFT) | in am35x_musb_enable()
99 ((musb->epmask & AM35X_RX_EP_MASK) << AM35X_INTR_RX_SHIFT); in am35x_musb_enable()
101 musb_writel(reg_base, EP_INTR_MASK_SET_REG, epmask); in am35x_musb_enable()
H A Dmusb_dsps.c159 u32 epmask, coremask; in dsps_musb_enable() local
162 epmask = ((musb->epmask & wrp->txep_mask) << wrp->txep_shift) | in dsps_musb_enable()
163 ((musb->epmask & wrp->rxep_mask) << wrp->rxep_shift); in dsps_musb_enable()
166 dsps_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
H A Dmusb_core.h380 u16 epmask; member
473 musb->epmask |= (1 << epnum); in musb_read_fifosize()
H A Dmusb_core.c679 musb_writew(musb->mregs, MUSB_INTRTXE, musb->epmask); in musb_stage0_irq()
680 musb_writew(musb->mregs, MUSB_INTRRXE, musb->epmask & 0xfffe); in musb_stage0_irq()
867 && (musb->epmask >= (1 << epnum)); in musb_stage0_irq()
912 musb_writew(regs, MUSB_INTRTXE, musb->epmask); in musb_start()
913 musb_writew(regs, MUSB_INTRRXE, musb->epmask & 0xfffe); in musb_start()
1248 musb->epmask |= (1 << hw_ep->epnum); in fifo_setup()
1462 musb->epmask = 1; in musb_core_init()
/openbmc/linux/drivers/usb/musb/
H A Dmusb_dsps.c173 u32 epmask, coremask; in dsps_musb_enable() local
176 epmask = ((musb->epmask & wrp->txep_mask) << wrp->txep_shift) | in dsps_musb_enable()
177 ((musb->epmask & wrp->rxep_mask) << wrp->rxep_shift); in dsps_musb_enable()
180 musb_writel(reg_base, wrp->epintr_set, epmask); in dsps_musb_enable()
H A Dmusb_core.h352 u16 epmask; member
465 musb->epmask |= (1 << epnum); in musb_read_fifosize()
H A Dda8xx.c90 mask = ((musb->epmask & DA8XX_USB_TX_EP_MASK) << DA8XX_INTR_TX_SHIFT) | in da8xx_musb_enable()
91 ((musb->epmask & DA8XX_USB_RX_EP_MASK) << DA8XX_INTR_RX_SHIFT) | in da8xx_musb_enable()
H A Dmusb_core.c891 musb->intrtxe = musb->epmask; in musb_handle_intr_connect()
893 musb->intrrxe = musb->epmask & 0xfffe; in musb_handle_intr_connect()
1123 && (musb->epmask >= (1 << epnum)); in musb_stage0_irq()
1172 musb->intrtxe = musb->epmask; in musb_enable_interrupts()
1174 musb->intrrxe = musb->epmask & 0xfffe; in musb_enable_interrupts()
1444 musb->epmask |= (1 << hw_ep->epnum); in fifo_setup()
1653 musb->epmask = 1; in musb_core_init()
/openbmc/qemu/hw/usb/
H A Dhcd-xhci.c896 uint32_t epmask, in xhci_epmask_to_eps_with_streams() argument
910 if (!(epmask & (1u << i))) { in xhci_epmask_to_eps_with_streams()
929 uint32_t epmask) in xhci_free_device_streams() argument
934 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, NULL, eps); in xhci_free_device_streams()
941 uint32_t epmask) in xhci_alloc_device_streams() argument
947 nr_eps = xhci_epmask_to_eps_with_streams(xhci, slotid, epmask, epctxs, in xhci_alloc_device_streams()