Lines Matching refs:adapter_t

992 }adapter_t;  typedef
997 adapter_t *hostdata_addr;
1105 static int mega_query_adapter(adapter_t *);
1106 static inline int issue_scb(adapter_t *, scb_t *);
1107 static int mega_setup_mailbox(adapter_t *);
1110 static scb_t * mega_build_cmd(adapter_t *, Scsi_Cmnd *, int *);
1111 static inline scb_t *mega_allocate_scb(adapter_t *, Scsi_Cmnd *);
1112 static void __mega_runpendq(adapter_t *);
1113 static inline void mega_runpendq(adapter_t *);
1114 static int issue_scb_block(adapter_t *, u_char *);
1117 static inline void megaraid_memmbox_ack_sequence(adapter_t *);
1119 static inline void megaraid_iombox_ack_sequence(adapter_t *);
1121 static void mega_free_scb(adapter_t *, scb_t *);
1128 static int mega_build_sglist (adapter_t *adapter, scb_t *scb,
1130 static inline int mega_busywait_mbox (adapter_t *);
1131 static int __mega_busywait_mbox (adapter_t *);
1132 static inline void mega_cmd_done(adapter_t *, u8 [], int, int);
1133 static inline void mega_free_sgl (adapter_t *adapter);
1161 static int mega_init_scb (adapter_t *);
1163 static int mega_is_bios_enabled (adapter_t *);
1178 static int proc_pdrv(adapter_t *, char *, int);
1183 static int proc_rdrv(adapter_t *, char *, int, int);
1185 static int mega_adapinq(adapter_t *, dma_addr_t);
1186 static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t);
1192 static int mega_support_ext_cdb(adapter_t *);
1193 static mega_passthru* mega_prepare_passthru(adapter_t *, scb_t *,
1195 static mega_ext_passthru* mega_prepare_extpassthru(adapter_t *,
1197 static void mega_enum_raid_scsi(adapter_t *);
1198 static void mega_get_boot_drv(adapter_t *);
1199 static inline int mega_get_ldrv_num(adapter_t *, Scsi_Cmnd *, int);
1200 static int mega_support_random_del(adapter_t *);
1201 static int mega_del_logdrv(adapter_t *, int);
1202 static int mega_do_del_logdrv(adapter_t *, int);
1203 static void mega_get_max_sgl(adapter_t *);
1204 static int mega_internal_command(adapter_t *, lockscope_t, megacmd_t *,
1207 static int mega_support_cluster(adapter_t *);