Home
last modified time | relevance | path

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

/freebsd/sys/dev/qcom_gcc/
H A Dqcom_gcc_ipq4018_reset.c56 static const struct qcom_gcc_ipq4018_reset_entry gcc_ipq4019_reset_list[] = { variable
138 if (id > nitems(gcc_ipq4019_reset_list)) { in qcom_gcc_ipq4018_hwreset_assert()
144 reg = bus_read_4(sc->reg, gcc_ipq4019_reset_list[id].reg); in qcom_gcc_ipq4018_hwreset_assert()
146 reg |= (1U << gcc_ipq4019_reset_list[id].bit); in qcom_gcc_ipq4018_hwreset_assert()
148 reg &= ~(1U << gcc_ipq4019_reset_list[id].bit); in qcom_gcc_ipq4018_hwreset_assert()
149 bus_write_4(sc->reg, gcc_ipq4019_reset_list[id].reg, reg); in qcom_gcc_ipq4018_hwreset_assert()
162 if (id > nitems(gcc_ipq4019_reset_list)) { in qcom_gcc_ipq4018_hwreset_is_asserted()
167 reg = bus_read_4(sc->reg, gcc_ipq4019_reset_list[id].reg); in qcom_gcc_ipq4018_hwreset_is_asserted()
168 if (reg & ((1U << gcc_ipq4019_reset_list[id].bit))) in qcom_gcc_ipq4018_hwreset_is_asserted()