FreeBSD/sys/dev/isci/scil/scic_sds_stp_request.c
/**
 * This method performs the operations common to all SATA/STP requests
 * utilizing the raw frame method.
 *
 * @param[in] this_request This parameter specifies the STP request object
 *            for which to construct a RAW command frame task context.
 * @param[in] task_context This parameter specifies the SCU specific
 *            task context buffer to construct.
 *
 * @return none
 */
This method performs the operations common to all SATA/STP requests
utilizing the raw frame method.

@param[in] this_request This parameter specifies the STP request object
for which to construct a RAW command frame task context.
@param[in] task_context This parameter specifies the SCU specific
task context buffer to construct.

@return none
This method performs the operations common to all SATA / STP requests utilizing the raw frame method . @param [ in ] this_request This parameter specifies the STP request object for which to construct a RAW command frame task context . @param [ in ] task_context This parameter specifies the SCU specific task context buffer to construct . @return none
void scu_stp_raw_request_construct_task_context(
   SCIC_SDS_STP_REQUEST_T * this_request,
   SCU_TASK_CONTEXT_T     * task_context
)
{
   scu_sata_reqeust_construct_task_context(&this_request->parent, task_context);
   task_context->control_frame         = 0;
   task_context->priority              = SCU_TASK_PRIORITY_NORMAL;
   task_context->task_type             = SCU_TASK_TYPE_SATA_RAW_FRAME;
   task_context->type.stp.fis_type     = SATA_FIS_TYPE_REGH2D;
   task_context->transfer_length_bytes = sizeof(SATA_FIS_REG_H2D_T) - sizeof(U32);
}
void scu_stp_raw_request_construct_task_context ( SCIC_SDS_STP_REQUEST_T * this_request , SCU_TASK_CONTEXT_T * task_context ) { scu_sata_reqeust_construct_task_context ( & this_request -> parent , task_context ) ; task_context -> control_frame = 0 ; task_context -> priority = SCU_TASK_PRIORITY_NORMAL ; task_context -> task_type = SCU_TASK_TYPE_SATA_RAW_FRAME ; task_context -> type . stp . fis_type = SATA_FIS_TYPE_REGH2D ; task_context -> transfer_length_bytes = sizeof ( SATA_FIS_REG_H2D_T ) - sizeof ( U32 ) ; }
This method performs the operations common to all SATA/STP requests
 utilizing the raw frame method.
This method performs the operations common to all SATA / STP requests utilizing the raw frame method .