Lines Matching +full:cam +full:- +full:0
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
39 #define DBG 0
74 #include <cam/cam.h>
75 #include <cam/cam_ccb.h>
76 #include <cam/cam_sim.h>
77 #include <cam/cam_xpt_sim.h>
78 #include <cam/cam_debug.h>
79 #include <cam/cam_periph.h>
80 #include <cam/scsi/scsi_all.h>
81 #include <cam/scsi/scsi_message.h>
186 unsigned long vbus[0] __attribute__((aligned(sizeof(unsigned long))));
190 #define hpt_lock_vbus(vbus_ext) mtx_lock(&(vbus_ext)->lock)
191 #define hpt_unlock_vbus(vbus_ext) mtx_unlock(&(vbus_ext)->lock)
192 #define hpt_assert_vbus_locked(vbus_ext) mtx_assert(&(vbus_ext)->lock, MA_OWNED)
197 #define HPT_DO_IOCONTROL _IOW('H', 0, HPT_IOCTL_PARAM)
205 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()