Lines Matching refs:adapter_t

80 static adapter_t *hba_soft_state[MAX_CONTROLLERS];
268 adapter_t *adapter = NULL; in mega_find_card()
398 host = scsi_register(host_template, sizeof(adapter_t)); in mega_find_card()
406 adapter = (adapter_t *)host->hostdata; in mega_find_card()
407 memset(adapter, 0, sizeof(adapter_t)); in mega_find_card()
776 mega_setup_mailbox(adapter_t *adapter) in mega_setup_mailbox()
835 issue_scb(adapter_t *adapter, scb_t *scb) in issue_scb()
905 mega_query_adapter(adapter_t *adapter) in mega_query_adapter()
1072 mega_runpendq(adapter_t *adapter) in mega_runpendq()
1079 __mega_runpendq(adapter_t *adapter) in __mega_runpendq()
1109 mega_allocate_scb(adapter_t *adapter, Scsi_Cmnd *cmd) in mega_allocate_scb()
1142 mega_get_ldrv_num(adapter_t *adapter, Scsi_Cmnd *cmd, int channel) in mega_get_ldrv_num()
1190 adapter_t *adapter; in megaraid_queue()
1194 adapter = (adapter_t *)scmd->host->hostdata; in megaraid_queue()
1243 mega_build_cmd(adapter_t *adapter, Scsi_Cmnd *cmd, int *busy) in mega_build_cmd()
1676 mega_prepare_passthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, in mega_prepare_passthru()
1740 mega_prepare_extpassthru(adapter_t *adapter, scb_t *scb, Scsi_Cmnd *cmd, in mega_prepare_extpassthru()
1795 mega_busywait_mbox (adapter_t *adapter) in mega_busywait_mbox()
1803 __mega_busywait_mbox (adapter_t *adapter) in __mega_busywait_mbox()
1825 issue_scb_block(adapter_t *adapter, u_char *raw_mbox) in issue_scb_block()
1928 mega_cmd_done(adapter_t *adapter, u8 completed[], int nstatus, int status) in mega_cmd_done()
2183 megaraid_iombox_ack_sequence(adapter_t *adapter) in megaraid_iombox_ack_sequence()
2251 adapter_t *adapter = devp; in megaraid_isr_iomapped()
2276 megaraid_memmbox_ack_sequence(adapter_t *adapter) in megaraid_memmbox_ack_sequence()
2349 adapter_t *adapter = devp; in megaraid_isr_memmapped()
2372 mega_free_scb(adapter_t *adapter, scb_t *scb) in mega_free_scb()
2426 mega_build_sglist(adapter_t *adapter, scb_t *scb, u32 *buf, u32 *len) in mega_build_sglist()
2566 mega_free_sgl(adapter_t *adapter) in mega_free_sgl()
2609 adapter_t *adapter; in megaraid_release()
2616 adapter = (adapter_t *)host->hostdata; in megaraid_release()
2746 adapter_t *adapter; in megaraid_info()
2748 adapter = (adapter_t *)host->hostdata; in megaraid_info()
2775 adapter_t *adapter; in megaraid_abort()
2783 adapter = (adapter_t *)scp->host->hostdata; in megaraid_abort()
2845 adapter_t *adapter; in megaraid_reset()
2849 adapter = (adapter_t *)cmd->host->hostdata; in megaraid_reset()
2962 adapter_t *adapter = hba_soft_state[index]; in mega_create_proc_entry()
3025 adapter_t *adapter = (adapter_t *)data; in proc_read_config()
3124 adapter_t *adapter; in proc_read_stat()
3130 adapter = (adapter_t *)data; in proc_read_stat()
3179 adapter_t *adapter = (adapter_t *)data; in proc_read_mbox()
3237 adapter_t *adapter = (adapter_t *)data; in proc_rebuild_rate()
3297 adapter_t *adapter = (adapter_t *)data; in proc_battery()
3388 adapter_t *adapter = (adapter_t *)data; in proc_pdrv_ch0()
3411 adapter_t *adapter = (adapter_t *)data; in proc_pdrv_ch1()
3434 adapter_t *adapter = (adapter_t *)data; in proc_pdrv_ch2()
3457 adapter_t *adapter = (adapter_t *)data; in proc_pdrv_ch3()
3473 proc_pdrv(adapter_t *adapter, char *page, int channel) in proc_pdrv()
3659 adapter_t *adapter = (adapter_t *)data; in proc_rdrv_10()
3682 adapter_t *adapter = (adapter_t *)data; in proc_rdrv_20()
3705 adapter_t *adapter = (adapter_t *)data; in proc_rdrv_30()
3728 adapter_t *adapter = (adapter_t *)data; in proc_rdrv_40()
3747 proc_rdrv(adapter_t *adapter, char *page, int start, int end) in proc_rdrv()
4011 adapter_t *adapter; in megaraid_reboot_notify()
4025 adapter = (adapter_t *)host->hostdata; in megaraid_reboot_notify()
4080 mega_init_scb(adapter_t *adapter) in mega_init_scb()
4211 adapter_t *adapter; in megadev_ioctl()
4795 mega_is_bios_enabled(adapter_t *adapter) in mega_is_bios_enabled()
4828 mega_enum_raid_scsi(adapter_t *adapter) in mega_enum_raid_scsi()
4882 mega_get_boot_drv(adapter_t *adapter) in mega_get_boot_drv()
4949 mega_support_random_del(adapter_t *adapter) in mega_support_random_del()
4978 mega_support_ext_cdb(adapter_t *adapter) in mega_support_ext_cdb()
5008 mega_del_logdrv(adapter_t *adapter, int logdrv) in mega_del_logdrv()
5061 mega_do_del_logdrv(adapter_t *adapter, int logdrv) in mega_do_del_logdrv()
5099 mega_get_max_sgl(adapter_t *adapter) in mega_get_max_sgl()
5144 mega_support_cluster(adapter_t *adapter) in mega_support_cluster()
5192 adapter_t *boot_host; in mega_reorder_hosts()
5218 if ((adapter_t *) shpnt->hostdata == in mega_reorder_hosts()
5369 mega_adapinq(adapter_t *adapter, dma_addr_t dma_handle) in mega_adapinq()
5403 mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt, in mega_internal_dev_inquiry()
5480 mega_internal_command(adapter_t *adapter, lockscope_t ls, megacmd_t *mc, in mega_internal_command()
5570 adapter_t *adapter; in mega_internal_done()
5572 adapter = (adapter_t *)scmd->host->hostdata; in mega_internal_done()