Lines Matching defs:ocs_hw_io_s

557 struct ocs_hw_io_s {  struct
562 ocs_hw_io_state_e state; /**< state of IO: free, busy, wait_free */ argument
563 ocs_hw_wqe_t wqe; /**< Work queue object, with link for pending */
564 ocs_lock_t axr_lock; /**< Lock to synchronize TRSP and AXT Data/Cmd Cqes */
565 ocs_hw_t *hw; /**< pointer back to hardware context */
566 ocs_remote_node_t *rnode;
567 struct ocs_hw_auto_xfer_rdy_buffer_s *axr_buf;
568 ocs_dma_t xfer_rdy;
569 uint16_t type;
570 uint32_t port_owned_abort_count; /**< IO abort count */
571 hw_wq_t *wq; /**< WQ assigned to the exchange */
572 uint32_t xbusy; /**< Exchange is active in FW */
573 ocs_hw_done_t done; /**< Function called on IO completion */
574 void *arg; /**< argument passed to "IO done" callback */
575 ocs_hw_done_t abort_done; /**< Function called on abort completion */
576 void *abort_arg; /**< argument passed to "abort done" callback */
577 ocs_ref_t ref; /**< refcount object */
578 size_t length; /**< needed for bug O127585: length of IO */
579 uint32_t wqe_timeout; /**< timeout value for WQEs */
580 struct timeval submit_time; /**< timestamp when current WQE was submitted */
582 uint32_t status_saved:1, /**< if TRUE, latched status should be returned */
583 abort_in_progress:1, /**< if TRUE, abort is in progress */
584 quarantine:1, /**< set if IO to be quarantined */
585 quarantine_first_phase:1, /**< set if first phase of IO */
586 is_port_owned:1, /**< set if POST_XRI was used to send XRI to th chip */
587 auto_xfer_rdy_dnrx:1, /**< TRUE if DNRX was set on this IO */
589 uint32_t saved_status; /**< latched status */
590 uint32_t saved_len; /**< latched length */
591 uint32_t saved_ext; /**< latched extended status */
615 struct ocs_hw_io_s *sec_hio; /**< Secondary HW IO context */ argument
616 ocs_hw_io_param_t sec_iparam; /**< Secondary HW IO context saved iparam */
617 uint32_t sec_len; /**< Secondary HW IO context saved len */
620 void *ul_io; /**< where upper layer can store reference to its IO */