Home
last modified time | relevance | path

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

/drivers/usb/dwc2/
Dcore_intr.c330 u32 dctl; in dwc2_wakeup_from_lpm_l1() local
361 dctl = dwc2_readl(hsotg, DCTL); in dwc2_wakeup_from_lpm_l1()
362 dctl |= DCTL_RMTWKUPSIG; in dwc2_wakeup_from_lpm_l1()
363 dwc2_writel(hsotg, dctl, DCTL); in dwc2_wakeup_from_lpm_l1()
419 u32 dctl = dwc2_readl(hsotg, DCTL); in dwc2_handle_wakeup_detected_intr() local
421 dctl &= ~DCTL_RMTWKUPSIG; in dwc2_handle_wakeup_detected_intr()
422 dwc2_writel(hsotg, dctl, DCTL); in dwc2_handle_wakeup_detected_intr()
Dgadget.c1599 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_hsotg_set_test_mode() local
1601 dctl &= ~DCTL_TSTCTL_MASK; in dwc2_hsotg_set_test_mode()
1608 dctl |= testmode << DCTL_TSTCTL_SHIFT; in dwc2_hsotg_set_test_mode()
1613 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hsotg_set_test_mode()
2831 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_gadget_handle_ep_disabled() local
2841 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_gadget_handle_ep_disabled() local
2843 dctl |= DCTL_CGNPINNAK; in dwc2_gadget_handle_ep_disabled()
2844 dwc2_writel(hsotg, dctl, DCTL); in dwc2_gadget_handle_ep_disabled()
2848 if (dctl & DCTL_GOUTNAKSTS) { in dwc2_gadget_handle_ep_disabled()
2849 dctl |= DCTL_CGOUTNAK; in dwc2_gadget_handle_ep_disabled()
[all …]
Ddebugfs.c69 int dctl; in testmode_show() local
72 dctl = dwc2_readl(hsotg, DCTL); in testmode_show()
73 dctl &= DCTL_TSTCTL_MASK; in testmode_show()
74 dctl >>= DCTL_TSTCTL_SHIFT; in testmode_show()
77 switch (dctl) { in testmode_show()
97 seq_printf(s, "UNKNOWN %d\n", dctl); in testmode_show()
Dcore.h714 u32 dctl; member
Dhcd.c5028 u32 dctl; in dwc2_hcd_free() local
5074 dctl = dwc2_readl(hsotg, DCTL); in dwc2_hcd_free()
5075 dctl |= DCTL_SFTDISCON; in dwc2_hcd_free()
5076 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
/drivers/video/fbdev/
Dgxt4500.c567 int ctrl, dctl; in gxt4500_blank() local
571 dctl = readreg(par, DISP_CTL); in gxt4500_blank()
572 dctl |= DISP_CTL_OFF; in gxt4500_blank()
575 dctl &= ~DISP_CTL_OFF; in gxt4500_blank()
589 writereg(par, DISP_CTL, dctl); in gxt4500_blank()
/drivers/net/fjes/
Dfjes_hw.c56 union REG_DCTL dctl; in fjes_hw_reset() local
59 dctl.reg = 0; in fjes_hw_reset()
60 dctl.bits.reset = 1; in fjes_hw_reset()
61 wr32(XSCT_DCTL, dctl.reg); in fjes_hw_reset()
64 dctl.reg = rd32(XSCT_DCTL); in fjes_hw_reset()
65 while ((dctl.bits.reset == 1) && (timeout > 0)) { in fjes_hw_reset()
67 dctl.reg = rd32(XSCT_DCTL); in fjes_hw_reset()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgf100.c98 read_div(struct gf100_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
116 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()
Dgk104.c106 read_div(struct gk104_clk *clk, int doff, u32 dsrc, u32 dctl) in read_div() argument
110 u32 sctl = nvkm_rd32(device, dctl + (doff * 4)); in read_div()