Lines Matching defs:asd_sas_phy
315 struct asd_sas_phy { struct
317 struct asd_sas_event port_events[PORT_NUM_EVENTS];
318 struct asd_sas_event phy_events[PHY_NUM_EVENTS];
320 unsigned long port_events_pending;
321 unsigned long phy_events_pending;
323 int error;
324 int suspended;
326 struct sas_phy *phy;
330 int enabled; /* must be set */
332 int id; /* must be set */
333 enum sas_class class;
334 enum sas_protocol iproto;
335 enum sas_protocol tproto;
337 enum sas_phy_type type;
338 enum sas_phy_role role;
339 enum sas_oob_mode oob_mode;
340 enum sas_linkrate linkrate;
342 u8 *sas_addr; /* must be set */
343 u8 attached_sas_addr[SAS_ADDR_SIZE]; /* class:RO, driver: R/W */
345 spinlock_t frame_rcvd_lock;
346 u8 *frame_rcvd; /* must be set */
347 int frame_rcvd_size;
349 spinlock_t sas_prim_lock;
350 u32 sas_prim;
352 struct list_head port_phy_el; /* driver:RO */
353 struct asd_sas_port *port; /* Class:RW, driver: RO */
355 struct sas_ha_struct *ha; /* may be set; the class sets it anyway */
357 void *lldd_phy; /* not touched by the sas_class_code */