Home
last modified time | relevance | path

Searched refs:hwreset_get_by_ofw_name (Results 1 – 25 of 28) sorted by relevance

12

/freebsd/sys/dev/usb/controller/
H A Dxlnx_dwc3.c105 if (hwreset_get_by_ofw_name(dev, node, "usb_crst", &sc->rst_crst) == 0) { in xlnx_dwc3_attach()
111 if (hwreset_get_by_ofw_name(dev, node, "usb_hibrst", &sc->rst_hibrst) == 0) { in xlnx_dwc3_attach()
117 if (hwreset_get_by_ofw_name(dev, node, "usb_apbrst", &sc->rst_apbrst) == 0) { in xlnx_dwc3_attach()
/freebsd/sys/arm/qualcomm/
H A Dipq4018_usb_hs_phy.c131 rv = hwreset_get_by_ofw_name(sc->dev, node, "por_rst", &por_rst); in ipq4018_usb_hs_usbphy_init_phy()
136 rv = hwreset_get_by_ofw_name(sc->dev, node, "srif_rst", &srif_rst); in ipq4018_usb_hs_usbphy_init_phy()
H A Dipq4018_usb_ss_phy.c119 rv = hwreset_get_by_ofw_name(sc->dev, node, "por_rst", &por_rst); in ipq4018_usb_ss_usbphy_init_phy()
/freebsd/sys/arm64/rockchip/
H A Drk_typec_phy.c393 if (hwreset_get_by_ofw_name(dev, 0, "uphy", &sc->rst_uphy) != 0) { in rk_typec_phy_attach()
397 if (hwreset_get_by_ofw_name(dev, 0, "uphy-pipe", &sc->rst_pipe) != 0) { in rk_typec_phy_attach()
401 if (hwreset_get_by_ofw_name(dev, 0, "uphy-tcphy", &sc->rst_tcphy) != 0) { in rk_typec_phy_attach()
H A Drk_pcie.c677 rv = hwreset_get_by_ofw_name(sc->dev, 0, "core", &sc->hwreset_core); in rk_pcie_parse_fdt_resources()
682 rv = hwreset_get_by_ofw_name(sc->dev, 0, "mgmt", &sc->hwreset_mgmt); in rk_pcie_parse_fdt_resources()
687 rv = hwreset_get_by_ofw_name(sc->dev, 0, "mgmt-sticky", in rk_pcie_parse_fdt_resources()
693 rv = hwreset_get_by_ofw_name(sc->dev, 0, "pipe", &sc->hwreset_pipe); in rk_pcie_parse_fdt_resources()
698 rv = hwreset_get_by_ofw_name(sc->dev, 0, "pm", &sc->hwreset_pm); in rk_pcie_parse_fdt_resources()
703 rv = hwreset_get_by_ofw_name(sc->dev, 0, "aclk", &sc->hwreset_aclk); in rk_pcie_parse_fdt_resources()
708 rv = hwreset_get_by_ofw_name(sc->dev, 0, "pclk", &sc->hwreset_pclk); in rk_pcie_parse_fdt_resources()
H A Drk_usbphy.c168 rv = hwreset_get_by_ofw_name(sc->dev, node, "phy-reset", &hwreset); in rk_usbphy_init_phy()
H A Drk_pcie_phy.c309 rv = hwreset_get_by_ofw_name(sc->dev, 0, "phy", &sc->hwreset_phy); in rk_pcie_phy_attach()
H A Drk3568_pcie.c311 if (hwreset_get_by_ofw_name(dev, 0, "pipe", &sc->hwreset)) { in rk3568_pcie_attach()
/freebsd/sys/dev/hwreset/
H A Dhwreset.h58 int hwreset_get_by_ofw_name(device_t consumer_dev, phandle_t node, char *name,
H A Dhwreset.c148 hwreset_get_by_ofw_name(device_t consumer_dev, phandle_t cnode, char *name, in hwreset_get_by_ofw_name() function
/freebsd/sys/dev/usb/controller/dwc3/
H A Daw_dwc3.c109 if (hwreset_get_by_ofw_name(dev, node, "bus", &sc->rst_bus) == 0) { in aw_dwc3_attach()
H A Drk_dwc3.c166 if (hwreset_get_by_ofw_name(dev, node, "usb3-otg", &sc->rst_usb3) == 0) { in rk_dwc3_attach()
/freebsd/sys/arm/nvidia/
H A Dtegra_uart.c193 rv = hwreset_get_by_ofw_name(dev, 0, "serial", &sc->reset); in tegra_uart_probe()
H A Dtegra_usbphy.c734 rv = hwreset_get_by_ofw_name(sc->dev, 0, "usb", &sc->reset_usb); in usbphy_attach()
739 rv = hwreset_get_by_ofw_name(sc->dev, 0, "utmi-pads", &sc->reset_pads); in usbphy_attach()
H A Dtegra_pcie.c1016 rv = hwreset_get_by_ofw_name(sc->dev, 0, "pex", &sc->hwreset_pex); in tegra_pcib_parse_fdt_resources()
1021 rv = hwreset_get_by_ofw_name(sc->dev, 0, "afi", &sc->hwreset_afi); in tegra_pcib_parse_fdt_resources()
1026 rv = hwreset_get_by_ofw_name(sc->dev, 0, "pcie_x", &sc->hwreset_pcie_x); in tegra_pcib_parse_fdt_resources()
H A Dtegra_sdhci.c290 rv = hwreset_get_by_ofw_name(sc->dev, 0, "sdhci", &sc->reset); in tegra_sdhci_attach()
H A Dtegra_efuse.c467 rv = hwreset_get_by_ofw_name(sc->dev, 0, "fuse", &sc->reset); in tegra_efuse_attach()
H A Dtegra_soctherm.c731 rv = hwreset_get_by_ofw_name(dev, 0, "soctherm", &sc->reset); in soctherm_attach()
H A Dtegra_i2c.c671 rv = hwreset_get_by_ofw_name(sc->dev, 0, "i2c", &sc->reset); in tegra_i2c_attach()
/freebsd/sys/dev/dwc/
H A Dif_dwc.c450 rv = hwreset_get_by_ofw_name(sc->dev, 0, "stmmaceth", &sc->rst_stmmaceth); in dwc_reset_deassert()
462 rv = hwreset_get_by_ofw_name(sc->dev, 0, "ahb", &sc->rst_ahb); in dwc_reset_deassert()
/freebsd/sys/arm/nvidia/drm2/
H A Dtegra_host1x.c478 rv = hwreset_get_by_ofw_name(sc->dev, 0, "host1x", &sc->reset); in host1x_new_pass()
/freebsd/sys/arm/allwinner/
H A Dif_awg.c1632 error = hwreset_get_by_ofw_name(dev, 0, "stmmaceth", &rst_ahb); in awg_setup_extres()
1634 error = hwreset_get_by_ofw_name(dev, 0, "ahb", &rst_ahb); in awg_setup_extres()
1639 if (hwreset_get_by_ofw_name(dev, 0, "ephy", &rst_ephy) != 0) in awg_setup_extres()
/freebsd/sys/dev/etherswitch/ar40xx/
H A Dar40xx_main.c392 ret = hwreset_get_by_ofw_name(dev, 0, "ess_rst", &sc->sc_ess_rst); in ar40xx_attach()
/freebsd/sys/arm64/nvidia/tegra210/
H A Dtegra210_xusbpadctl.c1704 rv = hwreset_get_by_ofw_name(sc->dev, node, pad->reset_name, in process_pad()
1911 rv = hwreset_get_by_ofw_name(dev, 0, "padctl", &sc->rst); in xusbpadctl_attach()
/freebsd/sys/arm/nvidia/tegra124/
H A Dtegra124_xusbpadctl.c1156 rv = hwreset_get_by_ofw_name(dev, 0, "padctl", &sc->rst); in xusbpadctl_attach()

12