Lines Matching refs:sas_port
142 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port) in to_hisi_sas_port() argument
144 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
417 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local
465 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
573 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_exec() local
576 if (!sas_port) { in hisi_sas_task_exec()
988 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
992 if (!sas_port) in hisi_sas_port_notify_formed()
995 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1000 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
1387 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local
1396 sas_port = device->port; in hisi_sas_refresh_port_id()
1397 port = to_hisi_sas_port(sas_port); in hisi_sas_refresh_port_id()
1399 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) in hisi_sas_refresh_port_id()
1427 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_rescan_topology() local
1428 bool do_port_check = _sas_port != sas_port; in hisi_sas_rescan_topology()
1435 if (do_port_check && sas_port && sas_port->port_dev) { in hisi_sas_rescan_topology()
1436 struct domain_device *dev = sas_port->port_dev; in hisi_sas_rescan_topology()
1438 _sas_port = sas_port; in hisi_sas_rescan_topology()
1468 struct asd_sas_port *sas_port, in hisi_sas_send_ata_reset_each_phy() argument
1482 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) { in hisi_sas_send_ata_reset_each_phy()
1522 struct asd_sas_port *sas_port = &port->sas_port; in hisi_sas_terminate_stp_reject() local
1523 struct domain_device *port_dev = sas_port->port_dev; in hisi_sas_terminate_stp_reject()
1530 list_for_each_entry(device, &sas_port->dev_list, in hisi_sas_terminate_stp_reject()
1534 sas_port, in hisi_sas_terminate_stp_reject()
1955 struct asd_sas_port *sas_port = device->port; in hisi_sas_internal_abort_task_exec() local
1967 port = to_hisi_sas_port(sas_port); in hisi_sas_internal_abort_task_exec()
2652 sha->sas_port = arr_port; in hisi_sas_probe()
2677 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()