Lines Matching +full:cam +full:- +full:0
1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2011 HighPoint Technologies, Inc.
35 #define DBG 0
71 #include <cam/cam.h>
72 #include <cam/cam_ccb.h>
73 #include <cam/cam_sim.h>
74 #include <cam/cam_xpt_sim.h>
75 #include <cam/cam_debug.h>
76 #include <cam/cam_xpt_periph.h>
77 #include <cam/cam_periph.h>
78 #include <cam/scsi/scsi_all.h>
79 #include <cam/scsi/scsi_message.h>
181 unsigned long vbus[0] __attribute__((aligned(sizeof(unsigned long))));
185 #define hpt_lock_vbus(vbus_ext) mtx_lock(&(vbus_ext)->lock)
186 #define hpt_unlock_vbus(vbus_ext) mtx_unlock(&(vbus_ext)->lock)
187 #define hpt_assert_vbus_locked(vbus_ext) mtx_assert(&(vbus_ext)->lock, MA_OWNED)
192 #define HPT_DO_IOCONTROL _IOW('H', 0, HPT_IOCTL_PARAM)
200 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()