Lines Matching defs:sym_hcb

797 struct sym_hcb {  struct
805 struct sym_ccbh ccb_head;
806 struct sym_tcbh tcb_head;
807 struct sym_lcbh lcb_head;
813 struct sym_actscr idletask, notask, bad_itl, bad_itlq;
814 u32 idletask_ba, notask_ba, bad_itl_ba, bad_itlq_ba;
820 u32 *badluntbl; /* Table physical address */
821 u32 badlun_sa; /* SCRIPT handler BUS address */
826 u32 hcb_ba;
833 u32 scr_ram_seg;
840 u_char sv_scntl0, sv_scntl3, sv_dmode, sv_dcntl, sv_ctest3, sv_ctest4,
841 sv_ctest5, sv_gpcntl, sv_stest2, sv_stest4, sv_scntl4,
842 sv_stest1;
849 u_char rv_scntl0, rv_scntl3, rv_dmode, rv_dcntl, rv_ctest3, rv_ctest4,
850 rv_ctest5, rv_stest2, rv_ccntl0, rv_ccntl1, rv_scntl4;
855 struct sym_tcb target[SYM_CONF_MAX_TARGET];
861 u32 *targtbl;
862 u32 targtbl_ba;
867 m_pool_ident_t bus_dmat;
872 struct sym_shcb s;
877 u32 mmio_ba; /* MMIO 32 bit BUS address */
878 u32 ram_ba; /* RAM 32 bit BUS address */
903 void (*fw_setup)(struct sym_hcb *np, struct sym_fw *fw); argument
904 void (*fw_patch)(struct Scsi_Host *);
905 char *fw_name;
910 u_int features; /* Chip features map */
911 u_char myaddr; /* SCSI id of the adapter */
912 u_char maxburst; /* log base 2 of dwords burst */
913 u_char maxwide; /* Maximum transfer width */
914 u_char minsync; /* Min sync period factor (ST) */
915 u_char maxsync; /* Max sync period factor (ST) */
916 u_char maxoffs; /* Max scsi offset (ST) */
917 u_char minsync_dt; /* Min sync period factor (DT) */
918 u_char maxsync_dt; /* Max sync period factor (DT) */
919 u_char maxoffs_dt; /* Max scsi offset (DT) */
920 u_char multiplier; /* Clock multiplier (1,2,4) */
921 u_char clock_divn; /* Number of clock divisors */
922 u32 clock_khz; /* SCSI clock frequency in KHz */
923 u32 pciclk_khz; /* Estimated PCI clock in KHz */
930 u32 *squeue; /* Start queue virtual address */
931 u32 squeue_ba; /* Start queue BUS address */
932 u_short squeueput; /* Next free slot of the queue */
933 u_short actccbs; /* Number of allocated CCBs */
939 u_short dqueueget; /* Next position to scan */
941 u32 *dqueue; /* Completion (done) queue */
942 u32 dqueue_ba; /* Done queue BUS address */
949 u_char msgout[8]; /* Buffer for MESSAGE OUT */
950 u_char msgin [8]; /* Buffer for MESSAGE IN */
951 u32 lastmsg; /* Last SCSI message sent */
952 u32 scratch; /* Scratch for SCSI receive */
957 u_char usrflags; /* Miscellaneous user flags */
958 u_char scsi_mode; /* Current SCSI BUS mode */
959 u_char verbose; /* Verbosity for this controller*/
964 struct sym_ccb **ccbh; /* CCBs hashed by DSA value */
966 SYM_QUEHEAD free_ccbq; /* Queue of available CCBs */
967 SYM_QUEHEAD busy_ccbq; /* Queue of busy CCBs */
975 SYM_QUEHEAD comp_ccbq;
978 SYM_QUEHEAD dummy_ccbq;
994 u_short iarb_max; /* Max. # consecutive IARB hints*/
995 u_short iarb_count; /* Actual # of these hints */
996 struct sym_ccb * last_cp;
1004 u_char abrt_msg[4]; /* Message to send buffer */
1005 struct sym_tblmove abrt_tbl; /* Table for the MOV of it */
1029 #define HCB_BA(np, lbl) (np->hcb_ba + offsetof(struct sym_hcb, lbl)) argument