sas_phy           364 drivers/message/fusion/mptsas.c static inline MPT_ADAPTER *phy_to_ioc(struct sas_phy *phy)
sas_phy          1999 drivers/message/fusion/mptsas.c static int mptsas_get_linkerrors(struct sas_phy *phy)
sas_phy          2079 drivers/message/fusion/mptsas.c static int mptsas_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy          3035 drivers/message/fusion/mptsas.c 	struct sas_phy *phy;
sas_phy           168 drivers/message/fusion/mptsas.h 	struct sas_phy *phy;		/* transport layer phy object */
sas_phy           900 drivers/scsi/aic94xx/aic94xx_dump.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy           901 drivers/scsi/aic94xx/aic94xx_dump.c 	for (i = 0; i < phy->sas_phy.frame_rcvd_size; i+=4)
sas_phy           908 drivers/scsi/aic94xx/aic94xx_dump.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy            60 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (phy->sas_phy.role & PHY_ROLE_INITIATOR)
sas_phy            61 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->identify_frame->initiator_bits = phy->sas_phy.iproto;
sas_phy            62 drivers/scsi/aic94xx/aic94xx_hwi.c 	if (phy->sas_phy.role & PHY_ROLE_TARGET)
sas_phy            63 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->identify_frame->target_bits = phy->sas_phy.tproto;
sas_phy            66 drivers/scsi/aic94xx/aic94xx_hwi.c 	phy->identify_frame->phy_id = phy->sas_phy.id;
sas_phy            71 drivers/scsi/aic94xx/aic94xx_hwi.c 	struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha;
sas_phy            72 drivers/scsi/aic94xx/aic94xx_hwi.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy            74 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->enabled = 1;
sas_phy            75 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->class = SAS;
sas_phy            76 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->iproto = SAS_PROTOCOL_ALL;
sas_phy            77 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->tproto = 0;
sas_phy            78 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->type = PHY_TYPE_PHYSICAL;
sas_phy            79 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->role = PHY_ROLE_INITIATOR;
sas_phy            80 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->oob_mode = OOB_NOT_CONNECTED;
sas_phy            81 drivers/scsi/aic94xx/aic94xx_hwi.c 	sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN;
sas_phy            87 drivers/scsi/aic94xx/aic94xx_hwi.c 		asd_printk("no mem for IDENTIFY for phy%d\n", sas_phy->id);
sas_phy           123 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.enabled = 0;
sas_phy           124 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.id = i;
sas_phy           125 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.sas_addr = &phy->phy_desc->sas_addr[0];
sas_phy           126 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.frame_rcvd = &phy->frame_rcvd[0];
sas_phy           127 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.ha = &asd_ha->sas_ha;
sas_phy           128 drivers/scsi/aic94xx/aic94xx_hwi.c 		phy->sas_phy.lldd_phy = phy;
sas_phy           669 drivers/scsi/aic94xx/aic94xx_init.c 		sas_phys[i] = &asd_ha->phys[i].sas_phy;
sas_phy           673 drivers/scsi/aic94xx/aic94xx_init.c 	asd_ha->sas_ha.sas_phy = sas_phys;
sas_phy           689 drivers/scsi/aic94xx/aic94xx_init.c 	kfree(asd_ha->sas_ha.sas_phy);
sas_phy           677 drivers/scsi/aic94xx/aic94xx_sas.h 	struct asd_sas_phy        sas_phy;
sas_phy            38 drivers/scsi/aic94xx/aic94xx_scb.c 	struct sas_phy *sas_phy = phy->sas_phy.phy;
sas_phy            43 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS;
sas_phy            44 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS;
sas_phy            47 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS;
sas_phy            48 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS;
sas_phy            51 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS;
sas_phy            52 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS;
sas_phy            55 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy->negotiated_linkrate = phy->sas_phy.linkrate;
sas_phy            56 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy->maximum_linkrate_hw = SAS_LINK_RATE_3_0_GBPS;
sas_phy            57 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS;
sas_phy            58 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy->maximum_linkrate = phy->phy_desc->max_sas_lrate;
sas_phy            59 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy->minimum_linkrate = phy->phy_desc->min_sas_lrate;
sas_phy            62 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.oob_mode = SAS_OOB_MODE;
sas_phy            64 drivers/scsi/aic94xx/aic94xx_scb.c 		phy->sas_phy.oob_mode = SATA_OOB_MODE;
sas_phy            83 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy            84 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL);
sas_phy            91 drivers/scsi/aic94xx/aic94xx_scb.c 			    phy_id, phy->sas_phy.linkrate, phy->sas_phy.iproto);
sas_phy            92 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
sas_phy            97 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
sas_phy           104 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy           105 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR);
sas_phy           138 drivers/scsi/aic94xx/aic94xx_scb.c 	if (phy->sas_phy.frame_rcvd[0] == 0x34
sas_phy           139 drivers/scsi/aic94xx/aic94xx_scb.c 	    && phy->sas_phy.oob_mode == SATA_OOB_MODE) {
sas_phy           140 drivers/scsi/aic94xx/aic94xx_scb.c 		struct asd_ha_struct *asd_ha = phy->sas_phy.ha->lldd_ha;
sas_phy           148 drivers/scsi/aic94xx/aic94xx_scb.c 			(void *) phy->sas_phy.frame_rcvd;
sas_phy           158 drivers/scsi/aic94xx/aic94xx_scb.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           168 drivers/scsi/aic94xx/aic94xx_scb.c 			    memcmp(port->sas_addr, sas_phy->sas_addr,
sas_phy           171 drivers/scsi/aic94xx/aic94xx_scb.c 				   sas_phy->attached_sas_addr,
sas_phy           186 drivers/scsi/aic94xx/aic94xx_scb.c 			memcpy(port->sas_addr, sas_phy->sas_addr,
sas_phy           189 drivers/scsi/aic94xx/aic94xx_scb.c 			       sas_phy->attached_sas_addr,
sas_phy           193 drivers/scsi/aic94xx/aic94xx_scb.c 		port->phy_mask |= (1U << sas_phy->id);
sas_phy           197 drivers/scsi/aic94xx/aic94xx_scb.c 		    __func__, phy->asd_port->phy_mask, sas_phy->id);
sas_phy           205 drivers/scsi/aic94xx/aic94xx_scb.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           211 drivers/scsi/aic94xx/aic94xx_scb.c 		port->phy_mask &= ~(1U << sas_phy->id);
sas_phy           225 drivers/scsi/aic94xx/aic94xx_scb.c 	struct sas_ha_struct *sas_ha = phy->sas_phy.ha;
sas_phy           230 drivers/scsi/aic94xx/aic94xx_scb.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy           231 drivers/scsi/aic94xx/aic94xx_scb.c 	memcpy(phy->sas_phy.frame_rcvd, edb->vaddr, size);
sas_phy           232 drivers/scsi/aic94xx/aic94xx_scb.c 	phy->sas_phy.frame_rcvd_size = size;
sas_phy           233 drivers/scsi/aic94xx/aic94xx_scb.c 	asd_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
sas_phy           234 drivers/scsi/aic94xx/aic94xx_scb.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy           237 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_ha->notify_port_event(&phy->sas_phy, PORTE_BYTES_DMAED);
sas_phy           246 drivers/scsi/aic94xx/aic94xx_scb.c 	struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
sas_phy           271 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_phy_disconnected(sas_phy);
sas_phy           273 drivers/scsi/aic94xx/aic94xx_scb.c 	sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy           299 drivers/scsi/aic94xx/aic94xx_scb.c 	struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
sas_phy           315 drivers/scsi/aic94xx/aic94xx_scb.c 			spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy           316 drivers/scsi/aic94xx/aic94xx_scb.c 			sas_phy->sas_prim = ffs(cont);
sas_phy           317 drivers/scsi/aic94xx/aic94xx_scb.c 			spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy           318 drivers/scsi/aic94xx/aic94xx_scb.c 			sas_ha->notify_port_event(sas_phy,PORTE_BROADCAST_RCVD);
sas_phy           339 drivers/scsi/aic94xx/aic94xx_scb.c 			sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET);
sas_phy           405 drivers/scsi/aic94xx/aic94xx_scb.c 	struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
sas_phy           568 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_phy_disconnected(sas_phy);
sas_phy           570 drivers/scsi/aic94xx/aic94xx_scb.c 		sas_ha->notify_port_event(sas_phy, PORTE_TIMER_EVENT);
sas_phy           659 drivers/scsi/aic94xx/aic94xx_scb.c 				    __func__, phy_id,phy->sas_phy.linkrate,
sas_phy           660 drivers/scsi/aic94xx/aic94xx_scb.c 				    phy->sas_phy.iproto);
sas_phy           782 drivers/scsi/aic94xx/aic94xx_scb.c 		if (phy->sas_phy.role == PHY_ROLE_INITIATOR)
sas_phy           784 drivers/scsi/aic94xx/aic94xx_scb.c 		else if (phy->sas_phy.role == PHY_ROLE_TARGET)
sas_phy           165 drivers/scsi/aic94xx/aic94xx_tmf.c 	struct sas_phy *phy = sas_get_local_phy(dev);
sas_phy           154 drivers/scsi/hisi_sas/hisi_sas.h 	struct asd_sas_phy	sas_phy;
sas_phy            20 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy           620 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           627 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_ha->notify_phy_event(sas_phy, PHYE_OOB_DONE);
sas_phy           629 drivers/scsi/hisi_sas/hisi_sas_main.c 	if (sas_phy->phy) {
sas_phy           630 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct sas_phy *sphy = sas_phy->phy;
sas_phy           632 drivers/scsi/hisi_sas/hisi_sas_main.c 		sphy->negotiated_linkrate = sas_phy->linkrate;
sas_phy           654 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->frame_rcvd_size = phy->frame_rcvd_size;
sas_phy           655 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_ha->notify_port_event(sas_phy, PORTE_BYTES_DMAED);
sas_phy           701 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_phy *local_phy;
sas_phy           857 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           858 drivers/scsi/hisi_sas/hisi_sas_main.c 	int phy_no = sas_phy->id;
sas_phy           869 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           871 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_control_phy(sas_phy, PHY_FUNC_LINK_RESET, NULL);
sas_phy           896 drivers/scsi/hisi_sas/hisi_sas_main.c 	int phy_no = phy->sas_phy.id;
sas_phy           918 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           925 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->enabled = (phy_no < hisi_hba->n_phy) ? 1 : 0;
sas_phy           926 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->class = SAS;
sas_phy           927 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->iproto = SAS_PROTOCOL_ALL;
sas_phy           928 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->tproto = 0;
sas_phy           929 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->type = PHY_TYPE_PHYSICAL;
sas_phy           930 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->role = PHY_ROLE_INITIATOR;
sas_phy           931 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->oob_mode = OOB_NOT_CONNECTED;
sas_phy           932 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN;
sas_phy           933 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->id = phy_no;
sas_phy           934 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->sas_addr = &hisi_hba->sas_addr[0];
sas_phy           935 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->frame_rcvd = &phy->frame_rcvd[0];
sas_phy           936 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->ha = (struct sas_ha_struct *)hisi_hba->shost->hostdata;
sas_phy           937 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->lldd_phy = phy;
sas_phy           951 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *aphy = &phy->sas_phy;
sas_phy           952 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_phy *sphy = aphy->phy;
sas_phy           971 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_port_notify_formed(struct asd_sas_phy *sas_phy)
sas_phy           973 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sas_ha = sas_phy->ha;
sas_phy           975 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct hisi_sas_phy *phy = sas_phy->lldd_phy;
sas_phy           976 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_port *sas_port = sas_phy->port;
sas_phy          1088 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1095 drivers/scsi/hisi_sas/hisi_sas_main.c 		max = sas_phy->phy->maximum_linkrate;
sas_phy          1099 drivers/scsi/hisi_sas/hisi_sas_main.c 		min = sas_phy->phy->minimum_linkrate;
sas_phy          1106 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->phy->maximum_linkrate = max;
sas_phy          1107 drivers/scsi/hisi_sas/hisi_sas_main.c 	sas_phy->phy->minimum_linkrate = min;
sas_phy          1117 drivers/scsi/hisi_sas/hisi_sas_main.c static int hisi_sas_control_phy(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy          1120 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_ha_struct *sas_ha = sas_phy->ha;
sas_phy          1122 drivers/scsi/hisi_sas/hisi_sas_main.c 	int phy_no = sas_phy->id;
sas_phy          1374 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct asd_sas_phy *sas_phy;
sas_phy          1383 drivers/scsi/hisi_sas/hisi_sas_main.c 		list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el)
sas_phy          1384 drivers/scsi/hisi_sas/hisi_sas_main.c 			if (state & BIT(sas_phy->id)) {
sas_phy          1385 drivers/scsi/hisi_sas/hisi_sas_main.c 				phy = sas_phy->lldd_phy;
sas_phy          1394 drivers/scsi/hisi_sas/hisi_sas_main.c 				device->linkrate = phy->sas_phy.linkrate;
sas_phy          1410 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1411 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct asd_sas_port *sas_port = sas_phy->port;
sas_phy          1414 drivers/scsi/hisi_sas/hisi_sas_main.c 		if (!sas_phy->phy->enabled)
sas_phy          1425 drivers/scsi/hisi_sas/hisi_sas_main.c 					sas_ha->notify_port_event(sas_phy,
sas_phy          1461 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy;
sas_phy          1467 drivers/scsi/hisi_sas/hisi_sas_main.c 	list_for_each_entry(sas_phy, &sas_port->phy_list, port_phy_el) {
sas_phy          1468 drivers/scsi/hisi_sas/hisi_sas_main.c 		if (!(state & BIT(sas_phy->id)))
sas_phy          1474 drivers/scsi/hisi_sas/hisi_sas_main.c 			tmf_task.phy_id = sas_phy->id;
sas_phy          1480 drivers/scsi/hisi_sas/hisi_sas_main.c 					sas_phy->id, rc);
sas_phy          1744 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_phy *local_phy = sas_get_local_phy(device);
sas_phy          1757 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct asd_sas_phy *sas_phy =
sas_phy          1758 drivers/scsi/hisi_sas/hisi_sas_main.c 			sas_ha->sas_phy[local_phy->number];
sas_phy          1760 drivers/scsi/hisi_sas/hisi_sas_main.c 			container_of(sas_phy, struct hisi_sas_phy, sas_phy);
sas_phy          1772 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct asd_sas_phy *sas_phy =
sas_phy          1773 drivers/scsi/hisi_sas/hisi_sas_main.c 			sas_ha->sas_phy[local_phy->number];
sas_phy          1775 drivers/scsi/hisi_sas/hisi_sas_main.c 			container_of(sas_phy, struct hisi_sas_phy, sas_phy);
sas_phy          1786 drivers/scsi/hisi_sas/hisi_sas_main.c 			hisi_sas_phy_down(hisi_hba, sas_phy->id, 0);
sas_phy          1844 drivers/scsi/hisi_sas/hisi_sas_main.c 		struct sas_phy *phy;
sas_phy          2151 drivers/scsi/hisi_sas/hisi_sas_main.c static void hisi_sas_port_formed(struct asd_sas_phy *sas_phy)
sas_phy          2153 drivers/scsi/hisi_sas/hisi_sas_main.c 	hisi_sas_port_notify_formed(sas_phy);
sas_phy          2170 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          2171 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct sas_phy *sphy = sas_phy->phy;
sas_phy          2189 drivers/scsi/hisi_sas/hisi_sas_main.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          2196 drivers/scsi/hisi_sas/hisi_sas_main.c 		hisi_sas_port_notify_formed(sas_phy);
sas_phy          2206 drivers/scsi/hisi_sas/hisi_sas_main.c 		sas_ha->notify_phy_event(sas_phy, PHYE_LOSS_OF_SIGNAL);
sas_phy          2207 drivers/scsi/hisi_sas/hisi_sas_main.c 		sas_phy_disconnected(sas_phy);
sas_phy          2638 drivers/scsi/hisi_sas/hisi_sas_main.c 	sha->sas_phy = arr_phy;
sas_phy          2663 drivers/scsi/hisi_sas/hisi_sas_main.c 		sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy;
sas_phy          2935 drivers/scsi/hisi_sas/hisi_sas_main.c 	u32 *databuf = hisi_hba->debugfs_port_reg[phy->sas_phy.id];
sas_phy          1324 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1325 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	int i, phy_no = sas_phy->id;
sas_phy          1327 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	u32 *frame_rcvd = (u32 *)sas_phy->frame_rcvd;
sas_phy          1364 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	sas_phy->linkrate = link_rate;
sas_phy          1365 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	sas_phy->oob_mode = SAS_OOB_MODE;
sas_phy          1366 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	memcpy(sas_phy->attached_sas_addr,
sas_phy          1410 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1413 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	int phy_no = sas_phy->id;
sas_phy          1427 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 		sha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          1441 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1443 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c 	int phy_no = sas_phy->id;
sas_phy          1226 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1229 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		if (!sas_phy->phy || (sas_phy->phy->maximum_linkrate <
sas_phy          1233 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 			enum sas_linkrate max = sas_phy->phy->maximum_linkrate;
sas_phy          1557 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1558 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct sas_phy *sphy = sas_phy->phy;
sas_phy          1579 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1581 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		if (!sas_phy->phy->enabled)
sas_phy          2573 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct asd_sas_phy *sas_phy;
sas_phy          2581 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	list_for_each_entry(sas_phy, &asd_sas_port->phy_list, port_phy_el) {
sas_phy          2582 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		struct hisi_sas_phy *phy = sas_phy->lldd_phy;
sas_phy          2584 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		int phy_no = sas_phy->id;
sas_phy          2637 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          2639 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	u32 *frame_rcvd = (u32 *)sas_phy->frame_rcvd;
sas_phy          2676 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	sas_phy->linkrate = link_rate;
sas_phy          2677 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	sas_phy->oob_mode = SAS_OOB_MODE;
sas_phy          2678 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	memcpy(sas_phy->attached_sas_addr, &id->sas_addr, SAS_ADDR_SIZE);
sas_phy          2817 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          2825 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3196 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          3208 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	phy_no = sas_phy->id;
sas_phy          3256 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	sas_phy->linkrate = link_rate;
sas_phy          3262 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	sas_phy->oob_mode = SATA_OOB_MODE;
sas_phy          3267 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	memcpy(sas_phy->attached_sas_addr, attached_sas_addr, SAS_ADDR_SIZE);
sas_phy          3268 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c 	memcpy(sas_phy->frame_rcvd, fis, sizeof(struct dev_to_host_fis));
sas_phy           595 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           598 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		if (!sas_phy->phy || (sas_phy->phy->maximum_linkrate <
sas_phy           602 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 			enum sas_linkrate max = sas_phy->phy->maximum_linkrate;
sas_phy           986 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           988 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		if (!sas_phy->phy->enabled)
sas_phy          1441 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1458 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sas_phy->linkrate = link_rate;
sas_phy          1482 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sas_phy->oob_mode = SATA_OOB_MODE;
sas_phy          1486 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		memcpy(sas_phy->attached_sas_addr,
sas_phy          1489 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		memcpy(sas_phy->frame_rcvd, fis,
sas_phy          1496 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		u32 *frame_rcvd = (u32 *)sas_phy->frame_rcvd;
sas_phy          1506 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sas_phy->oob_mode = SAS_OOB_MODE;
sas_phy          1507 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		memcpy(sas_phy->attached_sas_addr,
sas_phy          1569 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1577 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          1698 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1699 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	struct sas_phy *sphy = sas_phy->phy;
sas_phy          1759 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1760 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		struct sas_phy *sphy = sas_phy->phy;
sas_phy          3207 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 	sha->sas_phy = arr_phy;
sas_phy          3227 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c 		sha->sas_phy[i] = &hisi_hba->phy[i].sas_phy;
sas_phy          9518 drivers/scsi/hpsa.c 	struct sas_phy *phy;
sas_phy          9540 drivers/scsi/hpsa.c 	struct sas_phy *phy = hpsa_sas_phy->phy;
sas_phy          9553 drivers/scsi/hpsa.c 	struct sas_phy *phy;
sas_phy          9786 drivers/scsi/hpsa.c hpsa_sas_get_linkerrors(struct sas_phy *phy)
sas_phy          9822 drivers/scsi/hpsa.c hpsa_sas_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy          9828 drivers/scsi/hpsa.c hpsa_sas_phy_enable(struct sas_phy *phy, int enable)
sas_phy          9834 drivers/scsi/hpsa.c hpsa_sas_phy_setup(struct sas_phy *phy)
sas_phy          9840 drivers/scsi/hpsa.c hpsa_sas_phy_release(struct sas_phy *phy)
sas_phy          9845 drivers/scsi/hpsa.c hpsa_sas_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates)
sas_phy            55 drivers/scsi/hpsa.h 	struct sas_phy *phy;
sas_phy           251 drivers/scsi/isci/init.c 		sas_phys[i] = &isci_host->phys[i].sas_phy;
sas_phy           255 drivers/scsi/isci/init.c 	sas_ha->sas_phy  = sas_phys;
sas_phy           994 drivers/scsi/isci/phy.c 			spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy           996 drivers/scsi/isci/phy.c 			spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy          1037 drivers/scsi/isci/phy.c 			spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy          1041 drivers/scsi/isci/phy.c 			spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy          1404 drivers/scsi/isci/phy.c 	iphy->sas_phy.enabled = 0;
sas_phy          1405 drivers/scsi/isci/phy.c 	iphy->sas_phy.id = index;
sas_phy          1406 drivers/scsi/isci/phy.c 	iphy->sas_phy.sas_addr = &iphy->sas_addr[0];
sas_phy          1407 drivers/scsi/isci/phy.c 	iphy->sas_phy.frame_rcvd = (u8 *)&iphy->frame_rcvd;
sas_phy          1408 drivers/scsi/isci/phy.c 	iphy->sas_phy.ha = &ihost->sas_ha;
sas_phy          1409 drivers/scsi/isci/phy.c 	iphy->sas_phy.lldd_phy = iphy;
sas_phy          1410 drivers/scsi/isci/phy.c 	iphy->sas_phy.enabled = 1;
sas_phy          1411 drivers/scsi/isci/phy.c 	iphy->sas_phy.class = SAS;
sas_phy          1412 drivers/scsi/isci/phy.c 	iphy->sas_phy.iproto = SAS_PROTOCOL_ALL;
sas_phy          1413 drivers/scsi/isci/phy.c 	iphy->sas_phy.tproto = 0;
sas_phy          1414 drivers/scsi/isci/phy.c 	iphy->sas_phy.type = PHY_TYPE_PHYSICAL;
sas_phy          1415 drivers/scsi/isci/phy.c 	iphy->sas_phy.role = PHY_ROLE_INITIATOR;
sas_phy          1416 drivers/scsi/isci/phy.c 	iphy->sas_phy.oob_mode = OOB_NOT_CONNECTED;
sas_phy          1417 drivers/scsi/isci/phy.c 	iphy->sas_phy.linkrate = SAS_LINK_RATE_UNKNOWN;
sas_phy          1431 drivers/scsi/isci/phy.c int isci_phy_control(struct asd_sas_phy *sas_phy,
sas_phy          1436 drivers/scsi/isci/phy.c 	struct isci_phy *iphy = sas_phy->lldd_phy;
sas_phy          1437 drivers/scsi/isci/phy.c 	struct asd_sas_port *port = sas_phy->port;
sas_phy          1438 drivers/scsi/isci/phy.c 	struct isci_host *ihost = sas_phy->ha->lldd_ha;
sas_phy          1443 drivers/scsi/isci/phy.c 		__func__, sas_phy, func, buf, iphy, port);
sas_phy          1470 drivers/scsi/isci/phy.c 		struct sas_phy *phy = sas_phy->phy;
sas_phy          1483 drivers/scsi/isci/phy.c 			   __func__, sas_phy, func);
sas_phy            98 drivers/scsi/isci/phy.h 	struct asd_sas_phy sas_phy;
sas_phy           106 drivers/scsi/isci/phy.h static inline struct isci_phy *to_iphy(struct asd_sas_phy *sas_phy)
sas_phy           108 drivers/scsi/isci/phy.h 	struct isci_phy *iphy = container_of(sas_phy, typeof(*iphy), sas_phy);
sas_phy           165 drivers/scsi/isci/port.c 		__func__, iphy, &iphy->sas_phy);
sas_phy           167 drivers/scsi/isci/port.c 	ihost->sas_ha.notify_port_event(&iphy->sas_phy, PORTE_BROADCAST_RCVD);
sas_phy           183 drivers/scsi/isci/port.c 	spin_lock_irqsave(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy           190 drivers/scsi/isci/port.c 		iphy->sas_phy.oob_mode = SATA_OOB_MODE;
sas_phy           191 drivers/scsi/isci/port.c 		iphy->sas_phy.frame_rcvd_size = sizeof(struct dev_to_host_fis);
sas_phy           205 drivers/scsi/isci/port.c 		memcpy(&iphy->sas_phy.attached_sas_addr,
sas_phy           208 drivers/scsi/isci/port.c 		iphy->sas_phy.oob_mode = SAS_OOB_MODE;
sas_phy           209 drivers/scsi/isci/port.c 		iphy->sas_phy.frame_rcvd_size = sizeof(struct sas_identify_frame);
sas_phy           212 drivers/scsi/isci/port.c 		memcpy(iphy->sas_phy.attached_sas_addr,
sas_phy           219 drivers/scsi/isci/port.c 	iphy->sas_phy.phy->negotiated_linkrate = sci_phy_linkrate(iphy);
sas_phy           221 drivers/scsi/isci/port.c 	spin_unlock_irqrestore(&iphy->sas_phy.frame_rcvd_lock, flags);
sas_phy           226 drivers/scsi/isci/port.c 		isci_host->sas_ha.notify_port_event(&iphy->sas_phy,
sas_phy           251 drivers/scsi/isci/port.c 		if (isci_phy->sas_phy.port &&
sas_phy           252 drivers/scsi/isci/port.c 		    isci_phy->sas_phy.port->num_phys == 1) {
sas_phy           272 drivers/scsi/isci/port.c 	sas_phy_disconnected(&isci_phy->sas_phy);
sas_phy           273 drivers/scsi/isci/port.c 	isci_host->sas_ha.notify_phy_event(&isci_phy->sas_phy,
sas_phy           746 drivers/scsi/isci/task.c 	struct sas_phy *phy = sas_get_local_phy(dev);
sas_phy           306 drivers/scsi/libsas/sas_ata.c 	struct sas_phy *phy = sas_get_local_phy(dev);
sas_phy           375 drivers/scsi/libsas/sas_ata.c 	struct sas_phy *phy;
sas_phy           406 drivers/scsi/libsas/sas_discover.c 	struct sas_phy *new_phy;
sas_phy           102 drivers/scsi/libsas/sas_event.c 		struct asd_sas_phy *sas_phy;
sas_phy           110 drivers/scsi/libsas/sas_event.c 		sas_phy = container_of(port->phy_list.next, struct asd_sas_phy,
sas_phy           112 drivers/scsi/libsas/sas_event.c 		ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy           659 drivers/scsi/libsas/sas_expander.c int sas_smp_get_phy_events(struct sas_phy *phy)
sas_phy           815 drivers/scsi/libsas/sas_expander.c 			struct sas_phy *cphy = child->phy;
sas_phy            22 drivers/scsi/libsas/sas_host_smp.c 	struct sas_phy *phy;
sas_phy            31 drivers/scsi/libsas/sas_host_smp.c 	phy = sas_ha->sas_phy[phy_id]->phy;
sas_phy            35 drivers/scsi/libsas/sas_host_smp.c 	memcpy(resp_data + 24, sas_ha->sas_phy[phy_id]->attached_sas_addr,
sas_phy            42 drivers/scsi/libsas/sas_host_smp.c 	if (!sas_ha->sas_phy[phy_id]->port ||
sas_phy            43 drivers/scsi/libsas/sas_host_smp.c 	    !sas_ha->sas_phy[phy_id]->port->port_dev)
sas_phy            46 drivers/scsi/libsas/sas_host_smp.c 	rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
sas_phy           151 drivers/scsi/libsas/sas_host_smp.c 	if (!sas_ha->sas_phy[phy_id]->port)
sas_phy           154 drivers/scsi/libsas/sas_host_smp.c 	rphy = sas_ha->sas_phy[phy_id]->port->port_dev->rphy;
sas_phy           156 drivers/scsi/libsas/sas_host_smp.c 		sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd;
sas_phy           162 drivers/scsi/libsas/sas_host_smp.c 	memcpy(resp_data + 16, sas_ha->sas_phy[phy_id]->attached_sas_addr,
sas_phy           172 drivers/scsi/libsas/sas_host_smp.c 			&sas_ha->sas_phy[phy_id]->port->port_dev->frame_rcvd[i];
sas_phy           194 drivers/scsi/libsas/sas_host_smp.c 	asd_phy = sas_ha->sas_phy[phy_id];
sas_phy           186 drivers/scsi/libsas/sas_init.c static int sas_get_linkerrors(struct sas_phy *phy)
sas_phy           191 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
sas_phy           228 drivers/scsi/libsas/sas_init.c static int transport_sas_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy           240 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
sas_phy           261 drivers/scsi/libsas/sas_init.c static int sas_phy_enable(struct sas_phy *phy, int enable)
sas_phy           274 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
sas_phy           294 drivers/scsi/libsas/sas_init.c int sas_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy           310 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
sas_phy           323 drivers/scsi/libsas/sas_init.c int sas_set_phy_speed(struct sas_phy *phy,
sas_phy           345 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number];
sas_phy           370 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *phy = ha->sas_phy[i];
sas_phy           383 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *phy = ha->sas_phy[i];
sas_phy           409 drivers/scsi/libsas/sas_init.c 		struct asd_sas_phy *phy = ha->sas_phy[i];
sas_phy           444 drivers/scsi/libsas/sas_init.c static void sas_phy_release(struct sas_phy *phy)
sas_phy           464 drivers/scsi/libsas/sas_init.c static int sas_phy_setup(struct sas_phy *phy)
sas_phy           480 drivers/scsi/libsas/sas_init.c static int queue_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy           507 drivers/scsi/libsas/sas_init.c static int queue_phy_enable(struct sas_phy *phy, int enable)
sas_phy            31 drivers/scsi/libsas/sas_internal.h 	struct sas_phy *phy;
sas_phy            78 drivers/scsi/libsas/sas_internal.h int sas_smp_get_phy_events(struct sas_phy *phy);
sas_phy           144 drivers/scsi/libsas/sas_internal.h 	struct sas_phy *phy = p->phy;
sas_phy           122 drivers/scsi/libsas/sas_phy.c 		struct asd_sas_phy *phy = sas_ha->sas_phy[i];
sas_phy           351 drivers/scsi/libsas/sas_port.c 		if (sas_ha->sas_phy[i]->port)
sas_phy           352 drivers/scsi/libsas/sas_port.c 			sas_deform_port(sas_ha->sas_phy[i], 0);
sas_phy           369 drivers/scsi/libsas/sas_scsi_host.c struct sas_phy *sas_get_local_phy(struct domain_device *dev)
sas_phy           372 drivers/scsi/libsas/sas_scsi_host.c 	struct sas_phy *phy;
sas_phy           743 drivers/scsi/mpt3sas/mpt3sas_base.h 	struct sas_phy *phy;
sas_phy           832 drivers/scsi/mpt3sas/mpt3sas_transport.c 	struct sas_phy *phy;
sas_phy           901 drivers/scsi/mpt3sas/mpt3sas_transport.c 	struct sas_phy *phy;
sas_phy          1009 drivers/scsi/mpt3sas/mpt3sas_transport.c phy_to_ioc(struct sas_phy *phy)
sas_phy          1059 drivers/scsi/mpt3sas/mpt3sas_transport.c 	struct sas_phy *phy)
sas_phy          1208 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_get_linkerrors(struct sas_phy *phy)
sas_phy          1349 drivers/scsi/mpt3sas/mpt3sas_transport.c 	struct sas_phy *phy, u8 phy_operation)
sas_phy          1496 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy          1547 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_enable(struct sas_phy *phy, int enable)
sas_phy          1684 drivers/scsi/mpt3sas/mpt3sas_transport.c _transport_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates)
sas_phy           579 drivers/scsi/mvsas/mv_64xx.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           581 drivers/scsi/mvsas/mv_64xx.c 	sas_phy->linkrate =
sas_phy           868 drivers/scsi/mvsas/mv_94xx.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           870 drivers/scsi/mvsas/mv_94xx.c 	sas_phy->linkrate =
sas_phy           873 drivers/scsi/mvsas/mv_94xx.c 	sas_phy->linkrate += 0x8;
sas_phy           874 drivers/scsi/mvsas/mv_94xx.c 	mv_dprintk("get link rate is %d\n", sas_phy->linkrate);
sas_phy            77 drivers/scsi/mvsas/mv_init.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy            82 drivers/scsi/mvsas/mv_init.c 	sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0;
sas_phy            83 drivers/scsi/mvsas/mv_init.c 	sas_phy->class = SAS;
sas_phy            84 drivers/scsi/mvsas/mv_init.c 	sas_phy->iproto = SAS_PROTOCOL_ALL;
sas_phy            85 drivers/scsi/mvsas/mv_init.c 	sas_phy->tproto = 0;
sas_phy            86 drivers/scsi/mvsas/mv_init.c 	sas_phy->type = PHY_TYPE_PHYSICAL;
sas_phy            87 drivers/scsi/mvsas/mv_init.c 	sas_phy->role = PHY_ROLE_INITIATOR;
sas_phy            88 drivers/scsi/mvsas/mv_init.c 	sas_phy->oob_mode = OOB_NOT_CONNECTED;
sas_phy            89 drivers/scsi/mvsas/mv_init.c 	sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN;
sas_phy            91 drivers/scsi/mvsas/mv_init.c 	sas_phy->id = phy_id;
sas_phy            92 drivers/scsi/mvsas/mv_init.c 	sas_phy->sas_addr = &mvi->sas_addr[0];
sas_phy            93 drivers/scsi/mvsas/mv_init.c 	sas_phy->frame_rcvd = &phy->frame_rcvd[0];
sas_phy            94 drivers/scsi/mvsas/mv_init.c 	sas_phy->ha = (struct sas_ha_struct *)mvi->shost->hostdata;
sas_phy            95 drivers/scsi/mvsas/mv_init.c 	sas_phy->lldd_phy = phy;
sas_phy           420 drivers/scsi/mvsas/mv_init.c 	sha->sas_phy = arr_phy;
sas_phy           455 drivers/scsi/mvsas/mv_init.c 			sha->sas_phy[j * chip_info->n_phy  + i] =
sas_phy           456 drivers/scsi/mvsas/mv_init.c 				&mvi->phy[i].sas_phy;
sas_phy           621 drivers/scsi/mvsas/mv_init.c 	kfree(sha->sas_phy);
sas_phy            73 drivers/scsi/mvsas/mv_sas.c 			while (sha->sas_phy[j]) {
sas_phy            74 drivers/scsi/mvsas/mv_sas.c 				if (sha->sas_phy[j] == phy)
sas_phy           102 drivers/scsi/mvsas/mv_sas.c 				while (sha->sas_phy[j]) {
sas_phy           103 drivers/scsi/mvsas/mv_sas.c 					if (sha->sas_phy[j] == phy)
sas_phy           163 drivers/scsi/mvsas/mv_sas.c int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy           166 drivers/scsi/mvsas/mv_sas.c 	int rc = 0, phy_id = sas_phy->id;
sas_phy           168 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sha = sas_phy->ha;
sas_phy           171 drivers/scsi/mvsas/mv_sas.c 	while (sha->sas_phy[i]) {
sas_phy           172 drivers/scsi/mvsas/mv_sas.c 		if (sha->sas_phy[i] == sas_phy)
sas_phy           222 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           233 drivers/scsi/mvsas/mv_sas.c 	sas_ha->notify_phy_event(sas_phy, PHYE_OOB_DONE);
sas_phy           235 drivers/scsi/mvsas/mv_sas.c 	if (sas_phy->phy) {
sas_phy           236 drivers/scsi/mvsas/mv_sas.c 		struct sas_phy *sphy = sas_phy->phy;
sas_phy           238 drivers/scsi/mvsas/mv_sas.c 		sphy->negotiated_linkrate = sas_phy->linkrate;
sas_phy           263 drivers/scsi/mvsas/mv_sas.c 	sas_phy->frame_rcvd_size = phy->frame_rcvd_size;
sas_phy           265 drivers/scsi/mvsas/mv_sas.c 	mvi->sas->notify_port_event(sas_phy,
sas_phy           308 drivers/scsi/mvsas/mv_sas.c 	struct sas_phy *sphy = dev->phy;
sas_phy           309 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_phy *sas_phy = sha->sas_phy[sphy->number];
sas_phy          1015 drivers/scsi/mvsas/mv_sas.c 		struct asd_sas_phy *sas_phy = &mvi->phy[i].sas_phy;
sas_phy          1028 drivers/scsi/mvsas/mv_sas.c 					sas_phy->oob_mode = SATA_OOB_MODE;
sas_phy          1056 drivers/scsi/mvsas/mv_sas.c 				sas_phy->oob_mode = SAS_OOB_MODE;
sas_phy          1060 drivers/scsi/mvsas/mv_sas.c 		memcpy(sas_phy->attached_sas_addr,
sas_phy          1075 drivers/scsi/mvsas/mv_sas.c static void mvs_port_notify_formed(struct asd_sas_phy *sas_phy, int lock)
sas_phy          1077 drivers/scsi/mvsas/mv_sas.c 	struct sas_ha_struct *sas_ha = sas_phy->ha;
sas_phy          1079 drivers/scsi/mvsas/mv_sas.c 	struct mvs_phy *phy = sas_phy->lldd_phy;
sas_phy          1080 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_port *sas_port = sas_phy->port;
sas_phy          1086 drivers/scsi/mvsas/mv_sas.c 	while (sas_ha->sas_phy[i]) {
sas_phy          1087 drivers/scsi/mvsas/mv_sas.c 		if (sas_ha->sas_phy[i] == sas_phy)
sas_phy          1105 drivers/scsi/mvsas/mv_sas.c 		mvs_update_wideport(mvi, sas_phy->id);
sas_phy          1117 drivers/scsi/mvsas/mv_sas.c static void mvs_port_notify_deformed(struct asd_sas_phy *sas_phy, int lock)
sas_phy          1120 drivers/scsi/mvsas/mv_sas.c 	struct mvs_phy *phy = sas_phy->lldd_phy;
sas_phy          1122 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_port *port = sas_phy->port;
sas_phy          1136 drivers/scsi/mvsas/mv_sas.c void mvs_port_formed(struct asd_sas_phy *sas_phy)
sas_phy          1138 drivers/scsi/mvsas/mv_sas.c 	mvs_port_notify_formed(sas_phy, 1);
sas_phy          1141 drivers/scsi/mvsas/mv_sas.c void mvs_port_deformed(struct asd_sas_phy *sas_phy)
sas_phy          1143 drivers/scsi/mvsas/mv_sas.c 	mvs_port_notify_deformed(sas_phy, 1);
sas_phy          1373 drivers/scsi/mvsas/mv_sas.c 	struct sas_phy *phy = sas_get_local_phy(dev);
sas_phy          1885 drivers/scsi/mvsas/mv_sas.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          1896 drivers/scsi/mvsas/mv_sas.c 				sas_phy_disconnected(sas_phy);
sas_phy          1898 drivers/scsi/mvsas/mv_sas.c 				sas_ha->notify_phy_event(sas_phy,
sas_phy          1905 drivers/scsi/mvsas/mv_sas.c 				mvs_port_notify_formed(sas_phy, 0);
sas_phy          1911 drivers/scsi/mvsas/mv_sas.c 		sas_ha->notify_port_event(sas_phy,
sas_phy          2032 drivers/scsi/mvsas/mv_sas.c 				mvs_port_notify_formed(&phy->sas_phy, 0);
sas_phy            60 drivers/scsi/mvsas/mv_sas.h #define MVS_PHY_ID (1U << sas_phy->id)
sas_phy           205 drivers/scsi/mvsas/mv_sas.h 	struct asd_sas_phy	sas_phy;
sas_phy           435 drivers/scsi/mvsas/mv_sas.h int mvs_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy           446 drivers/scsi/mvsas/mv_sas.h void mvs_port_formed(struct asd_sas_phy *sas_phy);
sas_phy           447 drivers/scsi/mvsas/mv_sas.h void mvs_port_deformed(struct asd_sas_phy *sas_phy);
sas_phy          3246 drivers/scsi/pm8001/pm8001_hwi.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy          3250 drivers/scsi/pm8001/pm8001_hwi.c 	if (sas_phy->phy) {
sas_phy          3251 drivers/scsi/pm8001/pm8001_hwi.c 		struct sas_phy *sphy = sas_phy->phy;
sas_phy          3252 drivers/scsi/pm8001/pm8001_hwi.c 		sphy->negotiated_linkrate = sas_phy->linkrate;
sas_phy          3270 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->frame_rcvd_size = phy->frame_rcvd_size;
sas_phy          3271 drivers/scsi/pm8001/pm8001_hwi.c 	pm8001_ha->sas->notify_port_event(sas_phy, PORTE_BYTES_DMAED);
sas_phy          3277 drivers/scsi/pm8001/pm8001_hwi.c 	struct sas_phy *sas_phy = phy->sas_phy.phy;
sas_phy          3281 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_12_0_GBPS;
sas_phy          3282 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_12_0_GBPS;
sas_phy          3285 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_6_0_GBPS;
sas_phy          3286 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_6_0_GBPS;
sas_phy          3289 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_3_0_GBPS;
sas_phy          3290 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_3_0_GBPS;
sas_phy          3293 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.linkrate = SAS_LINK_RATE_1_5_GBPS;
sas_phy          3294 drivers/scsi/pm8001/pm8001_hwi.c 		phy->sas_phy.phy->negotiated_linkrate = SAS_LINK_RATE_1_5_GBPS;
sas_phy          3297 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->negotiated_linkrate = phy->sas_phy.linkrate;
sas_phy          3298 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->maximum_linkrate_hw = SAS_LINK_RATE_6_0_GBPS;
sas_phy          3299 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->minimum_linkrate_hw = SAS_LINK_RATE_1_5_GBPS;
sas_phy          3300 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->maximum_linkrate = SAS_LINK_RATE_6_0_GBPS;
sas_phy          3301 drivers/scsi/pm8001/pm8001_hwi.c 	sas_phy->minimum_linkrate = SAS_LINK_RATE_1_5_GBPS;
sas_phy          3319 drivers/scsi/pm8001/pm8001_hwi.c 	if (phy->sas_phy.frame_rcvd[0] == 0x34
sas_phy          3320 drivers/scsi/pm8001/pm8001_hwi.c 		&& phy->sas_phy.oob_mode == SATA_OOB_MODE) {
sas_phy          3321 drivers/scsi/pm8001/pm8001_hwi.c 		struct pm8001_hba_info *pm8001_ha = phy->sas_phy.ha->lldd_ha;
sas_phy          3324 drivers/scsi/pm8001/pm8001_hwi.c 		addr += phy->sas_phy.id;
sas_phy          3328 drivers/scsi/pm8001/pm8001_hwi.c 			(void *) phy->sas_phy.frame_rcvd;
sas_phy          3430 drivers/scsi/pm8001/pm8001_hwi.c 	phy->sas_phy.oob_mode = SAS_OOB_MODE;
sas_phy          3431 drivers/scsi/pm8001/pm8001_hwi.c 	sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
sas_phy          3432 drivers/scsi/pm8001/pm8001_hwi.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3436 drivers/scsi/pm8001/pm8001_hwi.c 	pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
sas_phy          3437 drivers/scsi/pm8001/pm8001_hwi.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3475 drivers/scsi/pm8001/pm8001_hwi.c 	phy->sas_phy.oob_mode = SATA_OOB_MODE;
sas_phy          3476 drivers/scsi/pm8001/pm8001_hwi.c 	sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
sas_phy          3477 drivers/scsi/pm8001/pm8001_hwi.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3483 drivers/scsi/pm8001/pm8001_hwi.c 	pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
sas_phy          3484 drivers/scsi/pm8001/pm8001_hwi.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3807 drivers/scsi/pm8001/pm8001_hwi.c 	struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
sas_phy          3842 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
sas_phy          3847 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL);
sas_phy          3855 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3857 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3866 drivers/scsi/pm8001/pm8001_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3867 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_CHANGE;
sas_phy          3868 drivers/scsi/pm8001/pm8001_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3869 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3874 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy          3876 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR);
sas_phy          3881 drivers/scsi/pm8001/pm8001_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3882 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_EXP;
sas_phy          3883 drivers/scsi/pm8001/pm8001_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3884 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3891 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3893 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3901 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3903 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3911 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3913 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3921 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3923 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3932 drivers/scsi/pm8001/pm8001_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3933 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_SES;
sas_phy          3934 drivers/scsi/pm8001/pm8001_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3935 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3947 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET);
sas_phy          3952 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3954 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3962 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3964 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3969 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3971 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3976 drivers/scsi/pm8001/pm8001_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3978 drivers/scsi/pm8001/pm8001_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy           122 drivers/scsi/pm8001/pm8001_init.c 	struct asd_sas_phy *sas_phy = &phy->sas_phy;
sas_phy           125 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->enabled = (phy_id < pm8001_ha->chip->n_phy) ? 1 : 0;
sas_phy           126 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->class = SAS;
sas_phy           127 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->iproto = SAS_PROTOCOL_ALL;
sas_phy           128 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->tproto = 0;
sas_phy           129 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->type = PHY_TYPE_PHYSICAL;
sas_phy           130 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->role = PHY_ROLE_INITIATOR;
sas_phy           131 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->oob_mode = OOB_NOT_CONNECTED;
sas_phy           132 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->linkrate = SAS_LINK_RATE_UNKNOWN;
sas_phy           133 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->id = phy_id;
sas_phy           134 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->sas_addr = (u8 *)&phy->dev_sas_addr;
sas_phy           135 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->frame_rcvd = &phy->frame_rcvd[0];
sas_phy           136 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->ha = (struct sas_ha_struct *)pm8001_ha->shost->hostdata;
sas_phy           137 drivers/scsi/pm8001/pm8001_init.c 	sas_phy->lldd_phy = phy;
sas_phy           536 drivers/scsi/pm8001/pm8001_init.c 	sha->sas_phy = arr_phy;
sas_phy           573 drivers/scsi/pm8001/pm8001_init.c 		sha->sas_phy[i] = &pm8001_ha->phy[i].sas_phy;
sas_phy           575 drivers/scsi/pm8001/pm8001_init.c 		sha->sas_phy[i]->sas_addr =
sas_phy          1102 drivers/scsi/pm8001/pm8001_init.c 	kfree(sha->sas_phy);
sas_phy           154 drivers/scsi/pm8001/pm8001_sas.c int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy           157 drivers/scsi/pm8001/pm8001_sas.c 	int rc = 0, phy_id = sas_phy->id;
sas_phy           164 drivers/scsi/pm8001/pm8001_sas.c 	pm8001_ha = sas_phy->ha->lldd_ha;
sas_phy           210 drivers/scsi/pm8001/pm8001_sas.c 				sas_phy_disconnected(&phy->sas_phy);
sas_phy           211 drivers/scsi/pm8001/pm8001_sas.c 				sas_ha->notify_phy_event(&phy->sas_phy,
sas_phy           219 drivers/scsi/pm8001/pm8001_sas.c 				sas_phy_disconnected(&phy->sas_phy);
sas_phy           220 drivers/scsi/pm8001/pm8001_sas.c 				sas_ha->notify_phy_event(&phy->sas_phy,
sas_phy           237 drivers/scsi/pm8001/pm8001_sas.c 			struct sas_phy *phy = sas_phy->phy;
sas_phy          1002 drivers/scsi/pm8001/pm8001_sas.c 	struct sas_phy *phy;
sas_phy          1053 drivers/scsi/pm8001/pm8001_sas.c 	struct sas_phy *phy;
sas_phy          1117 drivers/scsi/pm8001/pm8001_sas.c 		struct sas_phy *phy = sas_get_local_phy(dev);
sas_phy           253 drivers/scsi/pm8001/pm8001_sas.h 	struct asd_sas_phy	sas_phy;
sas_phy           640 drivers/scsi/pm8001/pm8001_sas.h int pm8001_phy_control(struct asd_sas_phy *sas_phy, enum phy_func func,
sas_phy          2905 drivers/scsi/pm8001/pm80xx_hwi.c 	phy->sas_phy.oob_mode = SAS_OOB_MODE;
sas_phy          2980 drivers/scsi/pm8001/pm80xx_hwi.c 	phy->sas_phy.oob_mode = SAS_OOB_MODE;
sas_phy          2981 drivers/scsi/pm8001/pm80xx_hwi.c 	sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
sas_phy          2982 drivers/scsi/pm8001/pm80xx_hwi.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          2986 drivers/scsi/pm8001/pm80xx_hwi.c 	pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
sas_phy          2987 drivers/scsi/pm8001/pm80xx_hwi.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3028 drivers/scsi/pm8001/pm80xx_hwi.c 	phy->sas_phy.oob_mode = SATA_OOB_MODE;
sas_phy          3029 drivers/scsi/pm8001/pm80xx_hwi.c 	sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_DONE);
sas_phy          3030 drivers/scsi/pm8001/pm80xx_hwi.c 	spin_lock_irqsave(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3036 drivers/scsi/pm8001/pm80xx_hwi.c 	pm8001_get_attached_sas_addr(phy, phy->sas_phy.attached_sas_addr);
sas_phy          3037 drivers/scsi/pm8001/pm80xx_hwi.c 	spin_unlock_irqrestore(&phy->sas_phy.frame_rcvd_lock, flags);
sas_phy          3080 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy          3102 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy          3115 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_LOSS_OF_SIGNAL);
sas_phy          3195 drivers/scsi/pm8001/pm80xx_hwi.c 	struct asd_sas_phy *sas_phy = sas_ha->sas_phy[phy_id];
sas_phy          3215 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_SPINUP_HOLD);
sas_phy          3232 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3234 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3243 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3244 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_CHANGE;
sas_phy          3245 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3246 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3251 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(&phy->sas_phy);
sas_phy          3253 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_phy_event(&phy->sas_phy, PHYE_OOB_ERROR);
sas_phy          3258 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3259 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_EXP;
sas_phy          3260 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3261 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3297 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_lock_irqsave(&sas_phy->sas_prim_lock, flags);
sas_phy          3298 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy->sas_prim = HW_EVENT_BROADCAST_SES;
sas_phy          3299 drivers/scsi/pm8001/pm80xx_hwi.c 		spin_unlock_irqrestore(&sas_phy->sas_prim_lock, flags);
sas_phy          3300 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_BROADCAST_RCVD);
sas_phy          3312 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_HARD_RESET);
sas_phy          3317 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3319 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3327 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3329 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3336 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_phy_disconnected(sas_phy);
sas_phy          3338 drivers/scsi/pm8001/pm80xx_hwi.c 		sas_ha->notify_port_event(sas_phy, PORTE_LINK_RESET_ERR);
sas_phy          3355 drivers/scsi/pm8001/pm80xx_hwi.c 				sas_ha->notify_phy_event(&phy->sas_phy,
sas_phy           422 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);		\
sas_phy           436 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);		\
sas_phy           452 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);		\
sas_phy           464 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);		\
sas_phy           496 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);		\
sas_phy           516 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);
sas_phy           527 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);
sas_phy           564 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);
sas_phy           575 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = transport_class_to_phy(dev);
sas_phy           623 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = dev_to_phy(dev);
sas_phy           657 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = dev_to_phy(dev);
sas_phy           679 drivers/scsi/scsi_transport_sas.c struct sas_phy *sas_phy_alloc(struct device *parent, int number)
sas_phy           682 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy;
sas_phy           714 drivers/scsi/scsi_transport_sas.c int sas_phy_add(struct sas_phy *phy)
sas_phy           738 drivers/scsi/scsi_transport_sas.c void sas_phy_free(struct sas_phy *phy)
sas_phy           753 drivers/scsi/scsi_transport_sas.c sas_phy_delete(struct sas_phy *phy)
sas_phy           833 drivers/scsi/scsi_transport_sas.c 				 struct sas_phy *phy)
sas_phy           851 drivers/scsi/scsi_transport_sas.c 				 struct sas_phy *phy)
sas_phy           985 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy, *tmp_phy;
sas_phy          1031 drivers/scsi/scsi_transport_sas.c struct sas_phy *sas_port_get_phy(struct sas_port *port)
sas_phy          1033 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy;
sas_phy          1062 drivers/scsi/scsi_transport_sas.c void sas_port_add_phy(struct sas_port *port, struct sas_phy *phy)
sas_phy          1067 drivers/scsi/scsi_transport_sas.c 		struct sas_phy *tmp;
sas_phy          1096 drivers/scsi/scsi_transport_sas.c void sas_port_delete_phy(struct sas_port *port, struct sas_phy *phy)
sas_phy          1182 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = dev_to_phy(rphy->dev.parent);
sas_phy          1202 drivers/scsi/scsi_transport_sas.c 	struct sas_phy *phy = dev_to_phy(rphy->dev.parent);
sas_phy          1035 drivers/scsi/smartpqi/smartpqi.h 	struct sas_phy *phy;
sas_phy            23 drivers/scsi/smartpqi/smartpqi_sas_transport.c 	struct sas_phy *phy;
sas_phy            45 drivers/scsi/smartpqi/smartpqi_sas_transport.c 	struct sas_phy *phy = pqi_sas_phy->phy;
sas_phy            58 drivers/scsi/smartpqi/smartpqi_sas_transport.c 	struct sas_phy *phy;
sas_phy           307 drivers/scsi/smartpqi/smartpqi_sas_transport.c static int pqi_sas_get_linkerrors(struct sas_phy *phy)
sas_phy           421 drivers/scsi/smartpqi/smartpqi_sas_transport.c static int pqi_sas_phy_reset(struct sas_phy *phy, int hard_reset)
sas_phy           426 drivers/scsi/smartpqi/smartpqi_sas_transport.c static int pqi_sas_phy_enable(struct sas_phy *phy, int enable)
sas_phy           431 drivers/scsi/smartpqi/smartpqi_sas_transport.c static int pqi_sas_phy_setup(struct sas_phy *phy)
sas_phy           436 drivers/scsi/smartpqi/smartpqi_sas_transport.c static void pqi_sas_phy_release(struct sas_phy *phy)
sas_phy           440 drivers/scsi/smartpqi/smartpqi_sas_transport.c static int pqi_sas_phy_speed(struct sas_phy *phy,
sas_phy           116 include/scsi/libsas.h 	struct sas_phy *phy;
sas_phy           179 include/scsi/libsas.h 	struct sas_phy *phy;
sas_phy           315 include/scsi/libsas.h 	struct sas_phy *phy;
sas_phy           387 include/scsi/libsas.h 	struct asd_sas_phy  **sas_phy; /* array of valid pointers, must be set */
sas_phy           447 include/scsi/libsas.h static inline void sas_put_local_phy(struct sas_phy *phy)
sas_phy           663 include/scsi/libsas.h int sas_set_phy_speed(struct sas_phy *phy, struct sas_phy_linkrates *rates);
sas_phy           664 include/scsi/libsas.h int sas_phy_reset(struct sas_phy *phy, int hard_reset);
sas_phy           705 include/scsi/libsas.h struct sas_phy *sas_get_local_phy(struct domain_device *dev);
sas_phy            88 include/scsi/scsi_transport_sas.h 	container_of((d), struct sas_phy, dev)
sas_phy           174 include/scsi/scsi_transport_sas.h 	int (*get_linkerrors)(struct sas_phy *);
sas_phy           177 include/scsi/scsi_transport_sas.h 	int (*phy_reset)(struct sas_phy *, int);
sas_phy           178 include/scsi/scsi_transport_sas.h 	int (*phy_enable)(struct sas_phy *, int);
sas_phy           179 include/scsi/scsi_transport_sas.h 	int (*phy_setup)(struct sas_phy *);
sas_phy           180 include/scsi/scsi_transport_sas.h 	void (*phy_release)(struct sas_phy *);
sas_phy           181 include/scsi/scsi_transport_sas.h 	int (*set_phy_speed)(struct sas_phy *, struct sas_phy_linkrates *);
sas_phy           190 include/scsi/scsi_transport_sas.h extern struct sas_phy *sas_phy_alloc(struct device *, int);
sas_phy           191 include/scsi/scsi_transport_sas.h extern void sas_phy_free(struct sas_phy *);
sas_phy           192 include/scsi/scsi_transport_sas.h extern int sas_phy_add(struct sas_phy *);
sas_phy           193 include/scsi/scsi_transport_sas.h extern void sas_phy_delete(struct sas_phy *);
sas_phy           215 include/scsi/scsi_transport_sas.h void sas_port_add_phy(struct sas_port *, struct sas_phy *);
sas_phy           216 include/scsi/scsi_transport_sas.h void sas_port_delete_phy(struct sas_port *, struct sas_phy *);
sas_phy           219 include/scsi/scsi_transport_sas.h struct sas_phy *sas_port_get_phy(struct sas_port *port);
sas_phy           220 include/scsi/scsi_transport_sas.h static inline void sas_port_put_phy(struct sas_phy *phy)