Lines Matching refs:sas_port

162 struct hisi_sas_port *to_hisi_sas_port(struct asd_sas_port *sas_port)  in to_hisi_sas_port()  argument
164 return container_of(sas_port, struct hisi_sas_port, sas_port); in to_hisi_sas_port()
295 struct asd_sas_port *sas_port = device->port; in hisi_sas_task_prep() local
303 if (!sas_port) { in hisi_sas_task_prep()
330 port = to_hisi_sas_port(sas_port); in hisi_sas_task_prep()
783 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_port_notify_formed() local
784 struct hisi_sas_port *port = to_hisi_sas_port(sas_port); in hisi_sas_port_notify_formed()
787 if (!sas_port) in hisi_sas_port_notify_formed()
794 sas_port->lldd_port = port; in hisi_sas_port_notify_formed()
1152 struct asd_sas_port *sas_port; in hisi_sas_refresh_port_id() local
1161 sas_port = device->port; in hisi_sas_refresh_port_id()
1162 port = to_hisi_sas_port(sas_port); in hisi_sas_refresh_port_id()
1164 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) in hisi_sas_refresh_port_id()
1193 struct asd_sas_port *sas_port = sas_phy->port; in hisi_sas_rescan_topology() local
1194 bool do_port_check = !!(_sas_port != sas_port); in hisi_sas_rescan_topology()
1201 if (do_port_check && sas_port && sas_port->port_dev) { in hisi_sas_rescan_topology()
1202 struct domain_device *dev = sas_port->port_dev; in hisi_sas_rescan_topology()
1204 _sas_port = sas_port; in hisi_sas_rescan_topology()
1235 struct asd_sas_port *sas_port, in hisi_sas_send_ata_reset_each_phy() argument
1249 list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) { in hisi_sas_send_ata_reset_each_phy()
1289 struct asd_sas_port *sas_port = &port->sas_port; in hisi_sas_terminate_stp_reject() local
1290 struct domain_device *port_dev = sas_port->port_dev; in hisi_sas_terminate_stp_reject()
1297 list_for_each_entry(device, &sas_port->dev_list, in hisi_sas_terminate_stp_reject()
1301 sas_port, in hisi_sas_terminate_stp_reject()
1692 struct asd_sas_port *sas_port = device->port; in hisi_sas_internal_abort_task_exec() local
1705 port = to_hisi_sas_port(sas_port); in hisi_sas_internal_abort_task_exec()
2317 sha->sas_port = arr_port; in hisi_sas_probe()
2338 sha->sas_port[i] = &hisi_hba->port[i].sas_port; in hisi_sas_probe()