Lines Matching refs:port

87 	struct sas_ha_struct *sas_ha = dev->port->ha;
117 /* if eh is not involved and the port is frozen then the
172 struct sas_ha_struct *sas_ha = dev->port->ha;
253 return to_sas_internal(dev->port->ha->core.shost->transportt);
462 * has decided to kill the qc and has frozen the port.
491 struct sas_ha_struct *ha = dev->port->ha;
504 struct sas_ha_struct *ha = dev->port->ha;
554 struct sas_ha_struct *ha = found_dev->port->ha;
631 void sas_probe_sata(struct asd_sas_port *port)
635 mutex_lock(&port->ha->disco_mutex);
636 list_for_each_entry(dev, &port->disco_list, disco_list_node) {
642 mutex_unlock(&port->ha->disco_mutex);
644 list_for_each_entry_safe(dev, n, &port->disco_list, disco_list_node) {
659 static void sas_ata_flush_pm_eh(struct asd_sas_port *port, const char *func)
663 list_for_each_entry_safe(dev, n, &port->dev_list, dev_list_node) {
675 void sas_suspend_sata(struct asd_sas_port *port)
679 mutex_lock(&port->ha->disco_mutex);
680 list_for_each_entry(dev, &port->dev_list, dev_list_node) {
692 mutex_unlock(&port->ha->disco_mutex);
694 sas_ata_flush_pm_eh(port, __func__);
697 void sas_resume_sata(struct asd_sas_port *port)
701 mutex_lock(&port->ha->disco_mutex);
702 list_for_each_entry(dev, &port->dev_list, dev_list_node) {
714 mutex_unlock(&port->ha->disco_mutex);
716 sas_ata_flush_pm_eh(port, __func__);
723 * Devices directly attached to a HA port, have no parents. All other
742 struct sas_ha_struct *ha = dev->port->ha;
767 struct asd_sas_port *port = sas_ha->sas_port[i];
770 spin_lock(&port->dev_list_lock);
771 list_for_each_entry(dev, &port->dev_list, dev_list_node) {
783 spin_unlock(&port->dev_list_lock);