Home
last modified time | relevance | path

Searched refs:fw_domain (Results 1 – 15 of 15) sorted by relevance

/freebsd/sys/dev/isci/scil/
H A Dscif_sas_domain_states.c87 SCIF_SAS_DOMAIN_T * fw_domain in scif_sas_domain_transition_to_stopped_state() argument
91 sci_base_object_get_logger(fw_domain), in scif_sas_domain_transition_to_stopped_state()
94 fw_domain in scif_sas_domain_transition_to_stopped_state()
99 if ( (fw_domain->request_list.element_count == 0) in scif_sas_domain_transition_to_stopped_state()
100 && (fw_domain->device_start_count == 0) ) in scif_sas_domain_transition_to_stopped_state()
103 sci_base_object_get_logger(fw_domain), in scif_sas_domain_transition_to_stopped_state()
106 fw_domain in scif_sas_domain_transition_to_stopped_state()
110 &fw_domain->parent.state_machine, SCI_BASE_DOMAIN_STATE_STOPPED in scif_sas_domain_transition_to_stopped_state()
132 SCIF_SAS_DOMAIN_T * fw_domain in scif_sas_domain_transition_from_discovering_state() argument
136 sci_base_object_get_logger(fw_domain), in scif_sas_domain_transition_from_discovering_state()
[all …]
H A Dscif_sas_domain.c99 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) cookie; in scif_sas_domain_operation_timeout_handler() local
102 state = sci_base_state_machine_get_state(&fw_domain->parent.state_machine); in scif_sas_domain_operation_timeout_handler()
109 sci_base_object_get_logger(fw_domain), in scif_sas_domain_operation_timeout_handler()
112 fw_domain, state in scif_sas_domain_operation_timeout_handler()
115 fw_domain->operation.status = SCI_FAILURE_TIMEOUT; in scif_sas_domain_operation_timeout_handler()
120 scif_sas_domain_cancel_smp_activities(fw_domain); in scif_sas_domain_operation_timeout_handler()
122 scif_sas_domain_continue_discover(fw_domain); in scif_sas_domain_operation_timeout_handler()
127 sci_base_object_get_logger(fw_domain), in scif_sas_domain_operation_timeout_handler()
130 fw_domain, state in scif_sas_domain_operation_timeout_handler()
143 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_domain_get_scic_port_handle() local
[all …]
H A Dscif_sas_domain.h197 SCIF_SAS_DOMAIN_T * fw_domain,
203 SCIF_SAS_DOMAIN_T * fw_domain,
210 SCIF_SAS_DOMAIN_T * fw_domain,
215 SCIF_SAS_DOMAIN_T * fw_domain
219 SCIF_SAS_DOMAIN_T * fw_domain
223 SCIF_SAS_DOMAIN_T * fw_domain,
228 SCIF_SAS_DOMAIN_T * fw_domain
232 SCIF_SAS_DOMAIN_T * fw_domain,
238 SCIF_SAS_DOMAIN_T * fw_domain
242 SCIF_SAS_DOMAIN_T * fw_domain,
[all …]
H A Dscif_sas_domain_state_handlers.c129 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *)domain; in scif_sas_domain_ready_discover_handler() local
138 fw_domain->operation.timeout = op_timeout; in scif_sas_domain_ready_discover_handler()
139 fw_domain->operation.device_timeout = device_timeout; in scif_sas_domain_ready_discover_handler()
140 fw_domain->operation.status = SCI_SUCCESS; in scif_sas_domain_ready_discover_handler()
143 fw_domain->controller, in scif_sas_domain_ready_discover_handler()
144 fw_domain->operation.timer, in scif_sas_domain_ready_discover_handler()
145 fw_domain->operation.timeout in scif_sas_domain_ready_discover_handler()
148 scif_sas_domain_transition_to_discovering_state(fw_domain); in scif_sas_domain_ready_discover_handler()
150 return fw_domain->operation.status; in scif_sas_domain_ready_discover_handler()
213 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T*) domain; in scif_sas_domain_ready_start_io_handler() local
[all …]
H A Dscif_sas_high_priority_request_queue.c113 SCIF_SAS_DOMAIN_T * fw_domain in scif_sas_high_priority_request_queue_purge_domain() argument
125 fw_hprq, fw_domain in scif_sas_high_priority_request_queue_purge_domain()
130 scif_cb_lock_acquire(fw_domain->controller, &fw_hprq->lock); in scif_sas_high_priority_request_queue_purge_domain()
140 if (fw_io->parent.device->domain != fw_domain) in scif_sas_high_priority_request_queue_purge_domain()
154 scif_sas_internal_io_request_destruct(fw_domain->controller, fw_internal_io); in scif_sas_high_priority_request_queue_purge_domain()
159 scif_cb_lock_release(fw_domain->controller, &fw_hprq->lock); in scif_sas_high_priority_request_queue_purge_domain()
H A Dscif_sas_smp_remote_device.c424 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_smp_remote_device_decode_initial_discover_response() local
470 fw_domain, &attached_device_address in scif_sas_smp_remote_device_decode_initial_discover_response()
514 fw_domain->controller, fw_domain, fw_device, discover_response in scif_sas_smp_remote_device_decode_initial_discover_response()
545 fw_domain, in scif_sas_smp_remote_device_decode_initial_discover_response()
559 fw_domain->controller, fw_domain, attached_remote_device in scif_sas_smp_remote_device_decode_initial_discover_response()
568 fw_domain->controller, fw_domain, fw_device, discover_response in scif_sas_smp_remote_device_decode_initial_discover_response()
749 SCIF_SAS_DOMAIN_T * fw_domain; in scif_sas_smp_remote_device_decode_target_reset_discover_response() local
781 fw_domain = fw_device->domain; in scif_sas_smp_remote_device_decode_target_reset_discover_response()
786 fw_domain, in scif_sas_smp_remote_device_decode_target_reset_discover_response()
1222 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_smp_remote_device_continue_discover() local
[all …]
H A Dscif_sas_stp_task_request.c216 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_stp_task_request_abort_task_set_failure_handler() local
220 pending_request_element = fw_domain->request_list.list_head; in scif_sas_stp_task_request_abort_task_set_failure_handler()
245 fw_domain->controller->core_object, in scif_sas_stp_task_request_abort_task_set_failure_handler()
254 fw_domain->controller, in scif_sas_stp_task_request_abort_task_set_failure_handler()
H A Dscif_sas_controller.c977 SCIF_SAS_DOMAIN_T * fw_domain; in scif_sas_controller_sufficient_resource() local
984 fw_domain = &fw_controller->domains[domain_index]; in scif_sas_controller_sufficient_resource()
985 outstanding_io_count += fw_domain->request_list.element_count; in scif_sas_controller_sufficient_resource()
1116 SCIF_SAS_DOMAIN_T * fw_domain; in scif_sas_controller_clear_affiliation() local
1129 fw_domain = &fw_controller->domains[index]; in scif_sas_controller_clear_affiliation()
1132 scif_sas_domain_cancel_smp_activities(fw_domain); in scif_sas_controller_clear_affiliation()
1134 scif_sas_domain_start_clear_affiliation(fw_domain); in scif_sas_controller_clear_affiliation()
1193 SCIF_SAS_DOMAIN_T * fw_domain; in scif_sas_controller_release_resource() local
1205 fw_domain = &fw_controller->domains[index]; in scif_sas_controller_release_resource()
1207 scif_sas_domain_release_resource(fw_controller, fw_domain); in scif_sas_controller_release_resource()
H A Dscif_sas_remote_device.c97 SCIF_SAS_DOMAIN_T * fw_domain = (SCIF_SAS_DOMAIN_T *) domain; in scif_remote_device_construct() local
102 sci_base_object_get_logger(fw_domain), in scif_remote_device_construct()
114 fw_device->domain = fw_domain; in scif_remote_device_construct()
132 sci_base_object_get_logger(fw_domain), in scif_remote_device_construct()
153 fw_domain->core_object, in scif_remote_device_construct()
H A Dscif_sas_stp_remote_device.c188 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_stp_remote_device_get_request_by_ncq_tag() local
193 pending_request_element = fw_domain->request_list.list_head; in scif_sas_stp_remote_device_get_request_by_ncq_tag()
H A Dscif_sas_remote_device_ready_substates.c210 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_remote_device_ready_ncq_error_substate_enter() local
237 pending_request_element = fw_domain->request_list.list_head; in scif_sas_remote_device_ready_ncq_error_substate_enter()
H A Dscif_sas_smp_activity_clear_affiliation.c244 SCIF_SAS_DOMAIN_T * fw_domain = fw_device->domain; in scif_sas_smp_remote_device_finish_clear_affiliation() local
249 scif_sas_domain_continue_clear_affiliation(fw_domain); in scif_sas_smp_remote_device_finish_clear_affiliation()
H A Dscif_sas_sati_binding.h157 SCIF_SAS_DOMAIN_T* fw_domain = fw_device->domain; \
158 SCIF_SAS_CONTROLLER_T* fw_controller = fw_domain->controller; \
H A Dscif_sas_high_priority_request_queue.h116 SCIF_SAS_DOMAIN_T * fw_domain
H A Dscif_sas_controller_state_handlers.c173 SCIF_SAS_DOMAIN_T * fw_domain; in scif_sas_controller_stop_domains() local
184 fw_domain = &fw_controller->domains[index]; in scif_sas_controller_stop_domains()
188 if (fw_domain->parent.state_machine.current_state_id == in scif_sas_controller_stop_domains()
190 || fw_domain->parent.state_machine.current_state_id == in scif_sas_controller_stop_domains()
194 &fw_domain->parent.state_machine, SCI_BASE_DOMAIN_STATE_STOPPING in scif_sas_controller_stop_domains()