Symbol: pqi_sas_port
drivers/scsi/smartpqi/smartpqi.h
1166
struct pqi_sas_port *sas_port;
drivers/scsi/smartpqi/smartpqi.h
1258
struct pqi_sas_port *parent_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
100
switch (pqi_sas_port->device->device_type) {
drivers/scsi/smartpqi/smartpqi_sas_transport.c
117
static struct sas_rphy *pqi_sas_rphy_alloc(struct pqi_sas_port *pqi_sas_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
119
if (pqi_sas_port->device && pqi_sas_port->device->is_expander_smp_device)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
120
return sas_expander_alloc(pqi_sas_port->port,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
123
return sas_end_device_alloc(pqi_sas_port->port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
126
static struct pqi_sas_port *pqi_alloc_sas_port(
drivers/scsi/smartpqi/smartpqi_sas_transport.c
131
struct pqi_sas_port *pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
134
pqi_sas_port = kzalloc_obj(*pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
135
if (!pqi_sas_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
138
INIT_LIST_HEAD(&pqi_sas_port->phy_list_head);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
139
pqi_sas_port->parent_node = pqi_sas_node;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
149
pqi_sas_port->port = port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
150
pqi_sas_port->sas_address = sas_address;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
151
pqi_sas_port->device = device;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
152
list_add_tail(&pqi_sas_port->port_list_entry,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
155
return pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
160
kfree(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
165
static void pqi_free_sas_port(struct pqi_sas_port *pqi_sas_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
171
&pqi_sas_port->phy_list_head, phy_list_entry)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
174
sas_port_delete(pqi_sas_port->port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
175
list_del(&pqi_sas_port->port_list_entry);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
176
kfree(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
194
struct pqi_sas_port *pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
195
struct pqi_sas_port *next;
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
200
list_for_each_entry_safe(pqi_sas_port, next,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
202
pqi_free_sas_port(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
228
struct pqi_sas_port *pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
237
pqi_sas_port = pqi_alloc_sas_port(pqi_sas_node,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
239
if (!pqi_sas_port) {
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
261
pqi_free_sas_port(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
277
struct pqi_sas_port *pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
280
pqi_sas_port = pqi_alloc_sas_port(pqi_sas_node,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
282
if (!pqi_sas_port)
drivers/scsi/smartpqi/smartpqi_sas_transport.c
285
rphy = pqi_sas_rphy_alloc(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
29
phy = sas_phy_alloc(pqi_sas_port->parent_node->parent_dev,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
291
pqi_sas_port->rphy = rphy;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
292
device->sas_port = pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
294
rc = pqi_sas_port_add_rphy(pqi_sas_port, rphy);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
30
pqi_sas_port->next_phy_index);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
303
pqi_free_sas_port(pqi_sas_port);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
36
pqi_sas_port->next_phy_index++;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
38
pqi_sas_phy->parent_port = pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
57
struct pqi_sas_port *pqi_sas_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
61
pqi_sas_port = pqi_sas_phy->parent_port;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
66
identify->sas_address = pqi_sas_port->sas_address;
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
82
&pqi_sas_port->phy_list_head);
drivers/scsi/smartpqi/smartpqi_sas_transport.c
88
static int pqi_sas_port_add_rphy(struct pqi_sas_port *pqi_sas_port,
drivers/scsi/smartpqi/smartpqi_sas_transport.c
94
identify->sas_address = pqi_sas_port->sas_address;
drivers/scsi/smartpqi/smartpqi_sas_transport.c
95
identify->phy_identifier = pqi_sas_port->device->phy_id;