Lines Matching +full:0 +full:xcd00

27 #define QSCRATCH_HS_PHY_CTRL			0x10
31 #define QSCRATCH_SS_PHY_CTRL 0x30
34 #define QSCRATCH_GENERAL_CFG 0x08
35 #define PIPE_UTMI_CLK_SEL BIT(0)
39 #define PWR_EVNT_IRQ_STAT_REG 0x58
43 #define SDM845_QSCRATCH_BASE_OFFSET 0xf8800
44 #define SDM845_QSCRATCH_SIZE 0x400
45 #define SDM845_DWC3_CORE_SIZE 0xcd00
52 #define APPS_USB_AVG_BW 0
162 return 0; in dwc3_qcom_register_extcon()
164 qcom->edev = extcon_get_edev_by_phandle(dev, 0); in dwc3_qcom_register_extcon()
176 if (ret < 0) { in dwc3_qcom_register_extcon()
189 if (ret < 0) { in dwc3_qcom_register_extcon()
201 return 0; in dwc3_qcom_register_extcon()
279 return 0; in dwc3_qcom_interconnect_init()
346 return 0; in dwc3_qcom_suspend()
352 for (i = qcom->num_clocks - 1; i >= 0; i--) in dwc3_qcom_suspend()
362 return 0; in dwc3_qcom_suspend()
371 return 0; in dwc3_qcom_resume()
375 for (i = 0; i < qcom->num_clocks; i++) { in dwc3_qcom_resume()
377 if (ret < 0) { in dwc3_qcom_resume()
378 while (--i >= 0) in dwc3_qcom_resume()
394 return 0; in dwc3_qcom_resume()
452 if (irq > 0) { in dwc3_qcom_setup_irq()
468 if (irq > 0) { in dwc3_qcom_setup_irq()
483 if (irq > 0) { in dwc3_qcom_setup_irq()
498 if (irq > 0) { in dwc3_qcom_setup_irq()
511 return 0; in dwc3_qcom_setup_irq()
521 return 0; in dwc3_qcom_clk_init()
523 if (count < 0) in dwc3_qcom_clk_init()
533 for (i = 0; i < qcom->num_clocks; i++) { in dwc3_qcom_clk_init()
539 while (--i >= 0) in dwc3_qcom_clk_init()
545 if (ret < 0) { in dwc3_qcom_clk_init()
546 while (--i >= 0) { in dwc3_qcom_clk_init()
558 return 0; in dwc3_qcom_clk_init()
588 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_qcom_acpi_register_core()
595 child_res[0].flags = res->flags; in dwc3_qcom_acpi_register_core()
596 child_res[0].start = res->start; in dwc3_qcom_acpi_register_core()
597 child_res[0].end = child_res[0].start + in dwc3_qcom_acpi_register_core()
600 irq = platform_get_irq(pdev, 0); in dwc3_qcom_acpi_register_core()
612 if (ret < 0) { in dwc3_qcom_acpi_register_core()
651 return 0; in dwc3_qcom_of_register_core()
705 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_qcom_probe()
773 return 0; in dwc3_qcom_probe()
783 for (i = qcom->num_clocks - 1; i >= 0; i--) { in dwc3_qcom_probe()
801 for (i = qcom->num_clocks - 1; i >= 0; i--) { in dwc3_qcom_remove()
805 qcom->num_clocks = 0; in dwc3_qcom_remove()
813 return 0; in dwc3_qcom_remove()
819 int ret = 0; in dwc3_qcom_pm_suspend()