Home
last modified time | relevance | path

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

/freebsd/sys/dev/isp/
H A Disp_freebsd.h296 #define isp_lock isp_osinfo.lock macro
303 #define ISP_LOCK(isp) mtx_lock(&(isp)->isp_lock)
304 #define ISP_UNLOCK(isp) mtx_unlock(&(isp)->isp_lock)
305 #define ISP_ASSERT_LOCKED(isp) mtx_assert(&(isp)->isp_lock, MA_OWNED)
317 &(isp)->isp_lock, 0, "isp_sleep", (x) * SBT_1US, 0, 0)
H A Disp_pci.c479 mtx_init(&isp->isp_lock, "isp", NULL, MTX_DEF); in isp_pci_attach()
672 mtx_destroy(&isp->isp_lock); in isp_pci_attach()
710 mtx_destroy(&isp->isp_lock); in isp_pci_detach()
1105 busdma_lock_mutex, &isp->isp_lock, &isp->isp_osinfo.dmat)) in isp_pci_mbxdma()
1121 callout_init_mtx(&pcmd->wdog, &isp->isp_lock, 0); in isp_pci_mbxdma()
H A Disp_freebsd.c122 device_get_unit(isp->isp_dev), &isp->isp_lock, in isp_attach_chan()
145 callout_init_mtx(&fc->gdt, &isp->isp_lock, 0); in isp_attach_chan()
239 mtx_sleep(&fc->num_threads, &isp->isp_lock, PRIBIO, "isp_reap", 0); in isp_detach_chan()
263 callout_init_mtx(&isp->isp_osinfo.tmo, &isp->isp_lock, 0); in isp_attach()
2277 msleep(fc, &isp->isp_lock, PRIBIO, "ispf", slp * hz); in isp_kthread()
3122 callout_init_mtx(&tp->timer, &isp->isp_lock, 0); in isp_async()
H A Disp_library.c2157 msleep(resp, &isp->isp_lock, 0, "isprqa", 1); in isp_exec_entry_queue()
2165 msleep(resp, &isp->isp_lock, 0, "ispha", 1); in isp_exec_entry_queue()
2174 if (msleep(resp, &isp->isp_lock, 0, "ispeeq", timeout) != 0) { in isp_exec_entry_queue()