Lines Matching full:stp

61  *        SATA/STP specific functionality.
83 * @brief This method provides SATA/STP CONSTRUCTED state specific handling
109 if (fw_io->parent.stp.sequence.protocol == SAT_PROTOCOL_FPDMA) in scif_sas_stp_io_request_constructed_start_handler()
114 fw_io->parent.stp.ncq_tag = scif_sas_stp_remote_device_allocate_ncq_tag( in scif_sas_stp_io_request_constructed_start_handler()
118 if (fw_io->parent.stp.ncq_tag == SCIF_SAS_INVALID_NCQ_TAG) in scif_sas_stp_io_request_constructed_start_handler()
124 fis->sector_count = (fw_io->parent.stp.ncq_tag << 3); in scif_sas_stp_io_request_constructed_start_handler()
129 fw_io->parent.core_object, fw_io->parent.stp.ncq_tag in scif_sas_stp_io_request_constructed_start_handler()
137 * @brief This method provides SATA/STP CONSTRUCTED state specific handling
165 if (fw_io->parent.stp.sequence.protocol == SAT_PROTOCOL_FPDMA) in scif_sas_stp_io_request_constructed_complete_handler()
168 if (fw_io->parent.stp.ncq_tag != SCIF_SAS_INVALID_NCQ_TAG) in scif_sas_stp_io_request_constructed_complete_handler()
170 fw_io->parent.device, fw_io->parent.stp.ncq_tag in scif_sas_stp_io_request_constructed_complete_handler()
174 sati_sequence_terminate(&fw_io->parent.stp.sequence, fw_io, fw_io); in scif_sas_stp_io_request_constructed_complete_handler()
179 * @brief This method provides SATA/STP STARTED state specific handling for
207 if (fw_io->parent.stp.sequence.protocol == SAT_PROTOCOL_FPDMA) in scif_sas_stp_core_cb_io_request_complete_handler()
209 fw_request->device, fw_io->parent.stp.ncq_tag in scif_sas_stp_core_cb_io_request_complete_handler()
225 &fw_io->parent.stp.sequence, fw_io, fw_io in scif_sas_stp_core_cb_io_request_complete_handler()
257 sati_sequence_terminate(&fw_io->parent.stp.sequence, fw_io, fw_io); in scif_sas_stp_core_cb_io_request_complete_handler()
265 * @brief This method provides STP PACKET io request STARTED state specific handling for
296 &fw_io->parent.stp.sequence, fw_io, fw_io in scif_sas_stp_core_cb_packet_io_request_complete_handler()
318 fw_request->stp.sequence.state == SATI_SEQUENCE_STATE_INCOMPLETE) in scif_sas_stp_core_cb_packet_io_request_complete_handler()
322 &fw_io->parent.stp.sequence, fw_io, fw_io in scif_sas_stp_core_cb_packet_io_request_complete_handler()
337 * @brief This method will construct the SATA/STP specific IO request
372 &fw_io->parent.stp.sequence, in scif_sas_stp_io_request_construct()
423 * @brief This method will construct the STP PACKET protocol specific IO
429 * @param[in,out] fw_io This parameter specifies the stp packet io request
455 &fw_io->parent.stp.sequence, in scif_sas_stp_packet_io_request_construct()
492 * @param[in] fw_io This parameter specifies the stp packet io request whose
510 &fw_io->parent.stp.sequence, fw_io, fw_io); in scif_sas_stp_packet_io_request_get_number_of_bytes_transferred()
545 if (fw_io->parent.stp.sequence.protocol == SAT_PROTOCOL_PIO_DATA_IN) in scic_cb_io_request_do_copy_rx_frames()
548 (fw_io->parent.stp.sequence.type == SATI_SEQUENCE_ATA_PASSTHROUGH_12) in scic_cb_io_request_do_copy_rx_frames()
549 || (fw_io->parent.stp.sequence.type == SATI_SEQUENCE_ATA_PASSTHROUGH_16) in scic_cb_io_request_do_copy_rx_frames()
551 (fw_io->parent.stp.sequence.type >= SATI_SEQUENCE_TYPE_READ_MIN) in scic_cb_io_request_do_copy_rx_frames()
552 && (fw_io->parent.stp.sequence.type <= SATI_SEQUENCE_TYPE_READ_MAX) in scic_cb_io_request_do_copy_rx_frames()
580 return fw_io->parent.stp.sequence.protocol; in scic_cb_request_get_sat_protocol()