Lines Matching refs:hostt
259 unsigned int supported_mode = shost->hostt->supported_mode; in show_shost_supported_mode()
299 struct scsi_host_template *sht = shost->hostt; in store_host_reset()
341 !shost->hostt->eh_host_reset_handler)) in store_shost_eh_deadline()
379 shost_rd_attr2(proc_name, hostt->proc_name, "%s\n");
456 mod = sdev->host->hostt->module; in scsi_device_dev_release_usercontext()
516 if (!try_module_get(sdp->host->hostt->module)) in scsi_device_dev_release()
517 sdp->host->hostt->module = NULL; in scsi_device_dev_release()
1012 struct scsi_host_template *sht = sdev->host->hostt; in DECLARE_EVT()
1216 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1220 !sdev->host->hostt->change_queue_depth) in scsi_sdev_attr_is_visible()
1399 if (sdev->host->hostt->sdev_attrs) { in scsi_sysfs_add_sdev()
1400 for (i = 0; sdev->host->hostt->sdev_attrs[i]; i++) { in scsi_sysfs_add_sdev()
1402 sdev->host->hostt->sdev_attrs[i]); in scsi_sysfs_add_sdev()
1408 if (sdev->host->hostt->sdev_groups) { in scsi_sysfs_add_sdev()
1410 sdev->host->hostt->sdev_groups); in scsi_sysfs_add_sdev()
1454 if (sdev->host->hostt->sdev_groups) in __scsi_remove_device()
1456 sdev->host->hostt->sdev_groups); in __scsi_remove_device()
1478 if (sdev->host->hostt->slave_destroy) in __scsi_remove_device()
1479 sdev->host->hostt->slave_destroy(sdev); in __scsi_remove_device()
1599 if (shost->hostt->shost_attrs) { in scsi_sysfs_add_host()
1600 for (i = 0; shost->hostt->shost_attrs[i]; i++) { in scsi_sysfs_add_host()
1602 shost->hostt->shost_attrs[i]); in scsi_sysfs_add_host()