Lines Matching +full:target +full:- +full:rpm

1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
30 * Structure and I/O definitions for the Command Interface for SCSI-3 Support.
32 * Data in command CDBs are in big-endian format. All other data is little-endian.
33 * This header only supports little-endian hosts at this time.
40 u_int32_t target:24; /* SCSI target */ member
43 u_int32_t extra_address; /* SCSI-3 level-2 and level-3 address bytes */
110 #define CISS_SCSI_STATUS_GOOD 0x00 /* these are scsi-standard values */
174 u_int32_t list_size; /* big-endian */
187 u_int16_t cylinders; /* big-endian */
198 u_int32_t length; /* big-endian */
238 * CISS vendor-specific commands/messages.
240 * Note that while messages and vendor-specific commands are
255 u_int16_t timeout; /* seconds, little-endian */
262 u_int32_t length; /* must be 512, little-endian */
364 u_int32_t timestamp; /* seconds since controller power-on */
471 * publically-available documentation for the older controllers; note
490 * drives 0-7 are on the first SCSI bus, 8-15 on the second,
499 #define CISS_BIG_MAP_ID(sc, bus, target) \ argument
501 ((sc)->ciss_id->drives_per_scsi_bus * (bus)) | \
502 (target))
505 (((id) & 0x80) ? (((id) & ~0x80) / (sc)->ciss_id->drives_per_scsi_bus) : -1)
508 (((id) & 0x80) ? (((id) & ~0x80) % (sc)->ciss_id->drives_per_scsi_bus) : -1)
524 * Note that the phys_drive/res1 field is nominally the 32-bit
526 * implemented overload the MSB (note big-endian format here)
535 u_int16_t size; /* big-endian */
705 u_int16_t usOffsetToENDbitmap; /* Offset to extended non-disk map */
774 u_int16_t rpm; member
831 bus_space_read_4(sc->ciss_regs_btag, sc->ciss_regs_bhandle, ofs)
833 bus_space_write_4(sc->ciss_regs_btag, sc->ciss_regs_bhandle, ofs, val)
841 …ERF_POST_CMD(sc, cr) CISS_TL_SIMPLE_WRITE(sc, CISS_TL_SIMPLE_IPQ, cr->cr_ccphys | (cr)->cr_sg_tag)
846 /* Only need one MSI/MSI-X vector */
851 CISS_TL_SIMPLE_READ(sc, CISS_TL_SIMPLE_IMR) | (sc)->ciss_interrupt_mask)
854 CISS_TL_SIMPLE_READ(sc, CISS_TL_SIMPLE_IMR) & ~(sc)->ciss_interrupt_mask)