Lines Matching +full:i +full:- +full:drive

1 /* SPDX-License-Identifier: GPL-2.0 */
13 * Driver features - change the values to enable or disable features in the
18 * Command coalescing - This feature allows the driver to be able to combine
19 * two or more commands and issue as one command in order to boost I/O
20 * performance. Useful if the nature of the I/O is sequential. It is not very
21 * useful for random natured I/Os.
26 * Clustering support - Set this flag if you are planning to use the
33 * Driver statistics - Set this flag if you are interested in statics about
34 * number of I/O completed on each logical drive and how many interrupts
42 * Enhanced /proc interface - This feature will allow you to have a more
215 #define SCB_ISSUED 0x0004 /* issued - owner f/w */
254 u8 param_id; /* Param modified - defined below */
262 u8 ldrv_opcmd; /* ldrv operation - defined below */
280 u8 targ_xfer_counter; /* Indicates SCSI-2 Xfer rate change */
304 u8 notify_rsvd[MAX_NOTIFY_SIZE - CUR_NOTIFY_SIZE];
306 u8 rebuild_rate; /* Rebuild rate (0% - 100%) */
309 u8 drive_insert_count; /* drive insertion count */
332 u8 rebuild_rate; /* Rebuild rate - 0% thru 100% */
345 u8 drive_inserted_count; /* Increase with every drive inserted
347 u8 inserted_drive; /* Channel:Id of inserted drive */
354 * 00 - charge complete
355 * 01 - fast charge in progress
356 * 10 - fast charge fail
357 * 11 - undefined
419 u8 status; /* Status of the logical drive */
439 u8 sync_neg; /* sync negotiation - ENABLE or DISABLE */
554 * Vendor specific Group-7 commands
592 void __user *__uaddr; /* xferaddr for non-mbox cmds */
597 #define MBOX_P(uioc) ((megacmd_t __user *)&((uioc)->__ua.__raw_mbox[0]))
600 u32 xferlen; /* xferlen for DCMD and non-mbox
607 * I/O statistics for some applications like SNMP agent. The caller must
614 each logical drive */
617 drive */
620 drive */
623 logical drive */
626 logical drive */
629 logical drive */
635 * bits 0-3 - BIOS geometry
636 * 0x0001 - 1GB
637 * 0x0010 - 2GB
638 * 0x1000 - 8GB
641 u8 unused:4; /* bits 4-7 are unused */
643 * logical drive set as boot drive
644 * 0..7 - for 8LD cards
645 * 0..39 - for 40LD cards
648 u16 cksum; /* 0-(sum of first 13 bytes of this structure) */
687 #define OP_DEL_LOGDRV 0x1C /* delete logical drive */
732 * Physical drive states.
742 * Raid logical drive states.
765 (&((struct megaraid_cmd_priv *)scsi_cmd_priv(scp))->entry)
780 return &container_of(cmd_priv, struct scsi_cmd_and_priv, priv)->cmd; in megaraid_to_scsi_cmd()
794 /* mbox64 with mbox not aligned on 16-byte boundary */
798 volatile mbox64_t *mbox64;/* ptr to 64-bit mailbox */
840 int has_64bit_addr; /* are we using 64-bit addressing */
844 int boot_pdrv_enabled; /* boot from physical drive */
845 int boot_pdrv_ch; /* boot physical drive channel */
846 int boot_pdrv_tgt; /* boot physical drive target */
851 int read_ldidmap; /* set after logical drive deltion. The
852 logical drive number must be read from the
855 drive needs to be done. Stop
860 u8 logdrv_chan[MAX_CHANNELS+NVIRT_CHAN]; /* logical drive are on
864 u8 sglen; /* f/w supported scatter-gather list length */
905 * Parameters for the io-mapped controllers
908 /* I/O Port offsets */
921 /* I/O Port Values */
933 outb_p(ISSUE_BYTE, (adapter)->base + CMD_PORT)
935 #define irq_state(adapter) inb_p((adapter)->base + INTR_PORT)
938 outb_p((value), (adapter)->base + INTR_PORT)
941 outb_p(ACK_BYTE, (adapter)->base + ACK_PORT)
944 outb_p(ENABLE_INTR_BYTE, (adapter)->base + TOGGLE_PORT)
947 outb_p(DISABLE_INTR_BYTE, (adapter)->base + TOGGLE_PORT)
951 * This is our SYSDEP area. All kernel specific detail should be placed here -