Lines Matching defs:asd_sas_phy
308 struct asd_sas_phy { struct
310 atomic_t event_nr;
311 int in_shutdown;
312 int error;
313 int suspended;
315 struct sas_phy *phy;
319 int enabled; /* must be set */
321 int id; /* must be set */
322 enum sas_class class;
323 enum sas_protocol iproto;
324 enum sas_protocol tproto;
326 enum sas_phy_type type;
327 enum sas_phy_role role;
328 enum sas_oob_mode oob_mode;
329 enum sas_linkrate linkrate;
331 u8 *sas_addr; /* must be set */
332 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */
334 spinlock_t frame_rcvd_lock;
335 u8 *frame_rcvd; /* must be set */
336 int frame_rcvd_size;
338 spinlock_t sas_prim_lock;
339 u32 sas_prim;
341 struct list_head port_phy_el; /* driver:RO */
342 struct asd_sas_port *port; /* Class:RW, driver: RO */
344 struct sas_ha_struct *ha; /* may be set; the class sets it anyway */
346 void *lldd_phy; /* not touched by the sas_class_code */