Searched refs:amr_hw_lock (Results 1 – 3 of 3) sorted by relevance
394 if (mtx_initialized(&sc->amr_hw_lock)) in amr_free()395 mtx_destroy(&sc->amr_hw_lock); in amr_free()1475 mtx_lock(&sc->amr_hw_lock); in amr_quartz_poll_command1()1479 msleep(sc, &sc->amr_hw_lock, PRIBIO | PCATCH, "amrpoll", hz); in amr_quartz_poll_command1()1487 mtx_unlock(&sc->amr_hw_lock); in amr_quartz_poll_command1()1523 mtx_unlock(&sc->amr_hw_lock); in amr_quartz_poll_command1()2054 mtx_lock(&sc->amr_hw_lock); in amr_quartz_submit_command()2061 mtx_unlock(&sc->amr_hw_lock); in amr_quartz_submit_command()2084 mtx_unlock(&sc->amr_hw_lock); in amr_quartz_submit_command()2095 mtx_lock(&sc->amr_hw_lock); in amr_std_submit_command()[all …]
262 struct mtx amr_hw_lock; member
314 mtx_init(&sc->amr_hw_lock, "AMR HW Lock", NULL, MTX_DEF); in amr_pci_attach()