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()
420 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local
448 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
569 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_exec() local
572 if (!sas_port) { in hisi_sas_task_exec()
970 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
971 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
974 if (!sas_port) in hisi_sas_port_notify_formed()
981 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
1364 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local
1373 sas_port = device->port; in hisi_sas_refresh_port_id()
1374 port = to_hisi_sas_port(sas_port); in hisi_sas_refresh_port_id()
1376 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) in hisi_sas_refresh_port_id()
1404 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_rescan_topology() local
1405 bool do_port_check = !!(_sas_port != sas_port); in hisi_sas_rescan_topology()
1412 if (do_port_check && sas_port && sas_port->port_dev) { in hisi_sas_rescan_topology()
1413 struct domain_device *dev = sas_port->port_dev; in hisi_sas_rescan_topology()
1415 _sas_port = sas_port; in hisi_sas_rescan_topology()
1446 struct asd_sas_port *sas_port, in hisi_sas_send_ata_reset_each_phy() argument
1460 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) { in hisi_sas_send_ata_reset_each_phy()
1500 struct asd_sas_port *sas_port = &port->sas_port; in hisi_sas_terminate_stp_reject() local
1501 struct domain_device *port_dev = sas_port->port_dev; in hisi_sas_terminate_stp_reject()
1508 list_for_each_entry(device, &sas_port->dev_list, in hisi_sas_terminate_stp_reject()
1512 sas_port, in hisi_sas_terminate_stp_reject()
1935 struct asd_sas_port *sas_port = device->port; in hisi_sas_internal_abort_task_exec() local
1947 port = to_hisi_sas_port(sas_port); in hisi_sas_internal_abort_task_exec()
2632 sha->sas_port = arr_port; in hisi_sas_probe()
2657 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()