Lines Matching refs:hcintmsk

498 	u32 hcintmsk = HCINTMSK_CHHLTD;  in dwc2_hc_enable_slave_ints()  local
504 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
505 hcintmsk |= HCINTMSK_STALL; in dwc2_hc_enable_slave_ints()
506 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
507 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_slave_ints()
509 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
511 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
512 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
514 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
518 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
520 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
522 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
526 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
532 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
533 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
534 hcintmsk |= HCINTMSK_STALL; in dwc2_hc_enable_slave_ints()
535 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
536 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_slave_ints()
537 hcintmsk |= HCINTMSK_FRMOVRUN; in dwc2_hc_enable_slave_ints()
540 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
542 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
545 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
547 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
554 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
555 hcintmsk |= HCINTMSK_FRMOVRUN; in dwc2_hc_enable_slave_ints()
556 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
559 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
560 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
568 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
570 dev_vdbg(hsotg->dev, "set HCINTMSK to %08x\n", hcintmsk); in dwc2_hc_enable_slave_ints()
576 u32 hcintmsk = HCINTMSK_CHHLTD; in dwc2_hc_enable_dma_ints() local
585 hcintmsk |= HCINTMSK_AHBERR; in dwc2_hc_enable_dma_ints()
590 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_dma_ints()
597 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_dma_ints()
599 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_dma_ints()
601 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_dma_ints()
605 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
607 dev_vdbg(hsotg->dev, "set HCINTMSK to %08x\n", hcintmsk); in dwc2_hc_enable_dma_ints()
654 u32 hcintmsk; in dwc2_hc_init() local
662 hcintmsk = 0xffffffff; in dwc2_hc_init()
663 hcintmsk &= ~HCINTMSK_RESERVED14_31; in dwc2_hc_init()
664 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
802 u32 hcintmsk = HCINTMSK_CHHLTD; in dwc2_hc_halt() local
805 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
812 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
932 u32 hcintmsk; in dwc2_hc_cleanup() local
943 hcintmsk = 0xffffffff; in dwc2_hc_cleanup()
944 hcintmsk &= ~HCINTMSK_RESERVED14_31; in dwc2_hc_cleanup()
945 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
3905 u32 hfnum, hcchar, hctsiz, hcint, hcintmsk; in dwc2_hcd_dump_state() local
3911 hcintmsk = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_hcd_dump_state()
3916 dev_dbg(hsotg->dev, " hcintmsk: 0x%08x\n", hcintmsk); in dwc2_hcd_dump_state()
5411 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers()
5448 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()