Lines Matching defs:sym_hcb

810 struct sym_hcb {  struct
818 struct sym_ccbh ccb_head;
819 struct sym_tcbh tcb_head;
820 struct sym_lcbh lcb_head;
826 struct sym_actscr idletask, notask, bad_itl, bad_itlq;
827 u32 idletask_ba, notask_ba, bad_itl_ba, bad_itlq_ba;
833 u32 *badluntbl; /* Table physical address */
834 u32 badlun_sa; /* SCRIPT handler BUS address */
839 u32 hcb_ba;
846 u32 scr_ram_seg;
853 u_char sv_scntl0, sv_scntl3, sv_dmode, sv_dcntl, sv_ctest3, sv_ctest4,
854 sv_ctest5, sv_gpcntl, sv_stest2, sv_stest4, sv_scntl4,
855 sv_stest1;
862 u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
863 rv_ctest5, rv_stest2, rv_ccntl0, rv_ccntl1, rv_scntl4;
868 struct sym_tcb target[SYM_CONF_MAX_TARGET];
874 u32 *targtbl;
875 u32 targtbl_ba;
880 m_pool_ident_t bus_dmat;
885 struct sym_shcb s;
890 u32 mmio_ba; /* MMIO 32 bit BUS address */
891 u32 ram_ba; /* RAM 32 bit BUS address */
916 void (*fw_setup)(struct sym_hcb *np, struct sym_fw *fw); argument
917 void (*fw_patch)(struct Scsi_Host *);
918 char *fw_name;
923 u_int features; /* Chip features map */
924 u_char myaddr; /* SCSI id of the adapter */
925 u_char maxburst; /* log base 2 of dwords burst */
926 u_char maxwide; /* Maximum transfer width */
927 u_char minsync; /* Min sync period factor (ST) */
928 u_char maxsync; /* Max sync period factor (ST) */
929 u_char maxoffs; /* Max scsi offset (ST) */
930 u_char minsync_dt; /* Min sync period factor (DT) */
931 u_char maxsync_dt; /* Max sync period factor (DT) */
932 u_char maxoffs_dt; /* Max scsi offset (DT) */
933 u_char multiplier; /* Clock multiplier (1,2,4) */
934 u_char clock_divn; /* Number of clock divisors */
935 u32 clock_khz; /* SCSI clock frequency in KHz */
936 u32 pciclk_khz; /* Estimated PCI clock in KHz */
943 u32 *squeue; /* Start queue virtual address */
944 u32 squeue_ba; /* Start queue BUS address */
945 u_short squeueput; /* Next free slot of the queue */
946 u_short actccbs; /* Number of allocated CCBs */
952 u_short dqueueget; /* Next position to scan */
954 u32 *dqueue; /* Completion (done) queue */
955 u32 dqueue_ba; /* Done queue BUS address */
962 u_char msgout[8]; /* Buffer for MESSAGE OUT */
963 u_char msgin [8]; /* Buffer for MESSAGE IN */
964 u32 lastmsg; /* Last SCSI message sent */
965 u32 scratch; /* Scratch for SCSI receive */
970 u_char usrflags; /* Miscellaneous user flags */
971 u_char scsi_mode; /* Current SCSI BUS mode */
972 u_char verbose; /* Verbosity for this controller*/
977 struct sym_ccb **ccbh; /* CCBs hashed by DSA value */
979 SYM_QUEHEAD free_ccbq; /* Queue of available CCBs */
980 SYM_QUEHEAD busy_ccbq; /* Queue of busy CCBs */
988 SYM_QUEHEAD comp_ccbq;
991 SYM_QUEHEAD dummy_ccbq;
1007 u_short iarb_max; /* Max. # consecutive IARB hints*/
1008 u_short iarb_count; /* Actual # of these hints */
1009 struct sym_ccb * last_cp;
1017 u_char abrt_msg[4]; /* Message to send buffer */
1018 struct sym_tblmove abrt_tbl; /* Table for the MOV of it */
1042 #define HCB_BA(np, lbl) (np->hcb_ba + offsetof(struct sym_hcb, lbl)) argument