Lines Matching refs:adapter_t
89 static adapter_t *hba_soft_state[MAX_CONTROLLERS];
136 mega_setup_mailbox(adapter_t *adapter)
195 mega_query_adapter(adapter_t *adapter)
362 mega_runpendq(adapter_t *adapter)
377 adapter_t *adapter;
382 adapter = (adapter_t *)scmd->device->host->hostdata;
426 mega_allocate_scb(adapter_t *adapter, struct scsi_cmnd *cmd)
458 mega_get_ldrv_num(adapter_t *adapter, struct scsi_cmnd *cmd, int channel)
521 mega_build_cmd(adapter_t *adapter, struct scsi_cmnd *cmd, int *busy)
951 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, struct scsi_cmnd *cmd,
1015 mega_prepare_extpassthru(adapter_t *adapter, scb_t *scb,
1067 __mega_runpendq(adapter_t *adapter)
1098 issue_scb(adapter_t *adapter, scb_t *scb)
1162 mega_busywait_mbox (adapter_t *adapter)
1177 issue_scb_block(adapter_t *adapter, u_char *raw_mbox)
1262 adapter_t *adapter = devp;
1338 adapter_t *adapter = devp;
1414 mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status)
1646 mega_rundoneq (adapter_t *adapter)
1662 mega_free_scb(adapter_t *adapter, scb_t *scb)
1690 __mega_busywait_mbox (adapter_t *adapter)
1709 mega_build_sglist(adapter_t *adapter, scb_t *scb, u32 *buf, u32 *len)
1798 mega_free_sgl(adapter_t *adapter)
1842 adapter_t *adapter;
1844 adapter = (adapter_t *)host->hostdata;
1861 adapter_t *adapter;
1864 adapter = (adapter_t *)cmd->device->host->hostdata;
1881 adapter_t *adapter;
1885 adapter = (adapter_t *)cmd->device->host->hostdata;
1923 megaraid_abort_and_reset(adapter_t *adapter, struct scsi_cmnd *cmd, int aor)
1991 make_local_pdev(adapter_t *adapter, struct pci_dev **pdev)
2050 adapter_t *adapter = m->private;
2113 adapter_t *adapter = m->private;
2148 adapter_t *adapter = m->private;
2175 adapter_t *adapter = m->private;
2218 adapter_t *adapter = m->private;
2320 proc_show_pdrv(struct seq_file *m, adapter_t *adapter, int channel)
2495 proc_show_rdrv(struct seq_file *m, adapter_t *adapter, int start, int end )
2734 adapter_t *adapter = hba_soft_state[index];
2791 adapter_t *adapter;
2797 adapter = (adapter_t *)sdev->host->hostdata;
2858 mega_init_scb(adapter_t *adapter)
2963 adapter_t *adapter;
3567 mega_is_bios_enabled(adapter_t *adapter)
3596 mega_enum_raid_scsi(adapter_t *adapter)
3648 mega_get_boot_drv(adapter_t *adapter)
3713 mega_support_random_del(adapter_t *adapter)
3740 mega_support_ext_cdb(adapter_t *adapter)
3768 mega_del_logdrv(adapter_t *adapter, int logdrv)
3816 mega_do_del_logdrv(adapter_t *adapter, int logdrv)
3853 mega_get_max_sgl(adapter_t *adapter)
3896 mega_support_cluster(adapter_t *adapter)
3939 mega_adapinq(adapter_t *adapter, dma_addr_t dma_handle)
3974 mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt,
4049 mega_internal_command(adapter_t *adapter, megacmd_t *mc, mega_passthru *pthru)
4128 adapter_t *adapter;
4212 host = scsi_host_alloc(&megaraid_template, sizeof(adapter_t));
4216 adapter = (adapter_t *)host->hostdata;
4217 memset(adapter, 0, sizeof(adapter_t));
4484 __megaraid_shutdown(adapter_t *adapter)
4521 adapter_t *adapter = (adapter_t *)host->hostdata;
4556 adapter_t *adapter = (adapter_t *)host->hostdata;