Lines Matching refs:sas_port
140 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument
142 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
461 struct asd_sas_port *sas_port = device->port; in hisi_sas_queue_command() local
472 if (!sas_port) { in hisi_sas_queue_command()
514 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command()
551 port = to_hisi_sas_port(sas_port); in hisi_sas_queue_command()
1007 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
1011 if (!sas_port) in hisi_sas_port_notify_formed()
1014 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1019 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
1291 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local
1300 sas_port = device->port; in hisi_sas_refresh_port_id()
1301 port = to_hisi_sas_port(sas_port); in hisi_sas_refresh_port_id()
1303 spin_lock(&sas_port->phy_list_lock); in hisi_sas_refresh_port_id()
1304 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) in hisi_sas_refresh_port_id()
1309 spin_unlock(&sas_port->phy_list_lock); in hisi_sas_refresh_port_id()
1332 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_rescan_topology() local
1333 bool do_port_check = _sas_port != sas_port; in hisi_sas_rescan_topology()
1340 if (do_port_check && sas_port && sas_port->port_dev) { in hisi_sas_rescan_topology()
1341 struct domain_device *dev = sas_port->port_dev; in hisi_sas_rescan_topology()
1343 _sas_port = sas_port; in hisi_sas_rescan_topology()
1374 struct asd_sas_port *sas_port, in hisi_sas_send_ata_reset_each_phy() argument
1385 if (!(sas_port->phy_mask & BIT(i))) in hisi_sas_send_ata_reset_each_phy()
1421 struct asd_sas_port *sas_port = &port->sas_port; in hisi_sas_terminate_stp_reject() local
1422 struct domain_device *port_dev = sas_port->port_dev; in hisi_sas_terminate_stp_reject()
1429 list_for_each_entry(device, &sas_port->dev_list, in hisi_sas_terminate_stp_reject()
1433 sas_port, in hisi_sas_terminate_stp_reject()
2420 sha->sas_port = arr_port; in hisi_sas_probe()
2445 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()