Lines Matching defs:asd_sas_phy
275 struct asd_sas_phy { struct
278 struct asd_sas_event port_events[PORT_NUM_EVENTS];
279 struct asd_sas_event phy_events[PHY_NUM_EVENTS];
281 unsigned long port_events_pending;
282 unsigned long phy_events_pending;
284 int error;
286 struct sas_phy *phy;
290 int enabled; /* must be set */
292 int id; /* must be set */
293 enum sas_class class;
294 enum sas_protocol iproto;
295 enum sas_protocol tproto;
297 enum sas_phy_type type;
298 enum sas_phy_role role;
299 enum sas_oob_mode oob_mode;
300 enum sas_linkrate linkrate;
302 u8 *sas_addr; /* must be set */
303 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */
305 spinlock_t frame_rcvd_lock;
306 u8 *frame_rcvd; /* must be set */
307 int frame_rcvd_size;
309 spinlock_t sas_prim_lock;
310 u32 sas_prim;
312 struct list_head port_phy_el; /* driver:RO */
313 struct asd_sas_port *port; /* Class:RW, driver: RO */
315 struct sas_ha_struct *ha; /* may be set; the class sets it anyway */
317 void *lldd_phy; /* not touched by the sas_class_code */