Lines Matching refs:adapter_t

84 static int megaraid_io_attach(adapter_t *);
85 static void megaraid_io_detach(adapter_t *);
87 static int megaraid_init_mbox(adapter_t *);
88 static void megaraid_fini_mbox(adapter_t *);
90 static int megaraid_alloc_cmd_packets(adapter_t *);
91 static void megaraid_free_cmd_packets(adapter_t *);
93 static int megaraid_mbox_setup_dma_pools(adapter_t *);
94 static void megaraid_mbox_teardown_dma_pools(adapter_t *);
96 static int megaraid_sysfs_alloc_resources(adapter_t *);
97 static void megaraid_sysfs_free_resources(adapter_t *);
102 static int mbox_post_sync_cmd(adapter_t *, uint8_t []);
103 static int mbox_post_sync_cmd_fast(adapter_t *, uint8_t []);
105 static int megaraid_mbox_product_info(adapter_t *);
106 static int megaraid_mbox_extended_cdb(adapter_t *);
107 static int megaraid_mbox_support_ha(adapter_t *, uint16_t *);
108 static int megaraid_mbox_support_random_del(adapter_t *);
109 static int megaraid_mbox_get_max_sg(adapter_t *);
110 static void megaraid_mbox_enum_raid_scsi(adapter_t *);
111 static void megaraid_mbox_flush_cache(adapter_t *);
112 static int megaraid_mbox_fire_sync_cmd(adapter_t *);
114 static void megaraid_mbox_display_scb(adapter_t *, scb_t *);
115 static void megaraid_mbox_setup_device_map(adapter_t *);
118 static scb_t *megaraid_mbox_build_cmd(adapter_t *, struct scsi_cmnd *, int *);
119 static void megaraid_mbox_runpendq(adapter_t *, scb_t *);
120 static void megaraid_mbox_prepare_pthru(adapter_t *, scb_t *,
122 static void megaraid_mbox_prepare_epthru(adapter_t *, scb_t *,
132 static int megaraid_cmm_register(adapter_t *);
133 static int megaraid_cmm_unregister(adapter_t *);
135 static int megaraid_mbox_mm_command(adapter_t *, uioc_t *);
136 static void megaraid_mbox_mm_done(adapter_t *, scb_t *);
137 static int gather_hbainfo(adapter_t *, mraid_hba_info_t *);
138 static int wait_till_fw_empty(adapter_t *);
418 adapter_t *adapter; in megaraid_probe_one()
441 adapter = kzalloc(sizeof(adapter_t), GFP_KERNEL); in megaraid_probe_one()
540 adapter_t *adapter; in megaraid_detach_one()
602 adapter_t *adapter = pci_get_drvdata(pdev); in megaraid_mbox_shutdown()
628 megaraid_io_attach(adapter_t *adapter) in megaraid_io_attach()
680 megaraid_io_detach(adapter_t *adapter) in megaraid_io_detach()
711 megaraid_init_mbox(adapter_t *adapter) in megaraid_init_mbox()
924 megaraid_fini_mbox(adapter_t *adapter) in megaraid_fini_mbox()
959 megaraid_alloc_cmd_packets(adapter_t *adapter) in megaraid_alloc_cmd_packets()
1118 megaraid_free_cmd_packets(adapter_t *adapter) in megaraid_free_cmd_packets()
1143 megaraid_mbox_setup_dma_pools(adapter_t *adapter) in megaraid_mbox_setup_dma_pools()
1239 megaraid_mbox_teardown_dma_pools(adapter_t *adapter) in megaraid_mbox_teardown_dma_pools()
1287 megaraid_alloc_scb(adapter_t *adapter, struct scsi_cmnd *scp) in megaraid_alloc_scb()
1325 megaraid_dealloc_scb(adapter_t *adapter, scb_t *scb) in megaraid_dealloc_scb()
1350 megaraid_mbox_mksgl(adapter_t *adapter, scb_t *scb) in megaraid_mbox_mksgl()
1389 mbox_post_cmd(adapter_t *adapter, scb_t *scb) in mbox_post_cmd()
1460 adapter_t *adapter; in megaraid_queue_command_lck()
1501 megaraid_mbox_build_cmd(adapter_t *adapter, struct scsi_cmnd *scp, int *busy) in DEF_SCSI_QCMD()
1885 megaraid_mbox_runpendq(adapter_t *adapter, scb_t *scb_q) in megaraid_mbox_runpendq()
1956 megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, in megaraid_mbox_prepare_pthru()
2005 megaraid_mbox_prepare_epthru(adapter_t *adapter, scb_t *scb, in megaraid_mbox_prepare_epthru()
2054 megaraid_ack_sequence(adapter_t *adapter) in megaraid_ack_sequence()
2169 adapter_t *adapter = devp; in megaraid_isr()
2191 megaraid_mbox_sync_scb(adapter_t *adapter, scb_t *scb) in megaraid_mbox_sync_scb()
2219 adapter_t *adapter = (adapter_t *)devp; in megaraid_mbox_dpc()
2434 adapter_t *adapter; in megaraid_abort_handler()
2572 adapter_t *adapter; in megaraid_reset_handler()
2725 mbox_post_sync_cmd(adapter_t *adapter, uint8_t raw_mbox[]) in mbox_post_sync_cmd()
2858 mbox_post_sync_cmd_fast(adapter_t *adapter, uint8_t raw_mbox[]) in mbox_post_sync_cmd_fast()
2933 megaraid_mbox_product_info(adapter_t *adapter) in megaraid_mbox_product_info()
3057 megaraid_mbox_extended_cdb(adapter_t *adapter) in megaraid_mbox_extended_cdb()
3093 megaraid_mbox_support_ha(adapter_t *adapter, uint16_t *init_id) in megaraid_mbox_support_ha()
3136 megaraid_mbox_support_random_del(adapter_t *adapter) in megaraid_mbox_support_random_del()
3188 megaraid_mbox_get_max_sg(adapter_t *adapter) in megaraid_mbox_get_max_sg()
3228 megaraid_mbox_enum_raid_scsi(adapter_t *adapter) in megaraid_mbox_enum_raid_scsi()
3264 megaraid_mbox_flush_cache(adapter_t *adapter) in megaraid_mbox_flush_cache()
3297 megaraid_mbox_fire_sync_cmd(adapter_t *adapter) in megaraid_mbox_fire_sync_cmd()
3378 megaraid_mbox_display_scb(adapter_t *adapter, scb_t *scb) in megaraid_mbox_display_scb()
3425 megaraid_mbox_setup_device_map(adapter_t *adapter) in megaraid_mbox_setup_device_map()
3468 megaraid_cmm_register(adapter_t *adapter) in megaraid_cmm_register()
3556 megaraid_cmm_unregister(adapter_t *adapter) in megaraid_cmm_unregister()
3577 adapter_t *adapter; in megaraid_mbox_mm_handler()
3586 adapter = (adapter_t *)drvr_data; in megaraid_mbox_mm_handler()
3627 megaraid_mbox_mm_command(adapter_t *adapter, uioc_t *kioc) in megaraid_mbox_mm_command()
3713 wait_till_fw_empty(adapter_t *adapter) in wait_till_fw_empty()
3751 megaraid_mbox_mm_done(adapter_t *adapter, scb_t *scb) in megaraid_mbox_mm_done()
3795 gather_hbainfo(adapter_t *adapter, mraid_hba_info_t *hinfo) in gather_hbainfo()
3837 megaraid_sysfs_alloc_resources(adapter_t *adapter) in megaraid_sysfs_alloc_resources()
3876 megaraid_sysfs_free_resources(adapter_t *adapter) in megaraid_sysfs_free_resources()
3899 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_done()
3920 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_timeout()
3947 megaraid_sysfs_get_ldmap(adapter_t *adapter) in megaraid_sysfs_get_ldmap()
4056 adapter_t *adapter = (adapter_t *)SCSIHOST2ADAP(shost); in megaraid_sysfs_show_app_hndl()
4084 adapter_t *adapter = (adapter_t *)SCSIHOST2ADAP(sdev->host); in megaraid_sysfs_show_ldnum()