Home
last modified time | relevance | path

Searched refs:io_request (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/dev/isci/scil/
H A Dscif_sas_io_request_state_handlers.c87 SCI_BASE_REQUEST_T * io_request in scif_sas_io_request_constructed_start_handler() argument
106 SCI_BASE_REQUEST_T * io_request in scif_sas_io_request_constructed_abort_handler() argument
110 &io_request->state_machine, SCI_BASE_REQUEST_STATE_COMPLETED in scif_sas_io_request_constructed_abort_handler()
134 SCI_BASE_REQUEST_T * io_request in scif_sas_io_request_started_abort_handler() argument
137 SCIF_SAS_REQUEST_T * fw_request = (SCIF_SAS_REQUEST_T *) io_request; in scif_sas_io_request_started_abort_handler()
140 &io_request->state_machine, SCI_BASE_REQUEST_STATE_ABORTING in scif_sas_io_request_started_abort_handler()
160 SCI_BASE_REQUEST_T * io_request in scif_sas_io_request_started_complete_handler() argument
164 &io_request->state_machine, SCI_BASE_REQUEST_STATE_COMPLETED in scif_sas_io_request_started_complete_handler()
188 SCI_BASE_REQUEST_T * io_request in scif_sas_io_request_completed_destruct_handler() argument
192 &io_request->state_machine, SCI_BASE_REQUEST_STATE_FINAL in scif_sas_io_request_completed_destruct_handler()
[all …]
H A Dscif_sas_domain_state_handlers.c210 SCI_BASE_REQUEST_T * io_request in scif_sas_domain_ready_start_io_handler() argument
216 SCIF_SAS_REQUEST_T * fw_request = (SCIF_SAS_REQUEST_T*) io_request; in scif_sas_domain_ready_start_io_handler()
223 domain, remote_device, io_request in scif_sas_domain_ready_start_io_handler()
263 SCI_BASE_REQUEST_T * io_request in scif_sas_domain_ready_complete_io_handler() argument
268 SCIF_SAS_REQUEST_T * fw_request= (SCIF_SAS_REQUEST_T*) io_request; in scif_sas_domain_ready_complete_io_handler()
274 domain, remote_device, io_request in scif_sas_domain_ready_complete_io_handler()
307 SCI_BASE_REQUEST_T * io_request in scif_sas_domain_ready_continue_io_handler() argument
314 domain, remote_device, io_request in scif_sas_domain_ready_continue_io_handler()
441 SCI_BASE_REQUEST_T * io_request in scif_sas_domain_ready_start_high_priority_io_handler() argument
447 SCIF_SAS_REQUEST_T * fw_request = (SCIF_SAS_REQUEST_T*) io_request; in scif_sas_domain_ready_start_high_priority_io_handler()
[all …]
H A Dscif_sas_controller_state_handlers.c563 SCI_BASE_REQUEST_T * io_request, in scif_sas_controller_ready_start_io_handler() argument
568 SCIF_SAS_IO_REQUEST_T *fw_io = (SCIF_SAS_IO_REQUEST_T*)io_request; in scif_sas_controller_ready_start_io_handler()
577 controller, remote_device, io_request, io_tag in scif_sas_controller_ready_start_io_handler()
581 &fw_device->domain->parent, remote_device, io_request in scif_sas_controller_ready_start_io_handler()
602 &io_request->state_machine, SCI_BASE_REQUEST_STATE_STARTED in scif_sas_controller_ready_start_io_handler()
612 &fw_device->domain->parent, remote_device, io_request in scif_sas_controller_ready_start_io_handler()
618 fw_io->parent.state_handlers->complete_handler(io_request); in scif_sas_controller_ready_start_io_handler()
663 SCI_BASE_REQUEST_T * io_request in scif_sas_controller_ready_complete_io_handler() argument
671 io_request; in scif_sas_controller_ready_complete_io_handler()
679 controller, remote_device, io_request in scif_sas_controller_ready_complete_io_handler()
[all …]
H A Dscif_sas_remote_device.h388 SCI_BASE_REQUEST_T * io_request
423 SCI_BASE_REQUEST_T * io_request
442 SCI_BASE_REQUEST_T * io_request
447 SCI_BASE_REQUEST_T * io_request,
454 SCI_BASE_REQUEST_T * io_request
478 SCI_BASE_REQUEST_T * io_request
483 SCI_BASE_REQUEST_T * io_request,
H A Dscif_sas_remote_device_ready_substate_handlers.c272 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_ready_operational_start_io_handler() argument
277 SCIF_SAS_IO_REQUEST_T * fw_io = (SCIF_SAS_IO_REQUEST_T*) io_request; in scif_sas_remote_device_ready_operational_start_io_handler()
306 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_ready_operational_complete_io_handler() argument
333 SCI_BASE_REQUEST_T * io_request, in scif_sas_remote_device_ready_operational_complete_high_priority_io_handler() argument
368 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_ready_operational_continue_io_handler() argument
516 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_ready_operational_start_high_priority_io_handler() argument
521 SCIF_SAS_IO_REQUEST_T * fw_io = (SCIF_SAS_IO_REQUEST_T*) io_request; in scif_sas_remote_device_ready_operational_start_high_priority_io_handler()
628 SCI_BASE_REQUEST_T * io_request, in scif_sas_remote_device_ready_task_management_complete_high_priority_io_handler() argument
635 SCIF_SAS_REQUEST_T * fw_request = (SCIF_SAS_REQUEST_T*) io_request; in scif_sas_remote_device_ready_task_management_complete_high_priority_io_handler()
643 remote_device, io_request, response_data, completion_status in scif_sas_remote_device_ready_task_management_complete_high_priority_io_handler()
H A Dscic_sds_stp_remote_device.c250 SCIC_SDS_REQUEST_T * io_request = (SCIC_SDS_REQUEST_T *)request; in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler() local
257 io_request in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
263 scic_sds_remote_node_context_start_io(this_device->rnc, io_request); in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
267 status = io_request->state_handlers->parent.start_handler(request); in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
272 if (io_request->sat_protocol == SAT_PROTOCOL_FPDMA) in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
281 this_device->working_request = io_request; in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
290 scic_sds_remote_device_start_request(this_device, io_request, status); in scic_sds_stp_remote_device_ready_idle_substate_start_io_handler()
347 SCIC_SDS_REQUEST_T * io_request = (SCIC_SDS_REQUEST_T *)request; in scic_sds_stp_remote_device_ready_ncq_substate_start_io_handler() local
349 if (io_request->sat_protocol == SAT_PROTOCOL_FPDMA) in scic_sds_stp_remote_device_ready_ncq_substate_start_io_handler()
354 io_request in scic_sds_stp_remote_device_ready_ncq_substate_start_io_handler()
[all …]
H A Dscic_sds_smp_remote_device.c94 SCIC_SDS_REQUEST_T * io_request = (SCIC_SDS_REQUEST_T *)request; in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler() local
100 io_request in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler()
106 scic_sds_remote_node_context_start_io(this_device->rnc, io_request); in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler()
110 status = scic_sds_request_start(io_request); in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler()
115 this_device->working_request = io_request; in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler()
123 scic_sds_remote_device_start_request(this_device, io_request, status); in scic_sds_smp_remote_device_ready_idle_substate_start_io_handler()
H A Dscif_sas_io_request.h116 SCI_BASE_REQUEST_T * io_request
120 SCI_BASE_REQUEST_T * io_request
124 SCI_BASE_REQUEST_T * io_request
128 SCI_BASE_REQUEST_T * io_request
H A Dscif_sas_stp_io_request.c97 SCI_BASE_REQUEST_T * io_request in scif_sas_stp_io_request_constructed_start_handler() argument
100 SCIF_SAS_IO_REQUEST_T * fw_io = (SCIF_SAS_IO_REQUEST_T *) io_request; in scif_sas_stp_io_request_constructed_start_handler()
103 sci_base_object_get_logger(io_request), in scif_sas_stp_io_request_constructed_start_handler()
106 io_request in scif_sas_stp_io_request_constructed_start_handler()
153 SCI_BASE_REQUEST_T * io_request in scif_sas_stp_io_request_constructed_complete_handler() argument
156 SCIF_SAS_IO_REQUEST_T * fw_io = (SCIF_SAS_IO_REQUEST_T *) io_request; in scif_sas_stp_io_request_constructed_complete_handler()
159 sci_base_object_get_logger(io_request), in scif_sas_stp_io_request_constructed_complete_handler()
162 io_request in scif_sas_stp_io_request_constructed_complete_handler()
H A Dscif_sas_remote_device_state_handlers.c229 SCI_BASE_REQUEST_T * io_request, in scif_sas_remote_device_stopping_complete_high_priority_io_handler() argument
236 SCIF_SAS_REQUEST_T * fw_request = (SCIF_SAS_REQUEST_T *) io_request; in scif_sas_remote_device_stopping_complete_high_priority_io_handler()
242 remote_device, io_request, response_data in scif_sas_remote_device_stopping_complete_high_priority_io_handler()
251 (SCIF_SAS_INTERNAL_IO_REQUEST_T *) io_request, in scif_sas_remote_device_stopping_complete_high_priority_io_handler()
486 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_default_start_io_handler() argument
518 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_default_complete_io_handler() argument
551 SCI_BASE_REQUEST_T * io_request, in scif_sas_remote_device_default_complete_high_priority_io_handler() argument
586 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_default_continue_io_handler() argument
777 SCI_BASE_REQUEST_T * io_request in scif_sas_remote_device_updating_port_width_state_complete_io_handler() argument
H A Dscif_sas_controller.c269 SCI_IO_REQUEST_HANDLE_T io_request, in scif_controller_start_io() argument
280 controller, remote_device, io_request, io_tag in scif_controller_start_io()
291 (SCI_BASE_REQUEST_T*) io_request, in scif_controller_start_io()
348 SCI_IO_REQUEST_HANDLE_T io_request in scif_controller_complete_io() argument
357 controller, remote_device, io_request in scif_controller_complete_io()
363 (SCI_BASE_REQUEST_T*) io_request in scif_controller_complete_io()
827 SCI_IO_REQUEST_HANDLE_T io_request in scif_sas_controller_continue_io() argument
835 (SCI_BASE_REQUEST_T*) io_request in scif_sas_controller_continue_io()
1011 SCIF_SAS_REQUEST_T *io_request in scif_sas_controller_complete_high_priority_io() argument
1018 fw_controller, remote_device, io_request in scif_sas_controller_complete_high_priority_io()
[all …]
H A Dscic_sds_remote_device.c817 SCIC_SDS_REQUEST_T *io_request in scic_sds_remote_device_start_io() argument
821 &this_device->parent, &io_request->parent); in scic_sds_remote_device_start_io()
837 SCIC_SDS_REQUEST_T *io_request in scic_sds_remote_device_complete_io() argument
841 &this_device->parent, &io_request->parent); in scic_sds_remote_device_complete_io()
857 SCIC_SDS_REQUEST_T *io_request in scic_sds_remote_device_start_task() argument
861 &this_device->parent, &io_request->parent); in scic_sds_remote_device_start_task()
1613 SCIC_SDS_REQUEST_T *io_request; in scic_sds_remote_device_general_frame_handler() local
1623 io_request = scic_sds_controller_get_io_request_from_tag( in scic_sds_remote_device_general_frame_handler()
1626 if ( (io_request == SCI_INVALID_HANDLE) in scic_sds_remote_device_general_frame_handler()
1627 || (io_request->target_device != this_device) ) in scic_sds_remote_device_general_frame_handler()
[all …]
H A Dscic_sds_controller.c2070 SCIC_SDS_REQUEST_T *io_request; in scic_sds_controller_task_completion() local
2073 io_request = this_controller->io_request_table[index]; in scic_sds_controller_task_completion()
2077 (io_request != SCI_INVALID_HANDLE) in scic_sds_controller_task_completion()
2078 && (io_request->io_tag != SCI_CONTROLLER_INVALID_IO_TAG) in scic_sds_controller_task_completion()
2080 scic_sds_io_tag_get_sequence(io_request->io_tag) in scic_sds_controller_task_completion()
2086 scic_sds_io_request_tc_completion(io_request, completion_entry); in scic_sds_controller_task_completion()
2106 SCIC_SDS_REQUEST_T *io_request; in scic_sds_controller_sdma_completion() local
2115 io_request = this_controller->io_request_table[index]; in scic_sds_controller_sdma_completion()
2124 io_request in scic_sds_controller_sdma_completion()
2264 SCIC_SDS_REQUEST_T *io_request; in scic_sds_controller_event_completion() local
[all …]
H A Dscif_controller.h261 SCI_IO_REQUEST_HANDLE_T io_request,
318 SCI_IO_REQUEST_HANDLE_T io_request
H A Dscif_sas_controller.h216 SCI_IO_REQUEST_HANDLE_T io_request
243 SCIF_SAS_REQUEST_T * io_request
H A Dscic_sds_remote_device.h489 struct SCIC_SDS_REQUEST *io_request
495 struct SCIC_SDS_REQUEST *io_request
510 struct SCIC_SDS_REQUEST *io_request
H A Dscic_io_request.h594 SCI_IO_REQUEST_HANDLE_T io_request
607 SCI_IO_REQUEST_HANDLE_T io_request
H A Dscic_controller.h423 SCI_IO_REQUEST_HANDLE_T io_request,
559 SCI_IO_REQUEST_HANDLE_T io_request
H A Dscic_sds_port.c1859 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_default_start_io_handler() argument
1866 this_port, io_request, in scic_sds_port_default_start_io_handler()
1887 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_default_complete_io_handler() argument
1894 this_port, io_request, in scic_sds_port_default_complete_io_handler()
1925 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_general_complete_io_handler() argument
2225 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_stopping_state_complete_io_handler() argument
2891 struct SCIC_SDS_REQUEST *io_request in scic_sds_port_ready_substate_complete_io_handler() argument
3005 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_ready_waiting_substate_start_io_handler() argument
3153 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_ready_operational_substate_start_io_handler() argument
3255 SCIC_SDS_REQUEST_T *io_request in scic_sds_port_ready_configuring_substate_complete_io_handler() argument
H A Dscic_user_callback.h219 SCI_IO_REQUEST_HANDLE_T io_request,
289 SCI_IO_REQUEST_HANDLE_T io_request,
H A Dscif_sas_io_request.c405 SCI_IO_REQUEST_HANDLE_T io_request, in scic_cb_io_request_complete() argument
415 sci_object_get_association(io_request); in scic_cb_io_request_complete()
421 controller, remote_device, io_request, completion_status in scic_cb_io_request_complete()
/freebsd/sys/dev/isci/
H A Disci_io_request.c70 SCI_IO_REQUEST_HANDLE_T io_request, SCI_IO_STATUS completion_status) in scif_cb_io_request_complete() argument
73 (struct ISCI_IO_REQUEST *)sci_object_get_association(io_request); in scif_cb_io_request_complete()
75 scif_controller_complete_io(scif_controller, remote_device, io_request); in scif_cb_io_request_complete()
320 SCI_IO_REQUEST_HANDLE_T io_request, void *virtual_address, in scic_cb_io_request_get_physical_address() argument
324 sci_object_get_association(io_request); in scic_cb_io_request_get_physical_address()
690 struct ISCI_IO_REQUEST *io_request = (struct ISCI_IO_REQUEST *)arg; in isci_io_request_construct() local
691 SCI_REMOTE_DEVICE_HANDLE_T *device = io_request->parent.remote_device_handle; in isci_io_request_construct()
694 io_request->num_segments = nseg; in isci_io_request_construct()
695 io_request->sge = seg; in isci_io_request_construct()
696 ccb = io_request->ccb; in isci_io_request_construct()
[all …]
/freebsd/sys/dev/mrsas/
H A Dmrsas_cam.c76 MRSAS_RAID_SCSI_IO_REQUEST * io_request);
87 mrsas_set_pd_lba(MRSAS_RAID_SCSI_IO_REQUEST * io_request,
521 bcopy(csio->cdb_io.cdb_ptr, cmd->io_request->CDB.CDB32, csio->cdb_len); in mrsas_startio()
523 bcopy(csio->cdb_io.cdb_bytes, cmd->io_request->CDB.CDB32, csio->cdb_len); in mrsas_startio()
573 cmd->io_request->Control |= htole32(MPI2_SCSIIO_CONTROL_READ); in mrsas_startio()
575 cmd->io_request->Control |= htole32(MPI2_SCSIIO_CONTROL_WRITE); in mrsas_startio()
577 cmd->io_request->SGLFlags = htole16(MPI2_SGE_FLAGS_64_BIT_ADDRESSING); in mrsas_startio()
578 cmd->io_request->SGLOffset0 = offsetof(MRSAS_RAID_SCSI_IO_REQUEST, SGL) / 4; in mrsas_startio()
579 cmd->io_request->SenseBufferLowAddress = htole32(cmd->sense_phys_addr & 0xFFFFFFFF); in mrsas_startio()
580 cmd->io_request->SenseBufferLength = MRSAS_SCSI_SENSE_BUFFERSIZE; in mrsas_startio()
[all …]
H A Dmrsas_fp.c82 mrsas_set_pd_lba(MRSAS_RAID_SCSI_IO_REQUEST * io_request,
1360 mrsas_set_pd_lba(MRSAS_RAID_SCSI_IO_REQUEST * io_request, u_int8_t cdb_len, in mrsas_set_pd_lba() argument
1368 u_int8_t *cdb = io_request->CDB.CDB32; in mrsas_set_pd_lba()
1377 memset(cdb, 0, sizeof(io_request->CDB.CDB32)); in mrsas_set_pd_lba()
1398 io_request->CDB.EEDP32.PrimaryReferenceTag = htobe32(ref_tag); in mrsas_set_pd_lba()
1399 io_request->CDB.EEDP32.PrimaryApplicationTagMask = htobe16(0xffff); in mrsas_set_pd_lba()
1400 io_request->IoFlags = htole16(32); /* Specify 32-byte cdb */ in mrsas_set_pd_lba()
1410 io_request->EEDPFlags = htole16( in mrsas_set_pd_lba()
1417 io_request->EEDPFlags = htole16( in mrsas_set_pd_lba()
1421 io_request->Control |= htole32(0x4 << 26); in mrsas_set_pd_lba()
[all …]
/freebsd/sys/dev/mfi/
H A Dmfi_tbolt.c520 cmd->io_request = (struct mfi_mpi2_request_raid_scsi_io *) in mfi_tbolt_alloc_cmd()
774 memset((uint8_t *)cmd->io_request, 0, in mfi_tbolt_get_cmd()
811 io_req = cmd->io_request; in mfi_build_mpt_pass_thru()
839 struct mfi_mpi2_request_raid_scsi_io *io_request; in mfi_tbolt_build_ldio() local
843 io_request = cmd->io_request; in mfi_tbolt_build_ldio()
844 io_request->RaidContext.TargetID = device_id; in mfi_tbolt_build_ldio()
845 io_request->RaidContext.Status = 0; in mfi_tbolt_build_ldio()
846 io_request->RaidContext.exStatus = 0; in mfi_tbolt_build_ldio()
847 io_request->RaidContext.regLockFlags = 0; in mfi_tbolt_build_ldio()
860 io_request->RaidContext.timeoutValue in mfi_tbolt_build_ldio()
[all …]

12