Home
last modified time | relevance | path

Searched refs:scsi_host (Results 1 – 25 of 36) sorted by relevance

12

/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-scsi_host1 What: /sys/class/scsi_host/hostX/isci_id
9 which usually means the lowest number scsi_host corresponds
15 What: /sys/class/scsi_host/hostX/acciopath_status
31 What: /sys/class/scsi_host/hostX/link_power_management_policy
64 What: /sys/class/scsi_host/hostX/em_message
65 What: /sys/class/scsi_host/hostX/em_message_type
82 What: /sys/class/scsi_host/hostX/ahci_port_cmd
83 What: /sys/class/scsi_host/hostX/ahci_host_caps
84 What: /sys/class/scsi_host/hostX/ahci_host_cap2
91 What: /sys/class/scsi_host/hostX/ahci_host_version
[all …]
Dsysfs-bus-fcoe23 with it, this includes the scsi_host.
/linux-6.6.21/Documentation/ABI/stable/
Dsysfs-driver-ib_srp86 What: /sys/class/scsi_host/host<n>/allow_ext_sg
94 What: /sys/class/scsi_host/host<n>/ch_count
101 What: /sys/class/scsi_host/host<n>/cmd_sg_entries
108 What: /sys/class/scsi_host/host<n>/comp_vector
114 What: /sys/class/scsi_host/host<n>/dgid
121 What: /sys/class/scsi_host/host<n>/id_ext
128 What: /sys/class/scsi_host/host<n>/ioc_guid
135 What: /sys/class/scsi_host/host<n>/local_ib_device
142 What: /sys/class/scsi_host/host<n>/local_ib_port
149 What: /sys/class/scsi_host/host<n>/orig_dgid
[all …]
/linux-6.6.21/drivers/s390/scsi/
Dzfcp_scsi.c168 struct Scsi_Host *scsi_host = scpnt->device->host; in zfcp_scsi_eh_abort_handler() local
170 (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_scsi_eh_abort_handler()
478 if (adapter->scsi_host) in zfcp_scsi_adapter_register()
483 adapter->scsi_host = scsi_host_alloc(&zfcp_scsi_host_template, in zfcp_scsi_adapter_register()
485 if (!adapter->scsi_host) in zfcp_scsi_adapter_register()
489 adapter->scsi_host->max_id = 511; in zfcp_scsi_adapter_register()
490 adapter->scsi_host->max_lun = 0xFFFFFFFF; in zfcp_scsi_adapter_register()
491 adapter->scsi_host->max_channel = 0; in zfcp_scsi_adapter_register()
492 adapter->scsi_host->unique_id = dev_id.devno; in zfcp_scsi_adapter_register()
493 adapter->scsi_host->max_cmd_len = 16; /* in struct fcp_cmnd */ in zfcp_scsi_adapter_register()
[all …]
Dzfcp_erp.c99 spin_lock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
100 __shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_erp_action_dismiss_port()
103 spin_unlock(port->adapter->scsi_host->host_lock); in zfcp_erp_action_dismiss_port()
674 spin_lock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
675 __shost_for_each_device(sdev, port->adapter->scsi_host) in _zfcp_erp_lun_reopen_all()
678 spin_unlock(port->adapter->scsi_host->host_lock); in _zfcp_erp_lun_reopen_all()
787 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_adapter_strategy_open_ptp_port()
1052 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_PTP) in zfcp_erp_port_strategy_open_common()
1418 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_erp_try_rport_unblock()
1714 if (adapter->scsi_host == NULL) in zfcp_erp_set_adapter_status()
[all …]
Dzfcp_fc.c113 fc_host_post_event(adapter->scsi_host, fc_get_event_number(), in zfcp_fc_post_event()
548 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_adisc()
773 fc_host_port_name(adapter->scsi_host)) in zfcp_fc_eval_gpn_ft()
818 if (fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPORT && in zfcp_fc_scan_ports()
819 fc_host_port_type(adapter->scsi_host) != FC_PORTTYPE_NPIV) in zfcp_fc_scan_ports()
857 hton24(gspn_req->gspn.fp_fid, fc_host_port_id(adapter->scsi_host)); in zfcp_fc_gspn()
876 if (fc_host_port_type(adapter->scsi_host) == FC_PORTTYPE_NPIV && in zfcp_fc_gspn()
878 snprintf(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
884 strscpy(fc_host_symbolic_name(adapter->scsi_host), in zfcp_fc_gspn()
894 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fc_rspn()
[all …]
Dzfcp_sysfs.c230 if (adapter->scsi_host == NULL) { in zfcp_sysfs_port_rescan_store()
274 spin_lock_irqsave(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use()
275 __shost_for_each_device(sdev, adapter->scsi_host) { in zfcp_sysfs_port_in_use()
292 spin_unlock_irqrestore(adapter->scsi_host->host_lock, flags); in zfcp_sysfs_port_in_use()
702 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_util_show() local
707 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_util_show()
727 struct Scsi_Host *scsi_host = dev_to_shost(dev); in zfcp_sysfs_adapter_ex_config() local
732 adapter = (struct zfcp_adapter *) scsi_host->hostdata[0]; in zfcp_sysfs_adapter_ex_config()
781 struct Scsi_Host *scsi_host = class_to_shost(dev); in zfcp_sysfs_adapter_q_full_show() local
783 ((struct zfcp_adapter *) scsi_host->hostdata[0])->qdio; in zfcp_sysfs_adapter_q_full_show()
Dzfcp_unit.c60 if (scsi_queue_work(port->adapter->scsi_host, in zfcp_unit_queue_scsi_scan()
203 shost = port->adapter->scsi_host; in zfcp_unit_sdev()
Dzfcp_def.h163 struct Scsi_Host *scsi_host; /* Pointer to mid-layer */ member
Dzfcp_qdio.c429 struct Scsi_Host *const shost = adapter->scsi_host; in zfcp_qdio_shost_update()
Dzfcp_fsf.c125 struct Scsi_Host *shost = adapter->scsi_host; in zfcp_fsf_fc_host_link_down()
253 snprintf(fc_host_firmware_version(adapter->scsi_host), in zfcp_fsf_status_read_version_change()
2039 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler()
2061 shost_for_each_device(sdev, port->adapter->scsi_host) in zfcp_fsf_close_physical_port_handler()
/linux-6.6.21/drivers/infiniband/ulp/srp/
Dib_srp.c589 shost_printk(KERN_WARNING, target->scsi_host, PFX in srp_create_ch_ib()
704 shost_printk(KERN_ERR, target->scsi_host, in srp_path_rec_completion()
741 shost_printk(KERN_WARNING, target->scsi_host, in srp_ib_lookup_path()
764 shost_printk(KERN_WARNING, target->scsi_host, in srp_rdma_lookup_path()
902 shost_printk(KERN_DEBUG, target->scsi_host, in srp_send_req()
957 shost_printk(KERN_DEBUG, target->scsi_host, in srp_disconnect_target()
1044 srp_del_scsi_host_attr(target->scsi_host); in srp_remove_target()
1046 srp_remove_host(target->scsi_host); in srp_remove_target()
1047 scsi_remove_host(target->scsi_host); in srp_remove_target()
1064 scsi_host_put(target->scsi_host); in srp_remove_target()
[all …]
Dib_srp.h223 struct Scsi_Host *scsi_host; member
/linux-6.6.21/Documentation/scsi/
Dscsi_fc_transport.rst66 virtual port. Typically, the driver will create a new scsi_host instance
69 each will appear as a unique scsi_host with its own target and lun space.
89 Today, the device tree typically contains the scsi_host object,
91 transport creates the vport object and places it under the scsi_host
93 a new scsi_host for the vport and link its object under the vport.
94 The remainder of the tree under the vports scsi_host is the same
96 allow the parent of the vport to be something other than the scsi_host.
98 device tree. If the vport's parent is not the physical port's scsi_host,
100 port's scsi_host.
127 /sys/class/scsi_host/host17 physical port's scsi_host
[all …]
Dhpsa.rst50 /sys/class/scsi_host/host*/rescan
51 /sys/class/scsi_host/host*/firmware_revision
52 /sys/class/scsi_host/host*/resettable
53 /sys/class/scsi_host/host*/transport_mode
67 root@host:/sys/class/scsi_host/host4# cat firmware_revision
Dsmartpqi.rst34 - /sys/class/scsi_host/host*/rescan
35 - /sys/class/scsi_host/host*/driver_version
Dscsi_mid_low_api.rst302 - scsi_host_alloc - return a new scsi_host instance whose refcount==1
642 The interface functions are also described in the include/scsi/scsi_host.h
644 In some cases more detail is given in scsi_host.h than below.
980 * For more details see the include/scsi/scsi_host.h file.
1003 * For more details see the include/scsi/scsi_host.h file.
1058 The structure is defined and commented in include/scsi/scsi_host.h
1090 scsi_host.h) which is currently set to 1024. So for a
1126 The scsi_host structure is defined in include/scsi/scsi_host.h
/linux-6.6.21/drivers/scsi/
Ddc395x.c281 struct Scsi_Host *scsi_host; member
827 DC395x_LOCK_IO(acb->scsi_host, flags); in waiting_timeout()
829 DC395x_UNLOCK_IO(acb->scsi_host, flags); in waiting_timeout()
976 if (cmd->device->id >= acb->scsi_host->max_id || in dc395x_queue_command_lck()
977 cmd->device->lun >= acb->scsi_host->max_lun || in dc395x_queue_command_lck()
1324 DC395x_LOCK_IO(acb->scsi_host, flags);
1327 DC395x_UNLOCK_IO(acb->scsi_host, flags);
1385 DC395x_write8(acb, TRM_S1040_SCSI_HOSTID, acb->scsi_host->this_id); in start_scsi()
1550 DC395x_LOCK_IO(acb->scsi_host, flags); in dc395x_handle_interrupt()
1639 DC395x_UNLOCK_IO(acb->scsi_host, flags); in dc395x_handle_interrupt()
[all …]
Dhpsa.c507 hpsa_scan_start(h->scsi_host); in host_store_rescan()
843 h->scsi_host->host_no, in path_info_show()
1234 if (h == NULL || h->pdev == NULL || h->scsi_host == NULL) in hpsa_show_dev_msg()
1272 h->scsi_host->host_no, dev->bus, dev->target, dev->lun, in hpsa_show_dev_msg()
1623 h->scsi_host->host_no, in hpsa_show_volume_status()
1631 h->scsi_host->host_no, in hpsa_show_volume_status()
1637 h->scsi_host->host_no, in hpsa_show_volume_status()
1643 h->scsi_host->host_no, in hpsa_show_volume_status()
1649 h->scsi_host->host_no, in hpsa_show_volume_status()
1655 h->scsi_host->host_no, in hpsa_show_volume_status()
[all …]
DBusLogic.c268 adapter->scsi_host->can_queue = adapter->drvr_qdepth; in blogic_create_addlccbs()
2310 myadapter->scsi_host = host; in blogic_init()
2407 struct Scsi_Host *host = adapter->scsi_host; in blogic_deladapter()
2744 spin_lock_irqsave(adapter->scsi_host->host_lock, processor_flag); in blogic_inthandler()
2812 spin_unlock_irqrestore(adapter->scsi_host->host_lock, processor_flag); in blogic_inthandler()
2915 spin_unlock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck()
2917 spin_lock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck()
3062 spin_unlock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck()
3065 spin_lock_irq(adapter->scsi_host->host_lock); in blogic_qcmd_lck()
3212 spin_unlock_irq(adapter->scsi_host->host_lock);
[all …]
Dhpsa.h215 struct Scsi_Host *scsi_host; member
/linux-6.6.21/drivers/target/
Dtarget_core_pscsi.c75 struct Scsi_Host *scsi_host = phv->phv_lld_host; in pscsi_detach_hba() local
77 if (scsi_host) { in pscsi_detach_hba()
78 scsi_host_put(scsi_host); in pscsi_detach_hba()
82 (scsi_host->hostt->name) ? (scsi_host->hostt->name) : in pscsi_detach_hba()
/linux-6.6.21/drivers/message/fusion/
DKconfig119 echo [level] > /sys/class/scsi_host/host#/debug_level
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi_init.c339 shost = ctrl_info->scsi_host; in pqi_scsi_block_requests()
355 scsi_unblock_requests(ctrl_info->scsi_host); in pqi_scsi_unblock_requests()
1874 ctrl_info->scsi_host->host_no, in pqi_show_volume_status()
1894 rc = scsi_add_device(ctrl_info->scsi_host, device->bus, in pqi_add_device()
1915 ctrl_info->scsi_host->host_no, device->bus, in pqi_remove_device()
1996 "%d:%d:", ctrl_info->scsi_host->host_no, device->bus); in pqi_dev_info()
2319 ctrl_info->scsi_host->host_no, in pqi_update_device_list()
3147 path, ctrl_info->scsi_host->host_no, device->bus, in pqi_take_device_offline()
3229 ctrl_info->scsi_host->host_no, device->bus, device->target, device->lun); in pqi_process_raid_io_error()
3237 sshdr.ascq, ctrl_info->scsi_host->host_no, device->bus, device->target, device->lun); in pqi_process_raid_io_error()
[all …]
/linux-6.6.21/drivers/ata/
Dlibata-scsi.c4389 ap->scsi_host = shost; in ata_scsi_add_hosts()
4414 struct Scsi_Host *shost = host->ports[i]->scsi_host; in ata_scsi_add_hosts()
4471 sdev = __scsi_add_device(ap->scsi_host, channel, id, 0, in ata_scsi_scan_host()
4570 mutex_lock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()
4596 mutex_unlock(&ap->scsi_host->scan_mutex); in ata_scsi_remove_dev()

12