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
463 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
571 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_exec() local
574 if (!sas_port) { in hisi_sas_task_exec()
990 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
994 if (!sas_port) in hisi_sas_port_notify_formed()
997 port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
1002 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
1391 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local
1400 sas_port = device->port; in hisi_sas_refresh_port_id()
1401 port = to_hisi_sas_port(sas_port); in hisi_sas_refresh_port_id()
1403 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) in hisi_sas_refresh_port_id()
1430 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_rescan_topology() local
1431 bool do_port_check = _sas_port != sas_port; in hisi_sas_rescan_topology()
1438 if (do_port_check && sas_port && sas_port->port_dev) { in hisi_sas_rescan_topology()
1439 struct domain_device *dev = sas_port->port_dev; in hisi_sas_rescan_topology()
1441 _sas_port = sas_port; in hisi_sas_rescan_topology()
1472 struct asd_sas_port *sas_port, in hisi_sas_send_ata_reset_each_phy() argument
1486 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) { in hisi_sas_send_ata_reset_each_phy()
1527 struct asd_sas_port *sas_port = &port->sas_port; in hisi_sas_terminate_stp_reject() local
1528 struct domain_device *port_dev = sas_port->port_dev; in hisi_sas_terminate_stp_reject()
1535 list_for_each_entry(device, &sas_port->dev_list, in hisi_sas_terminate_stp_reject()
1539 sas_port, in hisi_sas_terminate_stp_reject()
1982 struct asd_sas_port *sas_port = device->port; in hisi_sas_internal_abort_task_exec() local
1994 port = to_hisi_sas_port(sas_port); in hisi_sas_internal_abort_task_exec()
2707 sha->sas_port = arr_port; in hisi_sas_probe()
2732 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()