Home
last modified time | relevance | path

Searched refs:usbss (Results 1 – 11 of 11) sorted by relevance

/linux-6.12.1/drivers/usb/typec/mux/
Dwcd939x-usbss.c240 static int wcd939x_usbss_set(struct wcd939x_usbss *usbss) in wcd939x_usbss_set() argument
242 bool reverse = (usbss->orientation == TYPEC_ORIENTATION_REVERSE); in wcd939x_usbss_set()
249 if (usbss->mode < TYPEC_STATE_MODAL || in wcd939x_usbss_set()
250 (!usbss->svid && (usbss->mode == TYPEC_MODE_USB2 || in wcd939x_usbss_set()
251 usbss->mode == TYPEC_MODE_USB3))) { in wcd939x_usbss_set()
253 } else if (usbss->svid) { in wcd939x_usbss_set()
254 switch (usbss->mode) { in wcd939x_usbss_set()
271 } else if (usbss->mode == TYPEC_MODE_AUDIO) { in wcd939x_usbss_set()
278 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SETTINGS_ENABLE, in wcd939x_usbss_set()
290 ret = regmap_clear_bits(usbss->regmap, WCD_USBSS_SWITCH_SELECT0, in wcd939x_usbss_set()
[all …]
DMakefile10 obj-$(CONFIG_TYPEC_MUX_WCD939X_USBSS) += wcd939x-usbss.o
DKconfig77 If compiled as a module, the module will be named wcd939x-usbss.
/linux-6.12.1/drivers/usb/dwc3/
Ddwc3-keystone.c38 void __iomem *usbss; member
56 val = kdwc3_readl(kdwc->usbss, USBSS_IRQENABLE_SET_0); in kdwc3_enable_irqs()
58 kdwc3_writel(kdwc->usbss, USBSS_IRQENABLE_SET_0, val); in kdwc3_enable_irqs()
65 val = kdwc3_readl(kdwc->usbss, USBSS_IRQENABLE_SET_0); in kdwc3_disable_irqs()
67 kdwc3_writel(kdwc->usbss, USBSS_IRQENABLE_SET_0, val); in kdwc3_disable_irqs()
74 kdwc3_writel(kdwc->usbss, USBSS_IRQENABLE_CLR_0, USBSS_IRQ_COREIRQ_CLR); in dwc3_keystone_interrupt()
75 kdwc3_writel(kdwc->usbss, USBSS_IRQSTATUS_0, USBSS_IRQ_EVENT_ST); in dwc3_keystone_interrupt()
76 kdwc3_writel(kdwc->usbss, USBSS_IRQENABLE_SET_0, USBSS_IRQ_COREIRQ_EN); in dwc3_keystone_interrupt()
77 kdwc3_writel(kdwc->usbss, USBSS_IRQ_EOI, USBSS_IRQ_EOI_LINE(0)); in dwc3_keystone_interrupt()
97 kdwc->usbss = devm_platform_ioremap_resource(pdev, 0); in kdwc3_probe()
[all …]
Ddwc3-am62.c113 void __iomem *usbss; member
140 return readl((am62->usbss) + offset); in dwc3_ti_readl()
145 writel(value, (am62->usbss) + offset); in dwc3_ti_writel()
204 am62->usbss = devm_platform_ioremap_resource(pdev, 0); in dwc3_ti_probe()
205 if (IS_ERR(am62->usbss)) { in dwc3_ti_probe()
207 return PTR_ERR(am62->usbss); in dwc3_ti_probe()
/linux-6.12.1/drivers/usb/cdns3/
Dcdns3-ti.c56 void __iomem *usbss; member
81 return readl(data->usbss + offset); in cdns_ti_readl()
86 writel(value, data->usbss + offset); in cdns_ti_writel()
119 data->usbss = devm_platform_ioremap_resource(pdev, 0); in cdns_ti_probe()
120 if (IS_ERR(data->usbss)) { in cdns_ti_probe()
122 return PTR_ERR(data->usbss); in cdns_ti_probe()
/linux-6.12.1/include/dt-bindings/usb/
Dpd.h341 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
345 | (vps) << 4 | (sopp) << 3 | ((usbss) & 0x7))
425 #define VDO_AMA(hw, fw, tx1d, tx2d, rx1d, rx2d, vcpwr, vcr, vbr, usbss) \ argument
429 | ((usbss) & 0x7))
/linux-6.12.1/include/linux/usb/
Dpd_vdo.h371 #define VDO_CABLE(hw, fw, cbl, lat, term, tx1d, tx2d, rx1d, rx2d, cur, vps, sopp, usbss) \ argument
375 | (vps) << 4 | (sopp) << 3 | ((usbss) & 0x7))
458 #define VDO_AMA(hw, fw, tx1d, tx2d, rx1d, rx2d, vcpwr, vcr, vbr, usbss) \ argument
462 | ((usbss) & 0x7))
/linux-6.12.1/Documentation/devicetree/bindings/usb/
Dam33xx-usb.txt4 - reg: offset and length of the usbss register sets
/linux-6.12.1/arch/arm64/boot/dts/qcom/
Dsm8650-qrd.dts756 compatible = "qcom,wcd9395-usbss", "qcom,wcd9390-usbss";
Dsm8650-hdk.dts829 compatible = "qcom,wcd9395-usbss", "qcom,wcd9390-usbss";