Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/usb/dwc2/
Dgadget.c1595 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_hsotg_set_test_mode() local
1597 dctl &= ~DCTL_TSTCTL_MASK; in dwc2_hsotg_set_test_mode()
1604 dctl |= testmode << DCTL_TSTCTL_SHIFT; in dwc2_hsotg_set_test_mode()
1609 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hsotg_set_test_mode()
2827 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_gadget_handle_ep_disabled() local
2837 int dctl = dwc2_readl(hsotg, DCTL); in dwc2_gadget_handle_ep_disabled() local
2839 dctl |= DCTL_CGNPINNAK; in dwc2_gadget_handle_ep_disabled()
2840 dwc2_writel(hsotg, dctl, DCTL); in dwc2_gadget_handle_ep_disabled()
2844 if (dctl & DCTL_GOUTNAKSTS) { in dwc2_gadget_handle_ep_disabled()
2845 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_intr.c397 u32 dctl = dwc2_readl(hsotg, DCTL); in dwc2_handle_wakeup_detected_intr() local
399 dctl &= ~DCTL_RMTWKUPSIG; in dwc2_handle_wakeup_detected_intr()
400 dwc2_writel(hsotg, dctl, DCTL); in dwc2_handle_wakeup_detected_intr()
Dcore.h714 u32 dctl; member
Dhcd.c5020 u32 dctl; in dwc2_hcd_free() local
5066 dctl = dwc2_readl(hsotg, DCTL); in dwc2_hcd_free()
5067 dctl |= DCTL_SFTDISCON; in dwc2_hcd_free()
5068 dwc2_writel(hsotg, dctl, DCTL); in dwc2_hcd_free()
/Linux-v6.6/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()
/Linux-v6.6/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()
/Linux-v6.6/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()