Lines Matching refs:adapter_t
79 static int megaraid_io_attach(adapter_t *);
80 static void megaraid_io_detach(adapter_t *);
82 static int megaraid_init_mbox(adapter_t *);
83 static void megaraid_fini_mbox(adapter_t *);
85 static int megaraid_alloc_cmd_packets(adapter_t *);
86 static void megaraid_free_cmd_packets(adapter_t *);
88 static int megaraid_mbox_setup_dma_pools(adapter_t *);
89 static void megaraid_mbox_teardown_dma_pools(adapter_t *);
91 static int megaraid_sysfs_alloc_resources(adapter_t *);
92 static void megaraid_sysfs_free_resources(adapter_t *);
97 static int mbox_post_sync_cmd(adapter_t *, uint8_t []);
98 static int mbox_post_sync_cmd_fast(adapter_t *, uint8_t []);
100 static int megaraid_mbox_product_info(adapter_t *);
101 static int megaraid_mbox_extended_cdb(adapter_t *);
102 static int megaraid_mbox_support_ha(adapter_t *, uint16_t *);
103 static int megaraid_mbox_support_random_del(adapter_t *);
104 static int megaraid_mbox_get_max_sg(adapter_t *);
105 static void megaraid_mbox_enum_raid_scsi(adapter_t *);
106 static void megaraid_mbox_flush_cache(adapter_t *);
107 static int megaraid_mbox_fire_sync_cmd(adapter_t *);
109 static void megaraid_mbox_display_scb(adapter_t *, scb_t *);
110 static void megaraid_mbox_setup_device_map(adapter_t *);
113 static scb_t *megaraid_mbox_build_cmd(adapter_t *, struct scsi_cmnd *, int *);
114 static void megaraid_mbox_runpendq(adapter_t *, scb_t *);
115 static void megaraid_mbox_prepare_pthru(adapter_t *, scb_t *,
117 static void megaraid_mbox_prepare_epthru(adapter_t *, scb_t *,
127 static int megaraid_cmm_register(adapter_t *);
128 static int megaraid_cmm_unregister(adapter_t *);
130 static int megaraid_mbox_mm_command(adapter_t *, uioc_t *);
131 static void megaraid_mbox_mm_done(adapter_t *, scb_t *);
132 static int gather_hbainfo(adapter_t *, mraid_hba_info_t *);
133 static int wait_till_fw_empty(adapter_t *);
407 adapter_t *adapter; in megaraid_probe_one()
430 adapter = kzalloc(sizeof(adapter_t), GFP_KERNEL); in megaraid_probe_one()
528 adapter_t *adapter; in megaraid_detach_one()
590 adapter_t *adapter = pci_get_drvdata(pdev); in megaraid_mbox_shutdown()
616 megaraid_io_attach(adapter_t *adapter) in megaraid_io_attach()
668 megaraid_io_detach(adapter_t *adapter) in megaraid_io_detach()
699 megaraid_init_mbox(adapter_t *adapter) in megaraid_init_mbox()
913 megaraid_fini_mbox(adapter_t *adapter) in megaraid_fini_mbox()
948 megaraid_alloc_cmd_packets(adapter_t *adapter) in megaraid_alloc_cmd_packets()
1108 megaraid_free_cmd_packets(adapter_t *adapter) in megaraid_free_cmd_packets()
1133 megaraid_mbox_setup_dma_pools(adapter_t *adapter) in megaraid_mbox_setup_dma_pools()
1229 megaraid_mbox_teardown_dma_pools(adapter_t *adapter) in megaraid_mbox_teardown_dma_pools()
1274 megaraid_alloc_scb(adapter_t *adapter, struct scsi_cmnd *scp) in megaraid_alloc_scb()
1312 megaraid_dealloc_scb(adapter_t *adapter, scb_t *scb) in megaraid_dealloc_scb()
1337 megaraid_mbox_mksgl(adapter_t *adapter, scb_t *scb) in megaraid_mbox_mksgl()
1376 mbox_post_cmd(adapter_t *adapter, scb_t *scb) in mbox_post_cmd()
1440 adapter_t *adapter; in megaraid_queue_command_lck()
1480 megaraid_mbox_build_cmd(adapter_t *adapter, struct scsi_cmnd *scp, int *busy) in DEF_SCSI_QCMD()
1862 megaraid_mbox_runpendq(adapter_t *adapter, scb_t *scb_q) in megaraid_mbox_runpendq()
1933 megaraid_mbox_prepare_pthru(adapter_t *adapter, scb_t *scb, in megaraid_mbox_prepare_pthru()
1982 megaraid_mbox_prepare_epthru(adapter_t *adapter, scb_t *scb, in megaraid_mbox_prepare_epthru()
2031 megaraid_ack_sequence(adapter_t *adapter) in megaraid_ack_sequence()
2146 adapter_t *adapter = devp; in megaraid_isr()
2171 adapter_t *adapter = (adapter_t *)devp; in megaraid_mbox_dpc()
2379 adapter_t *adapter; in megaraid_abort_handler()
2517 adapter_t *adapter; in megaraid_reset_handler()
2666 mbox_post_sync_cmd(adapter_t *adapter, uint8_t raw_mbox[]) in mbox_post_sync_cmd()
2796 mbox_post_sync_cmd_fast(adapter_t *adapter, uint8_t raw_mbox[]) in mbox_post_sync_cmd_fast()
2871 megaraid_mbox_product_info(adapter_t *adapter) in megaraid_mbox_product_info()
2994 megaraid_mbox_extended_cdb(adapter_t *adapter) in megaraid_mbox_extended_cdb()
3030 megaraid_mbox_support_ha(adapter_t *adapter, uint16_t *init_id) in megaraid_mbox_support_ha()
3073 megaraid_mbox_support_random_del(adapter_t *adapter) in megaraid_mbox_support_random_del()
3122 megaraid_mbox_get_max_sg(adapter_t *adapter) in megaraid_mbox_get_max_sg()
3162 megaraid_mbox_enum_raid_scsi(adapter_t *adapter) in megaraid_mbox_enum_raid_scsi()
3198 megaraid_mbox_flush_cache(adapter_t *adapter) in megaraid_mbox_flush_cache()
3227 megaraid_mbox_fire_sync_cmd(adapter_t *adapter) in megaraid_mbox_fire_sync_cmd()
3303 megaraid_mbox_display_scb(adapter_t *adapter, scb_t *scb) in megaraid_mbox_display_scb()
3350 megaraid_mbox_setup_device_map(adapter_t *adapter) in megaraid_mbox_setup_device_map()
3393 megaraid_cmm_register(adapter_t *adapter) in megaraid_cmm_register()
3481 megaraid_cmm_unregister(adapter_t *adapter) in megaraid_cmm_unregister()
3502 adapter_t *adapter; in megaraid_mbox_mm_handler()
3511 adapter = (adapter_t *)drvr_data; in megaraid_mbox_mm_handler()
3552 megaraid_mbox_mm_command(adapter_t *adapter, uioc_t *kioc) in megaraid_mbox_mm_command()
3638 wait_till_fw_empty(adapter_t *adapter) in wait_till_fw_empty()
3676 megaraid_mbox_mm_done(adapter_t *adapter, scb_t *scb) in megaraid_mbox_mm_done()
3720 gather_hbainfo(adapter_t *adapter, mraid_hba_info_t *hinfo) in gather_hbainfo()
3758 megaraid_sysfs_alloc_resources(adapter_t *adapter) in megaraid_sysfs_alloc_resources()
3797 megaraid_sysfs_free_resources(adapter_t *adapter) in megaraid_sysfs_free_resources()
3820 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_done()
3841 adapter_t *adapter = (adapter_t *)uioc->buf_vaddr; in megaraid_sysfs_get_ldmap_timeout()
3868 megaraid_sysfs_get_ldmap(adapter_t *adapter) in megaraid_sysfs_get_ldmap()
3977 adapter_t *adapter = (adapter_t *)SCSIHOST2ADAP(shost); in megaraid_mbox_app_hndl_show()
4005 adapter_t *adapter = (adapter_t *)SCSIHOST2ADAP(sdev->host); in megaraid_mbox_ld_show()