Lines Matching defs:phy
127 struct asd_sas_phy *phy = ev->phy;
128 struct sas_ha_struct *ha = phy->ha;
138 struct asd_sas_phy *phy = ev->phy;
139 struct sas_ha_struct *ha = phy->ha;
147 static bool sas_defer_event(struct asd_sas_phy *phy, struct asd_sas_event *ev)
149 struct sas_ha_struct *ha = phy->ha;
154 if (test_bit(SAS_HA_RESUMING, &ha->state) && !phy->suspended) {
164 void sas_notify_port_event(struct asd_sas_phy *phy, enum port_event event,
167 struct sas_ha_struct *ha = phy->ha;
172 ev = sas_alloc_event(phy, gfp_flags);
179 INIT_SAS_EVENT(ev, sas_port_event_worker, phy, event);
181 if (sas_defer_event(phy, ev))
191 void sas_notify_phy_event(struct asd_sas_phy *phy, enum phy_event event,
194 struct sas_ha_struct *ha = phy->ha;
199 ev = sas_alloc_event(phy, gfp_flags);
206 INIT_SAS_EVENT(ev, sas_phy_event_worker, phy, event);
208 if (sas_defer_event(phy, ev))