• Home
  • Raw
  • Download

Lines Matching refs:hd

95 static void	mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SC…
97 int mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id,
108 static int mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *iocmd);
109 static void mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice);
591 MPT_SCSI_HOST *hd; in mptscsih_io_done() local
598 hd = shost_priv(ioc->sh); in mptscsih_io_done()
688 mptscsih_copy_sense_data(sc, hd, mf, pScsiReply); in mptscsih_io_done()
726 if (hd->sel_timeout[pScsiReq->TargetID] < 0xFFFF) in mptscsih_io_done()
727 hd->sel_timeout[pScsiReq->TargetID]++; in mptscsih_io_done()
1030 mptscsih_flush_running_cmds(MPT_SCSI_HOST *hd) in mptscsih_flush_running_cmds() argument
1032 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_flush_running_cmds()
1077 mptscsih_search_running_cmds(MPT_SCSI_HOST *hd, VirtDevice *vdevice) in mptscsih_search_running_cmds() argument
1083 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_search_running_cmds()
1147 MPT_SCSI_HOST *hd; in mptscsih_report_queue_full() local
1154 if ((hd = shost_priv(sc->device->host)) == NULL) in mptscsih_report_queue_full()
1156 ioc = hd->ioc; in mptscsih_report_queue_full()
1157 if (time - hd->last_queue_full > 10 * HZ) { in mptscsih_report_queue_full()
1160 hd->last_queue_full = time; in mptscsih_report_queue_full()
1176 MPT_SCSI_HOST *hd; in mptscsih_remove() local
1179 if((hd = shost_priv(host)) == NULL) in mptscsih_remove()
1196 kfree(hd->info_kbuf); in mptscsih_remove()
1285 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_show_info() local
1286 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_show_info()
1313 MPT_SCSI_HOST *hd; in mptscsih_qcmd() local
1325 hd = shost_priv(SCpnt->device->host); in mptscsih_qcmd()
1326 ioc = hd->ioc; in mptscsih_qcmd()
1511 mptscsih_IssueTaskMgmt(MPT_SCSI_HOST *hd, u8 type, u8 channel, u8 id, u64 lun, in mptscsih_IssueTaskMgmt() argument
1518 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_IssueTaskMgmt()
1682 MPT_SCSI_HOST *hd; in mptscsih_abort() local
1692 if ((hd = shost_priv(SCpnt->device->host)) == NULL) { in mptscsih_abort()
1700 ioc = hd->ioc; in mptscsih_abort()
1767 retval = mptscsih_IssueTaskMgmt(hd, in mptscsih_abort()
1805 MPT_SCSI_HOST *hd; in mptscsih_dev_reset() local
1812 if ((hd = shost_priv(SCpnt->device->host)) == NULL){ in mptscsih_dev_reset()
1818 ioc = hd->ioc; in mptscsih_dev_reset()
1836 retval = mptscsih_IssueTaskMgmt(hd, in mptscsih_dev_reset()
1865 MPT_SCSI_HOST *hd; in mptscsih_bus_reset() local
1872 if ((hd = shost_priv(SCpnt->device->host)) == NULL){ in mptscsih_bus_reset()
1878 ioc = hd->ioc; in mptscsih_bus_reset()
1889 retval = mptscsih_IssueTaskMgmt(hd, in mptscsih_bus_reset()
1915 MPT_SCSI_HOST * hd; in mptscsih_host_reset() local
1921 if ((hd = shost_priv(SCpnt->device->host)) == NULL){ in mptscsih_host_reset()
1928 mptscsih_flush_running_cmds(hd); in mptscsih_host_reset()
1930 ioc = hd->ioc; in mptscsih_host_reset()
2284 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_slave_destroy() local
2295 mptscsih_search_running_cmds(hd, vdevice); in mptscsih_slave_destroy()
2297 mptscsih_synchronize_cache(hd, vdevice); in mptscsih_slave_destroy()
2313 MPT_SCSI_HOST *hd = shost_priv(sdev->host); in mptscsih_change_queue_depth() local
2317 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_change_queue_depth()
2355 MPT_SCSI_HOST *hd = shost_priv(sh); in mptscsih_slave_configure() local
2356 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_slave_configure()
2404 mptscsih_copy_sense_data(struct scsi_cmnd *sc, MPT_SCSI_HOST *hd, MPT_FRAME_HDR *mf, SCSIIOReply_t … in mptscsih_copy_sense_data() argument
2409 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_copy_sense_data()
2546 MPT_SCSI_HOST *hd; in mptscsih_ioc_reset() local
2551 hd = shost_priv(ioc->sh); in mptscsih_ioc_reset()
2560 mptscsih_flush_running_cmds(hd); in mptscsih_ioc_reset()
2774 mptscsih_do_cmd(MPT_SCSI_HOST *hd, INTERNAL_CMD *io) in mptscsih_do_cmd() argument
2783 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_do_cmd()
3008 mptscsih_synchronize_cache(MPT_SCSI_HOST *hd, VirtDevice *vdevice) in mptscsih_synchronize_cache() argument
3036 mptscsih_do_cmd(hd, &iocmd); in mptscsih_synchronize_cache()
3044 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_fw_show() local
3045 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_fw_show()
3060 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_bios_show() local
3061 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_bios_show()
3076 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_mpi_show() local
3077 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_mpi_show()
3089 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_product_show() local
3090 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_product_show()
3103 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_nvdata_persistent_show() local
3104 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_nvdata_persistent_show()
3117 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_version_nvdata_default_show() local
3118 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_version_nvdata_default_show()
3130 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_board_name_show() local
3131 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_board_name_show()
3142 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_board_assembly_show() local
3143 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_board_assembly_show()
3155 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_board_tracer_show() local
3156 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_board_tracer_show()
3168 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_io_delay_show() local
3169 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_io_delay_show()
3181 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_device_delay_show() local
3182 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_device_delay_show()
3194 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_debug_level_show() local
3195 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_debug_level_show()
3204 MPT_SCSI_HOST *hd = shost_priv(host); in mptscsih_debug_level_store() local
3205 MPT_ADAPTER *ioc = hd->ioc; in mptscsih_debug_level_store()