Lines Matching +full:entry +full:- +full:address
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
77 /* Command retry count (0-65535) */
85 /* ISP request and response entry counts (37-65535) */
95 /* NOTE: the sp->cmd will be NULL when this completion is
126 #define ISP_CFG1_F128 BIT_6 /* 128-byte FIFO threshold */
127 #define ISP_CFG1_F64 BIT_4|BIT_5 /* 128-byte FIFO threshold */
128 #define ISP_CFG1_F32 BIT_5 /* 128-byte FIFO threshold */
129 #define ISP_CFG1_F16 BIT_4 /* 128-byte FIFO threshold */
139 #define PCI_64BIT_SLOT BIT_14 /* PCI 64-bit slot indicator. */
150 uint16_t flash_address; /* Flash BIOS address */
159 #define CDMA_CONF_DIR BIT_0 /* DMA direction (0=fifo->host 1=host->fifo) */
176 #define DDMA_CONF_DIR BIT_0 /* DMA direction (0=fifo->host 1=host->fifo) */
198 uint16_t unused_4[0x20];/* 0x80-0xbf Gap */
204 uint16_t unused_5[0x5]; /* 0xc2-0xcb Gap */
209 uint16_t unused_6[0x11]; /* d0-f0 */
236 * ISP mailbox Self-Test status codes
261 #define MBA_WAKEUP_THRES 0x8005 /* Request Queue Wake-up. */
503 * ISP queue - command entry structure definition.
507 uint8_t entry_type; /* Entry type. */
508 #define COMMAND_TYPE 1 /* Command entry */
509 uint8_t entry_count; /* Entry count. */
511 uint8_t entry_status; /* Entry Status. */
521 __le32 dseg_0_address; /* Data segment 0 address. */
523 __le32 dseg_1_address; /* Data segment 1 address. */
525 __le32 dseg_2_address; /* Data segment 2 address. */
527 __le32 dseg_3_address; /* Data segment 3 address. */
532 * ISP queue - continuation entry structure definition.
535 uint8_t entry_type; /* Entry type. */
536 #define CONTINUE_TYPE 2 /* Continuation entry. */
537 uint8_t entry_count; /* Entry count. */
539 uint8_t entry_status; /* Entry Status. */
541 __le32 dseg_0_address; /* Data segment 0 address. */
543 __le32 dseg_1_address; /* Data segment 1 address. */
545 __le32 dseg_2_address; /* Data segment 2 address. */
547 __le32 dseg_3_address; /* Data segment 3 address. */
549 __le32 dseg_4_address; /* Data segment 4 address. */
551 __le32 dseg_5_address; /* Data segment 5 address. */
553 __le32 dseg_6_address; /* Data segment 6 address. */
558 * ISP queue - status entry structure definition.
561 uint8_t entry_type; /* Entry type. */
562 #define STATUS_TYPE 3 /* Status entry. */
563 uint8_t entry_count; /* Entry count. */
565 uint8_t entry_status; /* Entry Status. */
590 * ISP queue - marker entry structure definition.
593 uint8_t entry_type; /* Entry type. */
594 #define MARKER_TYPE 4 /* Marker entry. */
595 uint8_t entry_count; /* Entry count. */
597 uint8_t entry_status; /* Entry Status. */
601 uint8_t modifier; /* Modifier (7-0). */
609 * ISP queue - extended command entry structure definition.
614 uint8_t entry_type; /* Entry type. */
615 #define EXTENDED_CMD_TYPE 5 /* Extended command entry. */
616 uint8_t entry_count; /* Entry count. */
618 uint8_t entry_status; /* Entry Status. */
631 * ISP queue - 64-Bit addressing, command entry structure definition.
634 uint8_t entry_type; /* Entry type. */
635 #define COMMAND_A64_TYPE 9 /* Command A64 entry */
636 uint8_t entry_count; /* Entry count. */
638 uint8_t entry_status; /* Entry Status. */
649 __le32 dseg_0_address[2]; /* Data segment 0 address. */
651 __le32 dseg_1_address[2]; /* Data segment 1 address. */
656 * ISP queue - 64-Bit addressing, continuation entry structure definition.
659 uint8_t entry_type; /* Entry type. */
660 #define CONTINUE_A64_TYPE 0xA /* Continuation A64 entry. */
661 uint8_t entry_count; /* Entry count. */
663 uint8_t entry_status; /* Entry Status. */
664 __le32 dseg_0_address[2]; /* Data segment 0 address. */
666 __le32 dseg_1_address[2]; /* Data segment 1 address. */
668 __le32 dseg_2_address[2]; /* Data segment 2 address. */
670 __le32 dseg_3_address[2]; /* Data segment 3 address. */
672 __le32 dseg_4_address[2]; /* Data segment 4 address. */
677 * ISP queue - enable LUN entry structure definition.
680 uint8_t entry_type; /* Entry type. */
681 #define ENABLE_LUN_TYPE 0xB /* Enable LUN entry. */
682 uint8_t entry_count; /* Entry count. */
684 uint8_t entry_status; /* Entry Status not used. */
695 /* commands (2-26). */
697 /* commands (2-26). */
703 * ISP queue - modify LUN entry structure definition.
708 uint8_t entry_type; /* Entry type. */
709 #define MODIFY_LUN_TYPE 0xC /* Modify LUN entry. */
710 uint8_t entry_count; /* Entry count. */
712 uint8_t entry_status; /* Entry Status. */
730 * ISP queue - immediate notify entry structure definition.
733 uint8_t entry_type; /* Entry type. */
734 #define IMMED_NOTIFY_TYPE 0xD /* Immediate notify entry. */
735 uint8_t entry_count; /* Entry count. */
737 uint8_t entry_status; /* Entry Status. */
756 * ISP queue - notify acknowledge entry structure definition.
759 uint8_t entry_type; /* Entry type. */
760 #define NOTIFY_ACK_TYPE 0xE /* Notify acknowledge entry. */
761 uint8_t entry_count; /* Entry count. */
763 uint8_t entry_status; /* Entry Status. */
777 * ISP queue - Accept Target I/O (ATIO) entry structure definition.
780 uint8_t entry_type; /* Entry type. */
781 #define ACCEPT_TGT_IO_TYPE 6 /* Accept target I/O entry. */
782 uint8_t entry_count; /* Entry count. */
784 uint8_t entry_status; /* Entry Status. */
800 * ISP queue - Continue Target I/O (CTIO) entry structure definition.
803 uint8_t entry_type; /* Entry type. */
804 #define CONTINUE_TGT_IO_TYPE 7 /* CTIO entry */
805 uint8_t entry_count; /* Entry count. */
807 uint8_t entry_status; /* Entry Status. */
822 __le32 dseg_0_address; /* Data segment 0 address. */
824 __le32 dseg_1_address; /* Data segment 1 address. */
826 __le32 dseg_2_address; /* Data segment 2 address. */
828 __le32 dseg_3_address; /* Data segment 3 address. */
833 * ISP queue - CTIO returned entry structure definition.
836 uint8_t entry_type; /* Entry type. */
837 #define CTIO_RET_TYPE 7 /* CTIO return entry */
838 uint8_t entry_count; /* Entry count. */
840 uint8_t entry_status; /* Entry Status. */
855 __le32 dseg_0_address; /* Data segment 0 address. */
857 __le32 dseg_1_address; /* Data segment 1 address. */
863 * ISP queue - CTIO A64 entry structure definition.
866 uint8_t entry_type; /* Entry type. */
867 #define CTIO_A64_TYPE 0xF /* CTIO A64 entry */
868 uint8_t entry_count; /* Entry count. */
870 uint8_t entry_status; /* Entry Status. */
886 __le32 dseg_0_address[2];/* Data segment 0 address. */
888 __le32 dseg_1_address[2];/* Data segment 1 address. */
893 * ISP queue - CTIO returned entry structure definition.
896 uint8_t entry_type; /* Entry type. */
897 #define CTIO_A64_RET_TYPE 0xF /* CTIO A64 returned entry */
898 uint8_t entry_count; /* Entry count. */
900 uint8_t entry_status; /* Entry Status. */
920 * ISP request and response queue entry sizes
926 * ISP status entry - completion status definitions.
953 #define CS_INV_ENTRY_TYPE 0x1b /* Invalid entry type */
963 * ISP target entries - Option flags bit definitions.
979 * BUS parameters/settings structure - UNUSED
1014 struct device_reg __iomem *iobase; /* Base Memory-mapped I/O address */
1016 unsigned char __iomem *mmpbase; /* memory mapped address */
1036 dma_addr_t request_dma; /* Physical Address */
1037 request_t *request_ring; /* Base virtual address */
1038 request_t *request_ring_ptr; /* Current address. */
1042 dma_addr_t response_dma; /* Physical address. */
1043 struct response *response_ring; /* Base virtual address */
1044 struct response *response_ring_ptr; /* Current address. */
1065 unsigned short fwstart; /* start address for F/W */