Lines Matching +full:0 +full:xcd00
28 #define QSCRATCH_HS_PHY_CTRL 0x10
32 #define QSCRATCH_SS_PHY_CTRL 0x30
35 #define QSCRATCH_GENERAL_CFG 0x08
36 #define PIPE_UTMI_CLK_SEL BIT(0)
40 #define PWR_EVNT_IRQ_STAT_REG 0x58
44 #define SDM845_QSCRATCH_BASE_OFFSET 0xf8800
45 #define SDM845_QSCRATCH_SIZE 0x400
46 #define SDM845_DWC3_CORE_SIZE 0xcd00
53 #define APPS_USB_AVG_BW 0
166 return 0; in dwc3_qcom_register_extcon()
168 qcom->edev = extcon_get_edev_by_phandle(dev, 0); in dwc3_qcom_register_extcon()
181 if (ret < 0) { in dwc3_qcom_register_extcon()
194 if (ret < 0) { in dwc3_qcom_register_extcon()
206 return 0; in dwc3_qcom_register_extcon()
252 return 0; in dwc3_qcom_interconnect_init()
286 return 0; in dwc3_qcom_interconnect_init()
337 * USB2.0 root hub via usb_hub_for_each_child(). DWC3 code in dwc3_qcom_read_usb2_speed()
392 dwc3_qcom_enable_wakeup_irq(qcom->hs_phy_irq, 0); in dwc3_qcom_enable_interrupts()
417 dwc3_qcom_enable_wakeup_irq(qcom->ss_phy_irq, 0); in dwc3_qcom_enable_interrupts()
426 return 0; in dwc3_qcom_suspend()
432 for (i = qcom->num_clocks - 1; i >= 0; i--) in dwc3_qcom_suspend()
450 return 0; in dwc3_qcom_suspend()
459 return 0; in dwc3_qcom_resume()
464 for (i = 0; i < qcom->num_clocks; i++) { in dwc3_qcom_resume()
466 if (ret < 0) { in dwc3_qcom_resume()
467 while (--i >= 0) in dwc3_qcom_resume()
483 return 0; in dwc3_qcom_resume()
547 if (irq > 0) { in dwc3_qcom_setup_irq()
563 if (irq > 0) { in dwc3_qcom_setup_irq()
578 if (irq > 0) { in dwc3_qcom_setup_irq()
593 if (irq > 0) { in dwc3_qcom_setup_irq()
606 return 0; in dwc3_qcom_setup_irq()
616 return 0; in dwc3_qcom_clk_init()
618 if (count < 0) in dwc3_qcom_clk_init()
628 for (i = 0; i < qcom->num_clocks; i++) { in dwc3_qcom_clk_init()
634 while (--i >= 0) in dwc3_qcom_clk_init()
640 if (ret < 0) { in dwc3_qcom_clk_init()
641 while (--i >= 0) { in dwc3_qcom_clk_init()
653 return 0; in dwc3_qcom_clk_init()
691 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_qcom_acpi_register_core()
698 child_res[0].flags = res->flags; in dwc3_qcom_acpi_register_core()
699 child_res[0].start = res->start; in dwc3_qcom_acpi_register_core()
700 child_res[0].end = child_res[0].start + in dwc3_qcom_acpi_register_core()
703 irq = platform_get_irq(pdev_irq, 0); in dwc3_qcom_acpi_register_core()
704 if (irq < 0) { in dwc3_qcom_acpi_register_core()
718 if (ret < 0) { in dwc3_qcom_acpi_register_core()
730 return 0; in dwc3_qcom_acpi_register_core()
866 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in dwc3_qcom_probe()
947 return 0; in dwc3_qcom_probe()
963 for (i = qcom->num_clocks - 1; i >= 0; i--) { in dwc3_qcom_probe()
989 for (i = qcom->num_clocks - 1; i >= 0; i--) { in dwc3_qcom_remove()
993 qcom->num_clocks = 0; in dwc3_qcom_remove()
1012 return 0; in dwc3_qcom_pm_suspend()
1027 return 0; in dwc3_qcom_pm_resume()