Searched refs:epmask (Results 1 – 9 of 9) sorted by relevance
/openbmc/u-boot/drivers/usb/musb-new/ |
H A D | am35x.c | 95 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 D | musb_dsps.c | 159 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 D | musb_core.h | 380 u16 epmask; member 473 musb->epmask |= (1 << epnum); in musb_read_fifosize()
|
H A D | musb_core.c | 679 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 D | musb_dsps.c | 173 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 D | musb_core.h | 352 u16 epmask; member 465 musb->epmask |= (1 << epnum); in musb_read_fifosize()
|
H A D | da8xx.c | 90 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 D | musb_core.c | 891 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 D | hcd-xhci.c | 896 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()
|