Lines Matching +full:cam +full:- +full:0
2 /*-
3 * SPDX-License-Identifier: BSD-2-Clause
6 * Copyright (C) 2005-2011 HighPoint Technologies, Inc. All Rights Reserved.
37 #define DBG 0
73 #include <cam/cam.h>
74 #include <cam/cam_ccb.h>
75 #include <cam/cam_sim.h>
76 #include <cam/cam_xpt_sim.h>
77 #include <cam/cam_debug.h>
78 #include <cam/cam_xpt_periph.h>
79 #include <cam/cam_periph.h>
80 #include <cam/scsi/scsi_all.h>
81 #include <cam/scsi/scsi_message.h>
185 unsigned long vbus[0] __attribute__((aligned(sizeof(unsigned long))));
189 #define hpt_lock_vbus(vbus_ext) mtx_lock(&(vbus_ext)->lock)
190 #define hpt_unlock_vbus(vbus_ext) mtx_unlock(&(vbus_ext)->lock)
191 #define hpt_assert_vbus_locked(vbus_ext) mtx_assert(&(vbus_ext)->lock, MA_OWNED)
196 #define HPT_DO_IOCONTROL _IOW('H', 0, HPT_IOCTL_PARAM)
204 return msleep(ident, &vbus_ext->lock, priority, wmesg, timo); in hpt_sleep()