Lines Matching defs:byte

77 #define outp(port, byte)         outb((byte), (port))
133 * Narrow boards only support 12-byte commands, while wide boards
134 * extend to 16-byte commands.
878 #define ADV_MEM_WRITEB(addr, byte) writeb(byte, addr)
958 uchar reserved1; /* reserved byte (not used) */
1408 #define QUEUE_128 0x0400 /* Queue Size, 1: 128 byte, 0: 64 byte */
1439 * bus mode override bits [12:10] have been moved to byte register
1739 * All fields in this structure up to byte 60 are used by the microcode.
1761 uchar scsi_status; /* SCSI status byte. */
1791 * Both structures must be 32 byte aligned.
1890 /* Read byte from a register. */
1894 /* Write byte to a register. */
1895 #define AdvWriteByteRegister(iop_base, reg_off, byte) \
1896 (ADV_MEM_WRITEB((iop_base) + (reg_off), (byte)))
1910 /* Read byte from LRAM. */
1911 #define AdvReadByteLram(iop_base, addr, byte) \
1914 (byte) = ADV_MEM_READB((iop_base) + IOPB_RAM_DATA); \
1917 /* Write byte to LRAM. */
1918 #define AdvWriteByteLram(iop_base, addr, byte) \
1920 ADV_MEM_WRITEB((iop_base) + IOPB_RAM_DATA, (byte)))
2089 #define STATUS_BYTE(byte) (byte)
2090 #define MSG_BYTE(byte) ((byte) << 8)
2091 #define HOST_BYTE(byte) ((byte) << 16)
2092 #define DRIVER_BYTE(byte) ((byte) << 24)
2235 unsigned int xfer_sect; /* # 512-byte blocks */
2439 * Print hexadecimal output in 4 byte groupings 32 bytes
3852 * is "transparently" byte-swapped by outpw() and written
4036 /* Ensure overrun buffer is aligned on an 8 byte boundary. */
4143 * 254 word (508 byte) table indexed by byte code followed
4144 * by the following byte codes:
4153 * FE WW WW: (3 byte code) Word to emit is the next word WW WW.
4154 * FF BB WW WW: (4 byte code) Emit BB count times next word WW WW.
4549 * device reports it is capable of in Inquiry byte 7.
4738 * MEM_CFG may be accessed as a word or byte, but only bits 0-7
4856 uchar byte;
4904 * Address : I/O base + offset 0x38h register (byte).
4933 byte = AdvReadByteRegister(iop_base, IOPB_RAM_BIST);
4934 if ((byte & RAM_TEST_DONE) == 0
4935 || (byte & 0x0F) != PRE_TEST_VALUE) {
4953 * If Done bit not set or Status not 0, save register byte, set the
4959 byte = AdvReadByteRegister(iop_base, IOPB_RAM_BIST);
4960 if ((byte & RAM_TEST_DONE) == 0 || (byte & RAM_TEST_STATUS) != 0) {
4962 asc_dvc->bist_err_code = byte; /* for BIOS display message */
5066 * device reports it is capable of in Inquiry byte 7.
5219 * MEM_CFG may be accessed as a word or byte, but only bits 0-7
5342 uchar byte;
5392 * Address : I/O base + offset 0x38h register (byte).
5421 byte = AdvReadByteRegister(iop_base, IOPB_RAM_BIST);
5422 if ((byte & RAM_TEST_DONE) == 0
5423 || (byte & 0x0F) != PRE_TEST_VALUE) {
5441 * If Done bit not set or Status not 0, save register byte, set the
5447 byte = AdvReadByteRegister(iop_base, IOPB_RAM_BIST);
5448 if ((byte & RAM_TEST_DONE) == 0 || (byte & RAM_TEST_STATUS) != 0) {
5450 asc_dvc->bist_err_code = byte; /* for BIOS display message */
5561 * device reports it is capable of in Inquiry byte 7.
5708 * MEM_CFG may be accessed as a word or byte, but only bits 0-7
6027 * status byte returned by host drivers right
6029 * use right shifted status byte definitions.
6034 * the status byte as it is defined by SCSI.
6133 * is passed the microcode ASC_MC_INTRB_CODE byte value.
6316 uchar byte;
6322 byte = (sdtr_period_ix << 4) | (syn_offset & ASC_SYN_MAX_OFFSET);
6323 return byte;
6795 * status byte returned by host drivers right
6797 * use right shifted status byte definitions.
6802 * the status byte as it is defined by SCSI.
7587 /* This is a byte value, otherwise it would need to be swapped. */
7727 * Multi-byte fields in the ADV_SCSI_REQ_Q that are used by the
7728 * microcode for DMA addresses or math operations are byte swapped
8369 * Multi-byte fields in the ADV_SCSI_REQ_Q that are used by the microcode
8370 * for DMA addresses or math operations are byte swapped to little-endian
10166 * Assume the 6 byte board serial number that was read from
10319 * Assume the 6 byte board serial number that was read from
10546 * Assume the 6 byte board serial number that was read from