Home
last modified time | relevance | path

Searched refs:usb_ctrl (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/u-boot/drivers/usb/host/
H A Dohci-lpc32xx.c125 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_USBDVND_EN); in isp1301_configure()
133 clrbits_le32(&clk_pwr->usb_ctrl, in usbpll_setup()
137 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_CLK_EN1); in usbpll_setup()
140 setbits_le32(&clk_pwr->usb_ctrl, in usbpll_setup()
142 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_POSTDIV_2POW(0x01)); in usbpll_setup()
143 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_PLL_PWRUP); in usbpll_setup()
145 ret = wait_for_bit_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_PLL_STS, in usbpll_setup()
151 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_CLK_EN2); in usbpll_setup()
175 setbits_le32(&clk_pwr->usb_ctrl, in usb_cpu_init()
194 setbits_le32(&clk_pwr->usb_ctrl, CLK_USBCTRL_USBHSTND_EN); in usb_cpu_init()
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-am335x-control.c33 struct am335x_control_usb *usb_ctrl; in am335x_phy_wkup() local
37 usb_ctrl = container_of(phy_ctrl, struct am335x_control_usb, phy_ctrl); in am335x_phy_wkup()
51 spin_lock(&usb_ctrl->lock); in am335x_phy_wkup()
52 val = readl(usb_ctrl->wkup); in am335x_phy_wkup()
59 writel(val, usb_ctrl->wkup); in am335x_phy_wkup()
60 spin_unlock(&usb_ctrl->lock); in am335x_phy_wkup()
66 struct am335x_control_usb *usb_ctrl; in am335x_phy_power() local
70 usb_ctrl = container_of(phy_ctrl, struct am335x_control_usb, phy_ctrl); in am335x_phy_power()
84 val = readl(usb_ctrl->phy_reg + reg); in am335x_phy_power()
98 writel(val, usb_ctrl->phy_reg + reg); in am335x_phy_power()
/openbmc/u-boot/drivers/usb/gadget/
H A Ddwc2_udc_otg_xfer_dma.c1143 if (usb_ctrl->wLength != 0) { in dwc2_udc_clear_feature()
1151 switch (usb_ctrl->wValue) { in dwc2_udc_clear_feature()
1170 usb_ctrl->wValue); in dwc2_udc_clear_feature()
1215 switch (usb_ctrl->wValue) { in dwc2_udc_set_feature()
1285 usb_ctrl->bRequest, in dwc2_ep0_setup()
1286 usb_ctrl->wLength, usb_ctrl->wValue, usb_ctrl->wIndex); in dwc2_ep0_setup()
1291 char *p = (char *)usb_ctrl; in dwc2_ep0_setup()
1310 usb_ctrl->wLength); in dwc2_ep0_setup()
1317 usb_ctrl->wLength != 0) { in dwc2_ep0_setup()
1348 if (usb_ctrl->bRequestType in dwc2_ep0_setup()
[all …]
H A Ddwc2_udc_otg.c77 static struct usb_ctrlrequest *usb_ctrl; variable
832 usb_ctrl = memalign(CONFIG_SYS_CACHELINE_SIZE, in dwc2_udc_probe()
835 if (!usb_ctrl) { in dwc2_udc_probe()
840 usb_ctrl_dma_addr = (dma_addr_t) usb_ctrl; in dwc2_udc_probe()
/openbmc/linux/drivers/phy/ti/
H A Dphy-dm816x-usb.c49 unsigned int usb_ctrl; /* Shared between phy0 and phy1 */ member
81 regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_init()
86 regmap_read(phy->syscon, phy->usb_ctrl, &val); in dm816x_usb_phy_init()
119 error = regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_runtime_suspend()
147 error = regmap_update_bits(phy->syscon, phy->usb_ctrl, in dm816x_usb_phy_runtime_resume()
207 phy->usb_ctrl = 0x20; in dm816x_usb_phy_probe()
/openbmc/linux/drivers/media/usb/dvb-usb/
H A Ddtt200u.c191 .usb_ctrl = CYPRESS_FX2,
243 .usb_ctrl = CYPRESS_FX2,
295 .usb_ctrl = CYPRESS_FX2,
347 .usb_ctrl = CYPRESS_FX2,
399 .usb_ctrl = CYPRESS_FX2,
H A Ddibusb-mb.c200 .usb_ctrl = CYPRESS_AN2135,
290 .usb_ctrl = CYPRESS_AN2235,
359 .usb_ctrl = CYPRESS_FX2,
422 .usb_ctrl = CYPRESS_FX2,
H A Ddvb-usb-firmware.c101 switch (props->usb_ctrl) { in dvb_usb_download_firmware()
105 ret = usb_cypress_load_firmware(udev, fw, props->usb_ctrl); in dvb_usb_download_firmware()
H A Dcxusb.c1724 .usb_ctrl = CYPRESS_FX2,
1771 .usb_ctrl = DEVICE_SPECIFIC,
1831 .usb_ctrl = DEVICE_SPECIFIC,
1898 .usb_ctrl = DEVICE_SPECIFIC,
1956 .usb_ctrl = DEVICE_SPECIFIC,
2016 .usb_ctrl = CYPRESS_FX2,
2069 .usb_ctrl = CYPRESS_FX2,
2181 .usb_ctrl = CYPRESS_FX2,
2226 .usb_ctrl = CYPRESS_FX2,
2280 .usb_ctrl = CYPRESS_FX2,
[all …]
H A Dm920x.c929 .usb_ctrl = DEVICE_SPECIFIC,
984 .usb_ctrl = DEVICE_SPECIFIC,
1040 .usb_ctrl = DEVICE_SPECIFIC,
1119 .usb_ctrl = DEVICE_SPECIFIC,
1161 .usb_ctrl = DEVICE_SPECIFIC,
1217 .usb_ctrl = DEVICE_SPECIFIC,
H A Da800.c91 .usb_ctrl = CYPRESS_FX2,
H A Ddw2102.c1993 .usb_ctrl = DEVICE_SPECIFIC,
2049 .usb_ctrl = DEVICE_SPECIFIC,
2100 .usb_ctrl = DEVICE_SPECIFIC,
2148 .usb_ctrl = DEVICE_SPECIFIC,
2195 .usb_ctrl = DEVICE_SPECIFIC,
2242 .usb_ctrl = DEVICE_SPECIFIC,
2297 .usb_ctrl = DEVICE_SPECIFIC,
2344 .usb_ctrl = DEVICE_SPECIFIC,
2425 .usb_ctrl = DEVICE_SPECIFIC,
2478 .usb_ctrl = DEVICE_SPECIFIC,
[all …]
H A Ddibusb-mc.c71 .usb_ctrl = CYPRESS_FX2,
H A Dumt-010.c100 .usb_ctrl = CYPRESS_FX2,
H A Dttusb2.c655 .usb_ctrl = CYPRESS_FX2,
710 .usb_ctrl = CYPRESS_FX2,
765 .usb_ctrl = CYPRESS_FX2,
H A Dnova-t-usb2.c179 .usb_ctrl = CYPRESS_FX2,
H A Ddtv5100.c178 .usb_ctrl = DEVICE_SPECIFIC,
H A Dvp7045.c193 .usb_ctrl = CYPRESS_FX2,
H A Ddvb-usb.h289 int usb_ctrl; member
H A Ddigitv.c312 .usb_ctrl = CYPRESS_FX2,
H A Dgp8psk.c335 .usb_ctrl = CYPRESS_FX2,
H A Dpctv452e.c973 .usb_ctrl = DEVICE_SPECIFIC,
1025 .usb_ctrl = DEVICE_SPECIFIC,
/openbmc/linux/Documentation/devicetree/bindings/usb/
H A Damlogic,meson-g12a-usb-ctrl.yaml128 - const: usb_ctrl
148 - const: usb_ctrl
173 - const: usb_ctrl
192 - const: usb_ctrl
/openbmc/u-boot/arch/arm/include/asm/arch-lpc32xx/
H A Dclk.h40 u32 usb_ctrl; /* USB Control Register */ member
/openbmc/linux/drivers/usb/host/
H A Dehci-fsl.c418 u32 usb_ctrl; member
592 ehci_fsl->usb_ctrl = ioread32be(non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_drv_suspend()
615 iowrite32be(ehci_fsl->usb_ctrl, non_ehci + FSL_SOC_USB_CTRL); in ehci_fsl_drv_resume()

12