Lines Matching refs:adapter_t
90 static adapter_t *hba_soft_state[MAX_CONTROLLERS];
137 mega_setup_mailbox(adapter_t *adapter)
194 mega_query_adapter(adapter_t *adapter)
360 mega_runpendq(adapter_t *adapter)
376 adapter_t *adapter;
381 adapter = (adapter_t *)scmd->device->host->hostdata;
428 mega_allocate_scb(adapter_t *adapter, struct scsi_cmnd *cmd)
460 mega_get_ldrv_num(adapter_t *adapter, struct scsi_cmnd *cmd, int channel)
523 mega_build_cmd(adapter_t *adapter, struct scsi_cmnd *cmd, int *busy)
954 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *cmd,
1018 mega_prepare_extpassthru(adapter_t *adapter, scb_t *scb,
1070 __mega_runpendq(adapter_t *adapter)
1101 issue_scb(adapter_t *adapter, scb_t *scb)
1165 mega_busywait_mbox (adapter_t *adapter)
1180 issue_scb_block(adapter_t *adapter, u_char *raw_mbox)
1265 adapter_t *adapter = devp;
1341 adapter_t *adapter = devp;
1417 mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status)
1654 mega_rundoneq (adapter_t *adapter)
1676 mega_free_scb(adapter_t *adapter, scb_t *scb)
1704 __mega_busywait_mbox (adapter_t *adapter)
1723 mega_build_sglist(adapter_t *adapter, scb_t *scb, u32 *buf, u32 *len)
1812 mega_free_sgl(adapter_t *adapter)
1856 adapter_t *adapter;
1858 adapter = (adapter_t *)host->hostdata;
1875 adapter_t *adapter;
1878 adapter = (adapter_t *)cmd->device->host->hostdata;
1895 adapter_t *adapter;
1899 adapter = (adapter_t *)cmd->device->host->hostdata;
1937 megaraid_abort_and_reset(adapter_t *adapter, struct scsi_cmnd *cmd, int aor)
2005 make_local_pdev(adapter_t *adapter, struct pci_dev **pdev)
2062 adapter_t *adapter = m->private;
2125 adapter_t *adapter = m->private;
2160 adapter_t *adapter = m->private;
2187 adapter_t *adapter = m->private;
2230 adapter_t *adapter = m->private;
2332 proc_show_pdrv(struct seq_file *m, adapter_t *adapter, int channel)
2506 proc_show_rdrv(struct seq_file *m, adapter_t *adapter, int start, int end )
2745 adapter_t *adapter = hba_soft_state[index];
2802 adapter_t *adapter;
2810 adapter = (adapter_t *)sdev->host->hostdata;
2878 mega_init_scb(adapter_t *adapter)
2984 adapter_t *adapter;
3587 mega_is_bios_enabled(adapter_t *adapter)
3620 mega_enum_raid_scsi(adapter_t *adapter)
3674 mega_get_boot_drv(adapter_t *adapter)
3741 mega_support_random_del(adapter_t *adapter)
3770 mega_support_ext_cdb(adapter_t *adapter)
3800 mega_del_logdrv(adapter_t *adapter, int logdrv)
3848 mega_do_del_logdrv(adapter_t *adapter, int logdrv)
3885 mega_get_max_sgl(adapter_t *adapter)
3930 mega_support_cluster(adapter_t *adapter)
3975 mega_adapinq(adapter_t *adapter, dma_addr_t dma_handle)
4009 mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt,
4084 mega_internal_command(adapter_t *adapter, megacmd_t *mc, mega_passthru *pthru)
4163 adapter_t *adapter;
4247 host = scsi_host_alloc(&megaraid_template, sizeof(adapter_t));
4251 adapter = (adapter_t *)host->hostdata;
4252 memset(adapter, 0, sizeof(adapter_t));
4517 __megaraid_shutdown(adapter_t *adapter)
4554 adapter_t *adapter = (adapter_t *)host->hostdata;
4589 adapter_t *adapter = (adapter_t *)host->hostdata;