Home
last modified time | relevance | path

Searched refs:hwtype (Results 1 – 17 of 17) sorted by relevance

/freebsd-13.1/sys/arm64/coresight/
H A Dcoresight_funnel.c68 if (sc->hwtype == HWTYPE_STATIC_FUNNEL) in funnel_init()
86 if (sc->hwtype == HWTYPE_STATIC_FUNNEL) in funnel_enable()
106 if (sc->hwtype == HWTYPE_STATIC_FUNNEL) in funnel_disable()
121 if (sc->hwtype == HWTYPE_FUNNEL && in funnel_attach()
H A Dcoresight_funnel_fdt.c67 sc->hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in funnel_fdt_probe()
68 switch (sc->hwtype) { in funnel_fdt_probe()
H A Dcoresight_funnel_acpi.c66 sc->hwtype = HWTYPE_STATIC_FUNNEL; in funnel_acpi_probe()
74 sc->hwtype = HWTYPE_FUNNEL; in funnel_acpi_probe()
H A Dcoresight_funnel.h75 int hwtype; member
/freebsd-13.1/sys/dev/usb/controller/
H A Dehci_mv.c150 enum mv_ehci_hwtype hwtype; in mv_ehci_attach() local
161 hwtype = ofw_bus_search_compatible(self, compat_data)->ocd_data; in mv_ehci_attach()
162 if (hwtype == HWTYPE_NONE) { in mv_ehci_attach()
195 if (hwtype == HWTYPE_MV_EHCI_V1) { in mv_ehci_attach()
228 if (hwtype == HWTYPE_MV_EHCI_V1) { in mv_ehci_attach()
/freebsd-13.1/sys/dev/sdhci/
H A Dfsl_sdhci.c94 uint8_t hwtype; member
265 if (sc->hwtype == HWTYPE_USDHC) { in fsl_sdhci_read_2()
280 } else if (sc->hwtype == HWTYPE_ESDHC) { in fsl_sdhci_read_2()
472 if (sc->hwtype == HWTYPE_USDHC) { in fsl_sdhci_write_2()
481 } else if (sc->hwtype == HWTYPE_ESDHC) { in fsl_sdhci_write_2()
557 if (sc->hwtype == HWTYPE_ESDHC) { in fsl_sdhc_get_clock()
582 if (sc->hwtype == HWTYPE_ESDHC) { in fsl_sdhc_set_clock()
840 sc->hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in fsl_sdhci_attach()
841 if (sc->hwtype == HWTYPE_NONE) in fsl_sdhci_attach()
/freebsd-13.1/sys/arm/freescale/vybrid/
H A Dvf_i2c.c128 uintptr_t hwtype; member
186 sc->hwtype = ofw_bus_search_compatible(dev, i2c_compat_data)->ocd_data; in i2c_attach()
454 if (sc->hwtype == HW_MVF600) in i2c_get_div_val()
475 if (sc->hwtype == HW_VF610) in i2c_get_div_val()
/freebsd-13.1/sys/dev/mmc/host/
H A Ddwmmc_hisi.c74 sc->hwtype = HWTYPE_HISILICON; in hisi_dwmmc_attach()
H A Ddwmmc_altera.c76 sc->hwtype = HWTYPE_ALTERA; in altera_dwmmc_attach()
H A Ddwmmc_var.h69 uint32_t hwtype; member
H A Ddwmmc_rockchip.c88 sc->hwtype = HWTYPE_ROCKCHIP; in rockchip_dwmmc_attach()
H A Ddwmmc_samsung.c81 sc->hwtype = HWTYPE_EXYNOS; in samsung_dwmmc_attach()
H A Ddwmmc.c913 if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_EXYNOS) { in dwmmc_update_ios()
1112 if ((sc->hwtype & HWTYPE_MASK) == HWTYPE_ROCKCHIP) in dwmmc_start_cmd()
/freebsd-13.1/sys/dev/xdma/controller/
H A Dpl330.c317 int hwtype; in pl330_probe() local
322 hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in pl330_probe()
323 if (hwtype == HWTYPE_NONE) in pl330_probe()
/freebsd-13.1/sys/dev/altera/msgdma/
H A Dmsgdma.c220 int hwtype; in msgdma_probe() local
225 hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in msgdma_probe()
226 if (hwtype == HWTYPE_NONE) in msgdma_probe()
/freebsd-13.1/sys/dev/xilinx/
H A Daxidma.c247 int hwtype; in axidma_probe() local
252 hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in axidma_probe()
253 if (hwtype == HWTYPE_NONE) in axidma_probe()
/freebsd-13.1/sys/dev/cadence/
H A Dif_cgem.c1743 int hwtype; in cgem_attach() local
1753 hwtype = ofw_bus_search_compatible(dev, compat_data)->ocd_data; in cgem_attach()
1754 if (hwtype == HWTYPE_ZYNQMP) in cgem_attach()
1756 if (hwtype == HWTYPE_ZYNQ) in cgem_attach()
1760 if (hwtype == HWTYPE_ZYNQ || hwtype == HWTYPE_ZYNQMP) { in cgem_attach()
1766 } else if (hwtype == HWTYPE_SIFIVE) { in cgem_attach()