FreeBSD/sys/dev/isci/scil/scic_sds_stp_request.c
/**
 * This method will construct the STP Non-data request and its associated
 * TC data.  A non-data request essentially behaves like a 0 length read
 * request in the SCU.
 *
 * @param[in] this_request This parameter specifies the core request
 *            object to construction into an STP/SATA non-data request.
 *
 * @return This method currently always returns SCI_SUCCESS
 */
This method will construct the STP Non-data request and its associated
TC data.  A non-data request essentially behaves like a 0 length read
request in the SCU.

@param[in] this_request This parameter specifies the core request
object to construction into an STP/SATA non-data request.

@return This method currently always returns SCI_SUCCESS
This method will construct the STP Non - data request and its associated TC data . A non - data request essentially behaves like a 0 length read request in the SCU . @param [ in ] this_request This parameter specifies the core request object to construction into an STP / SATA non - data request . @return This method currently always returns SCI_SUCCESS
SCI_STATUS scic_sds_stp_non_data_request_construct(
   SCIC_SDS_REQUEST_T * this_request
)
{
   scic_sds_stp_non_ncq_request_construct(this_request);
   scu_stp_raw_request_construct_task_context(
      (SCIC_SDS_STP_REQUEST_T*) this_request,
      this_request->task_context_buffer
   );
   sci_base_state_machine_construct(
      &this_request->started_substate_machine,
      &this_request->parent.parent,
      scic_sds_stp_request_started_non_data_substate_table,
      SCIC_SDS_STP_REQUEST_STARTED_NON_DATA_AWAIT_H2D_COMPLETION_SUBSTATE
   );
   return SCI_SUCCESS;
}
SCI_STATUS scic_sds_stp_non_data_request_construct ( SCIC_SDS_REQUEST_T * this_request ) { scic_sds_stp_non_ncq_request_construct ( this_request ) ; scu_stp_raw_request_construct_task_context ( ( SCIC_SDS_STP_REQUEST_T * ) this_request , this_request -> task_context_buffer ) ; sci_base_state_machine_construct ( & this_request -> started_substate_machine , & this_request -> parent . parent , scic_sds_stp_request_started_non_data_substate_table , SCIC_SDS_STP_REQUEST_STARTED_NON_DATA_AWAIT_H2D_COMPLETION_SUBSTATE ) ; return SCI_SUCCESS ; }
This method will construct the STP Non-data request and its associated
 TC data.
This method will construct the STP Non - data request and its associated TC data .
// Build the STP task context structure