Symbol: ex_phy
drivers/scsi/libsas/sas_ata.c
255
static int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy)
drivers/scsi/libsas/sas_ata.c
283
static int sas_ata_clear_pending(struct domain_device *dev, struct ex_phy *phy)
drivers/scsi/libsas/sas_ata.c
333
struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy->number];
drivers/scsi/libsas/sas_ata.c
346
switch (ex_phy->attached_dev_type) {
drivers/scsi/libsas/sas_ata.c
350
if (ex_phy->attached_sata_dev)
drivers/scsi/libsas/sas_ata.c
351
return sas_ata_clear_pending(dev, ex_phy);
drivers/scsi/libsas/sas_ata.c
671
int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy,
drivers/scsi/libsas/sas_discover.c
300
kfree(dev->ex_dev.ex_phy);
drivers/scsi/libsas/sas_expander.c
1000
memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE);
drivers/scsi/libsas/sas_expander.c
1001
sas_configure_routing(dev, ex_phy->attached_sas_addr);
drivers/scsi/libsas/sas_expander.c
1004
} else if (ex_phy->linkrate == SAS_LINK_RATE_UNKNOWN)
drivers/scsi/libsas/sas_expander.c
1007
if (ex_phy->attached_dev_type != SAS_END_DEVICE &&
drivers/scsi/libsas/sas_expander.c
1008
ex_phy->attached_dev_type != SAS_FANOUT_EXPANDER_DEVICE &&
drivers/scsi/libsas/sas_expander.c
1009
ex_phy->attached_dev_type != SAS_EDGE_EXPANDER_DEVICE &&
drivers/scsi/libsas/sas_expander.c
1010
ex_phy->attached_dev_type != SAS_SATA_PENDING) {
drivers/scsi/libsas/sas_expander.c
1012
ex_phy->attached_dev_type,
drivers/scsi/libsas/sas_expander.c
1018
res = sas_configure_routing(dev, ex_phy->attached_sas_addr);
drivers/scsi/libsas/sas_expander.c
1021
SAS_ADDR(ex_phy->attached_sas_addr), res);
drivers/scsi/libsas/sas_expander.c
1022
sas_disable_routing(dev, ex_phy->attached_sas_addr);
drivers/scsi/libsas/sas_expander.c
1028
phy_id, SAS_ADDR(ex_phy->attached_sas_addr));
drivers/scsi/libsas/sas_expander.c
1032
switch (ex_phy->attached_dev_type) {
drivers/scsi/libsas/sas_expander.c
1040
SAS_ADDR(ex_phy->attached_sas_addr),
drivers/scsi/libsas/sas_expander.c
1041
ex_phy->attached_phy_id,
drivers/scsi/libsas/sas_expander.c
1048
ex_phy->attached_sas_addr, SAS_ADDR_SIZE);
drivers/scsi/libsas/sas_expander.c
1069
struct ex_phy *phy = &ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
1136
struct ex_phy *ex_phy = &ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
1138
if (ex_phy->phy_state == PHY_VACANT ||
drivers/scsi/libsas/sas_expander.c
1139
ex_phy->phy_state == PHY_NOT_PRESENT ||
drivers/scsi/libsas/sas_expander.c
1140
ex_phy->phy_state == PHY_DEVICE_DISCOVERED)
drivers/scsi/libsas/sas_expander.c
1143
switch (ex_phy->linkrate) {
drivers/scsi/libsas/sas_expander.c
1172
struct ex_phy *phy = &ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
1198
struct ex_phy *parent_phy,
drivers/scsi/libsas/sas_expander.c
1199
struct ex_phy *child_phy)
drivers/scsi/libsas/sas_expander.c
1232
struct ex_phy *parent_phy,
drivers/scsi/libsas/sas_expander.c
1233
struct ex_phy *child_phy)
drivers/scsi/libsas/sas_expander.c
1263
struct ex_phy *parent_phy)
drivers/scsi/libsas/sas_expander.c
1267
struct ex_phy *child_phy;
drivers/scsi/libsas/sas_expander.c
1269
child_phy = &child_ex->ex_phy[parent_phy->attached_phy_id];
drivers/scsi/libsas/sas_expander.c
1294
struct ex_phy *parent_phy)
drivers/scsi/libsas/sas_expander.c
1297
struct ex_phy *child_phy;
drivers/scsi/libsas/sas_expander.c
1299
child_phy = &child_ex->ex_phy[parent_phy->attached_phy_id];
drivers/scsi/libsas/sas_expander.c
1322
struct ex_phy *parent_phy = &parent_ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
1356
struct ex_phy *phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
1509
struct ex_phy *phy = &ex_parent->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
171
static char sas_route_char(struct domain_device *dev, struct ex_phy *phy)
drivers/scsi/libsas/sas_expander.c
1730
if (phy_change_count != ex->ex_phy[i].phy_change_count) {
drivers/scsi/libsas/sas_expander.c
1732
ex->ex_phy[i].phy_change_count =
drivers/scsi/libsas/sas_expander.c
1847
struct ex_phy *phy = &ex_dev->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
1920
struct ex_phy *ex_phy = &dev->ex_dev.ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
1937
if (sas_phy_match_dev_addr(child, ex_phy)) {
drivers/scsi/libsas/sas_expander.c
1965
struct ex_phy *phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
2057
struct ex_phy *changed_phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
2067
struct ex_phy *phy = &ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
209
struct ex_phy *phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
2116
struct ex_phy *phy;
drivers/scsi/libsas/sas_expander.c
2120
phy = &ex_dev->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
29
static void sas_port_add_ex_phy(struct sas_port *port, struct ex_phy *ex_phy)
drivers/scsi/libsas/sas_expander.c
31
sas_port_add_phy(port, ex_phy->phy);
drivers/scsi/libsas/sas_expander.c
32
ex_phy->port = port;
drivers/scsi/libsas/sas_expander.c
33
ex_phy->phy_state = PHY_DEVICE_DISCOVERED;
drivers/scsi/libsas/sas_expander.c
351
struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
355
if (!ex_phy->port)
drivers/scsi/libsas/sas_expander.c
358
rphy = ex_phy->port->rphy;
drivers/scsi/libsas/sas_expander.c
39
struct ex_phy *ex_phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
436
ex->ex_phy = kzalloc_objs(*ex->ex_phy, ex->num_phys);
drivers/scsi/libsas/sas_expander.c
437
if (!ex->ex_phy)
drivers/scsi/libsas/sas_expander.c
446
kfree(ex->ex_phy);
drivers/scsi/libsas/sas_expander.c
447
ex->ex_phy = NULL;
drivers/scsi/libsas/sas_expander.c
48
sas_port_add_ex_phy(ex->parent_port, ex_phy);
drivers/scsi/libsas/sas_expander.c
619
struct ex_phy *phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
631
struct ex_phy *phy = &ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
745
struct ex_phy *parent_phy)
drivers/scsi/libsas/sas_expander.c
756
struct ex_phy *phy = &parent_ex->ex_phy[i];
drivers/scsi/libsas/sas_expander.c
775
static int sas_ex_add_dev(struct domain_device *parent, struct ex_phy *phy,
drivers/scsi/libsas/sas_expander.c
813
struct ex_phy *phy = &parent_ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
870
struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
874
struct ex_phy *ephy = &parent->ex_dev.ex_phy[i];
drivers/scsi/libsas/sas_expander.c
893
struct ex_phy *phy = &parent->ex_dev.ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
971
struct ex_phy *ex_phy = &ex->ex_phy[phy_id];
drivers/scsi/libsas/sas_expander.c
976
if (ex_phy->linkrate == SAS_SATA_SPINUP_HOLD) {
drivers/scsi/libsas/sas_expander.c
984
if (!dev->parent && sas_phy_match_port_addr(dev->port, ex_phy)) {
drivers/scsi/libsas/sas_expander.c
988
if (dev->parent && sas_phy_match_dev_addr(dev->parent, ex_phy)) {
drivers/scsi/libsas/sas_expander.c
990
if (ex_phy->routing_attr == TABLE_ROUTING)
drivers/scsi/libsas/sas_expander.c
995
if (sas_dev_present_in_domain(dev->port, ex_phy->attached_sas_addr))
drivers/scsi/libsas/sas_expander.c
996
sas_ex_disable_port(dev, ex_phy->attached_sas_addr);
drivers/scsi/libsas/sas_expander.c
998
if (ex_phy->attached_dev_type == SAS_PHY_UNUSED) {
drivers/scsi/libsas/sas_expander.c
999
if (ex_phy->routing_attr == DIRECT_ROUTING) {
drivers/scsi/libsas/sas_internal.h
127
struct ex_phy *phy)
drivers/scsi/libsas/sas_internal.h
133
struct ex_phy *phy)
drivers/scsi/libsas/sas_internal.h
138
static inline bool sas_phy_addr_match(struct ex_phy *p1, struct ex_phy *p2)
drivers/scsi/libsas/sas_internal.h
217
int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy,
drivers/scsi/libsas/sas_internal.h
277
static inline int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy,
drivers/scsi/libsas/sas_port.c
60
struct ex_phy *phy = &dev->ex_dev.ex_phy[i];
drivers/scsi/pm8001/pm8001_sas.c
138
return dev->parent->ex_dev.ex_phy->phy_id;
include/scsi/libsas.h
123
struct ex_phy *ex_phy;