Symbol: pqi_sas_phy
drivers/scsi/smartpqi/smartpqi_sas_transport.c
167
struct pqi_sas_phy *pqi_sas_phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
168
struct pqi_sas_phy *next;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
170
list_for_each_entry_safe(pqi_sas_phy, next,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
172
pqi_free_sas_phy(pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
20
static struct pqi_sas_phy *pqi_alloc_sas_phy(struct pqi_sas_port *pqi_sas_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
22
struct pqi_sas_phy *pqi_sas_phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
229
struct pqi_sas_phy *pqi_sas_phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
244
pqi_sas_phy = pqi_alloc_sas_phy(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
245
if (!pqi_sas_phy) {
drivers/scsi/smartpqi/smartpqi_sas_transport.c
25
pqi_sas_phy = kzalloc_obj(*pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
250
rc = pqi_sas_port_add_phy(pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
259
pqi_free_sas_phy(pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
26
if (!pqi_sas_phy)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
32
kfree(pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
37
pqi_sas_phy->phy = phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
38
pqi_sas_phy->parent_port = pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
40
return pqi_sas_phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
43
static void pqi_free_sas_phy(struct pqi_sas_phy *pqi_sas_phy)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
45
struct sas_phy *phy = pqi_sas_phy->phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
47
sas_port_delete_phy(pqi_sas_phy->parent_port->port, phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
48
if (pqi_sas_phy->added_to_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
49
list_del(&pqi_sas_phy->phy_list_entry);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
51
kfree(pqi_sas_phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
54
static int pqi_sas_port_add_phy(struct pqi_sas_phy *pqi_sas_phy)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
61
pqi_sas_port = pqi_sas_phy->parent_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
62
phy = pqi_sas_phy->phy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
76
rc = sas_phy_add(pqi_sas_phy->phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
80
sas_port_add_phy(pqi_sas_port->port, pqi_sas_phy->phy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
81
list_add_tail(&pqi_sas_phy->phy_list_entry,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
83
pqi_sas_phy->added_to_port = true;