Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dcommands.h282 #define SCSI_READ16(Sr16_Addr) \ argument
283 (((uint16_t)*((uint8_t *)(Sr16_Addr)) << 8) | \
284 ((uint16_t)*((uint8_t *)(Sr16_Addr)+1)))
322 #define SCSI_WRITE16(Sr16_Addr, Sr16_Val) \ argument
323 *((uint8_t *)(Sr16_Addr)) = (((uint16_t)(Sr16_Val) >> 8) & 0xff), \
324 *((uint8_t *)(Sr16_Addr)+1) = ((uint16_t)(Sr16_Val) & 0xff)