Lines Matching refs:hcintmsk

533 	u32 hcintmsk = HCINTMSK_CHHLTD;  in dwc2_hc_enable_slave_ints()  local
539 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
540 hcintmsk |= HCINTMSK_STALL; in dwc2_hc_enable_slave_ints()
541 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
542 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_slave_ints()
544 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
546 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
547 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
549 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
553 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
555 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
557 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
561 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
567 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
568 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_slave_ints()
569 hcintmsk |= HCINTMSK_STALL; in dwc2_hc_enable_slave_ints()
570 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
571 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_slave_ints()
572 hcintmsk |= HCINTMSK_FRMOVRUN; in dwc2_hc_enable_slave_ints()
575 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
577 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
580 hcintmsk |= HCINTMSK_NYET; in dwc2_hc_enable_slave_ints()
582 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
589 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_slave_ints()
590 hcintmsk |= HCINTMSK_FRMOVRUN; in dwc2_hc_enable_slave_ints()
591 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_slave_ints()
594 hcintmsk |= HCINTMSK_XACTERR; in dwc2_hc_enable_slave_ints()
595 hcintmsk |= HCINTMSK_BBLERR; in dwc2_hc_enable_slave_ints()
603 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_slave_ints()
605 dev_vdbg(hsotg->dev, "set HCINTMSK to %08x\n", hcintmsk); in dwc2_hc_enable_slave_ints()
611 u32 hcintmsk = HCINTMSK_CHHLTD; in dwc2_hc_enable_dma_ints() local
620 hcintmsk |= HCINTMSK_AHBERR; in dwc2_hc_enable_dma_ints()
625 hcintmsk |= HCINTMSK_XFERCOMPL; in dwc2_hc_enable_dma_ints()
632 hcintmsk |= HCINTMSK_ACK; in dwc2_hc_enable_dma_ints()
634 hcintmsk |= HCINTMSK_DATATGLERR; in dwc2_hc_enable_dma_ints()
636 hcintmsk |= HCINTMSK_NAK; in dwc2_hc_enable_dma_ints()
640 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_enable_dma_ints()
642 dev_vdbg(hsotg->dev, "set HCINTMSK to %08x\n", hcintmsk); in dwc2_hc_enable_dma_ints()
689 u32 hcintmsk; in dwc2_hc_init() local
697 hcintmsk = 0xffffffff; in dwc2_hc_init()
698 hcintmsk &= ~HCINTMSK_RESERVED14_31; in dwc2_hc_init()
699 dwc2_writel(hsotg, hcintmsk, HCINT(hc_num)); in dwc2_hc_init()
837 u32 hcintmsk = HCINTMSK_CHHLTD; in dwc2_hc_halt() local
840 dwc2_writel(hsotg, hcintmsk, HCINTMSK(chan->hc_num)); in dwc2_hc_halt()
847 dwc2_writel(hsotg, ~hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_halt()
967 u32 hcintmsk; in dwc2_hc_cleanup() local
978 hcintmsk = 0xffffffff; in dwc2_hc_cleanup()
979 hcintmsk &= ~HCINTMSK_RESERVED14_31; in dwc2_hc_cleanup()
980 dwc2_writel(hsotg, hcintmsk, HCINT(chan->hc_num)); in dwc2_hc_cleanup()
3886 u32 hfnum, hcchar, hctsiz, hcint, hcintmsk; in dwc2_hcd_dump_state() local
3892 hcintmsk = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_hcd_dump_state()
3897 dev_dbg(hsotg->dev, " hcintmsk: 0x%08x\n", hcintmsk); in dwc2_hcd_dump_state()
5318 hr->hcintmsk[i] = dwc2_readl(hsotg, HCINTMSK(i)); in dwc2_backup_host_registers()
5355 dwc2_writel(hsotg, hr->hcintmsk[i], HCINTMSK(i)); in dwc2_restore_host_registers()