Lines Matching refs:rphy

89 	struct sas_rphy *rphy)  in pqi_sas_port_add_rphy()  argument
93 identify = &rphy->identify; in pqi_sas_port_add_rphy()
105 return sas_rphy_add(rphy); in pqi_sas_port_add_rphy()
200 struct pqi_ctrl_info *ctrl_info, struct sas_rphy *rphy) in pqi_find_device_by_sas_rphy() argument
208 if (device->sas_port->rphy == rphy) in pqi_find_device_by_sas_rphy()
270 struct sas_rphy *rphy; in pqi_add_sas_device() local
277 rphy = pqi_sas_rphy_alloc(pqi_sas_port); in pqi_add_sas_device()
278 if (!rphy) { in pqi_add_sas_device()
283 pqi_sas_port->rphy = rphy; in pqi_add_sas_device()
286 rc = pqi_sas_port_add_rphy(pqi_sas_port, rphy); in pqi_add_sas_device()
312 static int pqi_sas_get_enclosure_identifier(struct sas_rphy *rphy, in pqi_sas_get_enclosure_identifier() argument
322 if (!rphy) in pqi_sas_get_enclosure_identifier()
325 shost = rphy_to_shost(rphy); in pqi_sas_get_enclosure_identifier()
328 found_device = pqi_find_device_by_sas_rphy(ctrl_info, rphy); in pqi_sas_get_enclosure_identifier()
386 static int pqi_sas_get_bay_identifier(struct sas_rphy *rphy) in pqi_sas_get_bay_identifier() argument
394 if (!rphy) in pqi_sas_get_bay_identifier()
397 shost = rphy_to_shost(rphy); in pqi_sas_get_bay_identifier()
400 device = pqi_find_device_by_sas_rphy(ctrl_info, rphy); in pqi_sas_get_bay_identifier()
447 pqi_build_csmi_smp_passthru_buffer(struct sas_rphy *rphy, in pqi_build_csmi_smp_passthru_buffer() argument
472 parameters->phy_identifier = rphy->identify.phy_identifier; in pqi_build_csmi_smp_passthru_buffer()
475 put_unaligned_be64(rphy->identify.sas_address, in pqi_build_csmi_smp_passthru_buffer()
508 struct sas_rphy *rphy) in pqi_sas_smp_handler() argument
523 if (!rphy) { in pqi_sas_smp_handler()
528 if (rphy->identify.device_type != SAS_FANOUT_EXPANDER_DEVICE) { in pqi_sas_smp_handler()
538 smp_buf = pqi_build_csmi_smp_passthru_buffer(rphy, job); in pqi_sas_smp_handler()