Home
last modified time | relevance | path

Searched refs:socid (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/mips/mediatek/
H A Dmtk_pinctrl.c162 uint32_t socid; in mtk_pinctrl_configure() local
169 socid = mtk_soc_get_socid(); in mtk_pinctrl_configure()
171 switch (socid) { in mtk_pinctrl_configure()
H A Dmtk_pcie.c219 sc->socid = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in mtk_pci_probe()
220 if (sc->socid == MTK_SOC_UNKNOWN) in mtk_pci_probe()
251 if (sc->socid == MTK_SOC_MT7621) in mtk_pci_attach()
790 switch (sc->socid) { in mtk_pcie_phy_init()
810 device_printf(dev, "unsupported device %x\n", sc->socid); in mtk_pcie_phy_init()
828 if (sc->socid == MTK_SOC_MT7621 && in mtk_pcie_phy_start()
849 if (sc->socid == MTK_SOC_MT7621 && in mtk_pcie_phy_stop()
1216 if (sc->socid == MTK_SOC_MT7620A || sc->socid == MTK_SOC_MT7628 || in mtk_pcie_phy_setup_slots()
1217 sc->socid == MTK_SOC_MT7688 || sc->socid == MTK_SOC_MT7621) in mtk_pcie_phy_setup_slots()
H A Dmtk_usb_phy.c57 uint32_t socid; member
102 if ((sc->socid = in mtk_usb_phy_probe()
160 switch (sc->socid) { in mtk_usb_phy_attach()
H A Dmtk_pcie.h61 uint32_t socid; member