Home
last modified time | relevance | path

Searched refs:ex_phy (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/scsi/libsas/
H A Dsas_expander.c149 static char sas_route_char(struct domain_device *dev, struct ex_phy *phy) in sas_route_char()
187 struct ex_phy *phy = &ex->ex_phy[phy_id]; in sas_set_ex_phy()
329 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy_id]; in sas_ex_to_ata() local
333 if (!ex_phy->port) in sas_ex_to_ata()
336 rphy = ex_phy->port->rphy; in sas_ex_to_ata()
414 ex->ex_phy = kcalloc(ex->num_phys, sizeof(*ex->ex_phy), GFP_KERNEL); in sas_expander_discover()
415 if (!ex->ex_phy) in sas_expander_discover()
424 kfree(ex->ex_phy); in sas_expander_discover()
425 ex->ex_phy = NULL; in sas_expander_discover()
597 struct ex_phy *phy = &ex->ex_phy[phy_id]; in sas_ex_disable_phy()
[all …]
H A Dsas_internal.h114 struct ex_phy *phy) in sas_phy_match_dev_addr()
120 struct ex_phy *phy) in sas_phy_match_port_addr()
125 static inline bool sas_phy_addr_match(struct ex_phy *p1, struct ex_phy *p2) in sas_phy_addr_match()
145 struct ex_phy *ex_phy = &parent->ex_dev.ex_phy[phy->number]; in sas_fail_probe() local
147 memset(ex_phy->attached_sas_addr, 0, SAS_ADDR_SIZE); in sas_fail_probe()
197 struct ex_phy *ex_phy = &ex->ex_phy[phy_id]; in sas_add_parent_port() local
206 sas_port_add_phy(ex->parent_port, ex_phy->phy); in sas_add_parent_port()
H A Dsas_ata.c255 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
283 static int sas_ata_clear_pending(struct domain_device *dev, struct ex_phy *phy) in sas_ata_clear_pending()
333 struct ex_phy *ex_phy = &ex_dev->ex_dev.ex_phy[phy->number]; in smp_ata_check_ready() local
346 switch (ex_phy->attached_dev_type) { in smp_ata_check_ready()
350 if (ex_phy->attached_sata_dev) in smp_ata_check_ready()
351 return sas_ata_clear_pending(dev, ex_phy); in smp_ata_check_ready()
674 int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy, in sas_ata_add_dev()
H A Dsas_port.c60 struct ex_phy *phy = &dev->ex_dev.ex_phy[i]; in sas_resume_port()
H A Dsas_discover.c300 kfree(dev->ex_dev.ex_phy); in sas_free_device()
/openbmc/linux/include/scsi/
H A Dsas_ata.h24 int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy);
40 int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy,
89 static inline int sas_get_ata_info(struct domain_device *dev, struct ex_phy *phy) in sas_get_ata_info()
120 static inline int sas_ata_add_dev(struct domain_device *parent, struct ex_phy *phy, in sas_ata_add_dev()
H A Dlibsas.h82 struct ex_phy { struct
123 struct ex_phy *ex_phy; argument
/openbmc/linux/drivers/scsi/pm8001/
H A Dpm80xx_hwi.c4739 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm80xx_chip_reg_dev_req()
H A Dpm8001_hwi.c4245 phy_id = parent_dev->ex_dev.ex_phy->phy_id; in pm8001_chip_reg_dev_req()