Home
last modified time | relevance | path

Searched refs:rst_ahb (Results 1 – 2 of 2) sorted by relevance

/f-stack/freebsd/arm/allwinner/
H A Daw_spi.c149 hwreset_t rst_ahb; member
213 if (hwreset_get_by_ofw_idx(dev, 0, 0, &sc->rst_ahb) == 0) { in aw_spi_attach()
214 error = hwreset_deassert(sc->rst_ahb); in aw_spi_attach()
267 if (sc->rst_ahb) in aw_spi_detach()
268 hwreset_assert(sc->rst_ahb); in aw_spi_detach()
H A Dif_awg.c1615 hwreset_t rst_ahb, rst_ephy; in awg_setup_extres() local
1622 rst_ahb = rst_ephy = NULL; in awg_setup_extres()
1635 error = hwreset_get_by_ofw_name(dev, 0, "stmmaceth", &rst_ahb); in awg_setup_extres()
1637 error = hwreset_get_by_ofw_name(dev, 0, "ahb", &rst_ahb); in awg_setup_extres()
1683 error = hwreset_deassert(rst_ahb); in awg_setup_extres()
1747 if (rst_ahb != NULL) in awg_setup_extres()
1748 hwreset_release(rst_ahb); in awg_setup_extres()