Lines Matching defs:emul64

34 #include <sys/emul64.h>
47 #define CNUM(emul64) (ddi_get_instance(emul64->emul64_tran.tran_dev))
68 * Default emul64 scsi-options
186 #define EMUL64_REQ_MUTEX(emul64) (&emul64->emul64_request_mutex)
187 #define EMUL64_RESP_MUTEX(emul64) (&emul64->emul64_response_mutex)
188 #define EMUL64_HOTPLUG_MUTEX(emul64) (&emul64->emul64_hotplug_mutex)
191 #define EMUL64_MUTEX_ENTER(emul64) mutex_enter(EMUL64_RESP_MUTEX(emul64)), \
192 mutex_enter(EMUL64_REQ_MUTEX(emul64))
193 #define EMUL64_MUTEX_EXIT(emul64) mutex_exit(EMUL64_RESP_MUTEX(emul64)), \
194 mutex_exit(EMUL64_REQ_MUTEX(emul64))
196 #define EMUL64_CV(emul64) (&(emul64)->emul64_cv)
206 #define TRAN2EMUL64(tran) ((struct emul64 *)(tran)->tran_hba_private)
271 * emul64 softstate structure
294 struct emul64 {
323 * scsi options, scsi_tag_age_limit per emul64
330 * scsi_reset_delay per emul64
380 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
381 emul64::emul64_queue_space))
382 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
383 emul64::emul64_request_in))
384 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
385 emul64::emul64_request_out))
386 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
387 emul64::emul64_request_ptr))
388 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
389 emul64::emul64_mbox))
390 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_request_mutex,
391 emul64::emul64_slots))
393 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_response_mutex,
394 emul64::emul64_response_in))
395 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_response_mutex,
396 emul64::emul64_response_out))
397 _NOTE(MUTEX_PROTECTS_DATA(emul64::emul64_response_mutex,
398 emul64::emul64_response_ptr))