Lines Matching refs:adapter_t

853 }adapter_t;  typedef
858 adapter_t *hostdata_addr;
940 static int mega_query_adapter(adapter_t *);
941 static int issue_scb(adapter_t *, scb_t *);
942 static int mega_setup_mailbox(adapter_t *);
945 static scb_t * mega_build_cmd(adapter_t *, struct scsi_cmnd *, int *);
946 static void __mega_runpendq(adapter_t *);
947 static int issue_scb_block(adapter_t *, u_char *);
952 static void mega_free_scb(adapter_t *, scb_t *);
956 static int megaraid_abort_and_reset(adapter_t *, struct scsi_cmnd *, int);
960 static int mega_build_sglist (adapter_t *adapter, scb_t *scb,
962 static int __mega_busywait_mbox (adapter_t *);
963 static void mega_rundoneq (adapter_t *);
964 static void mega_cmd_done(adapter_t *, u8 [], int, int);
965 static inline void mega_free_sgl (adapter_t *adapter);
974 static int mega_init_scb (adapter_t *);
976 static int mega_is_bios_enabled (adapter_t *);
980 static int mega_adapinq(adapter_t *, dma_addr_t);
981 static int mega_internal_dev_inquiry(adapter_t *, u8, u8, dma_addr_t);
984 static int mega_support_ext_cdb(adapter_t *);
985 static mega_passthru* mega_prepare_passthru(adapter_t *, scb_t *,
987 static mega_ext_passthru* mega_prepare_extpassthru(adapter_t *,
989 static void mega_enum_raid_scsi(adapter_t *);
990 static void mega_get_boot_drv(adapter_t *);
991 static int mega_support_random_del(adapter_t *);
992 static int mega_del_logdrv(adapter_t *, int);
993 static int mega_do_del_logdrv(adapter_t *, int);
994 static void mega_get_max_sgl(adapter_t *);
995 static int mega_internal_command(adapter_t *, megacmd_t *, mega_passthru *);
996 static int mega_support_cluster(adapter_t *);