Home
last modified time | relevance | path

Searched refs:rnc (Results 1 – 6 of 6) sorted by relevance

/drivers/scsi/isci/
Dremote_node_context.c119 union scu_remote_node_context *rnc; in sci_remote_node_context_construct_buffer() local
124 rnc = sci_rnc_by_id(ihost, rni); in sci_remote_node_context_construct_buffer()
126 memset(rnc, 0, sizeof(union scu_remote_node_context) in sci_remote_node_context_construct_buffer()
129 rnc->ssp.remote_node_index = rni; in sci_remote_node_context_construct_buffer()
130 rnc->ssp.remote_node_port_width = idev->device_port_width; in sci_remote_node_context_construct_buffer()
131 rnc->ssp.logical_port_index = idev->owning_port->physical_port_index; in sci_remote_node_context_construct_buffer()
135 rnc->ssp.remote_sas_address_hi = upper_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
136 rnc->ssp.remote_sas_address_lo = lower_32_bits(sas_addr); in sci_remote_node_context_construct_buffer()
138 rnc->ssp.nexus_loss_timer_enable = true; in sci_remote_node_context_construct_buffer()
139 rnc->ssp.check_bit = false; in sci_remote_node_context_construct_buffer()
[all …]
Dremote_device.c78 return sci_remote_node_context_suspend(&idev->rnc, reason, in sci_remote_device_suspend()
149 return (localcount != idev->rnc.suspend_count) in isci_compare_suspendcount()
150 || sci_remote_node_context_is_being_destroyed(&idev->rnc); in isci_compare_suspendcount()
206 = sci_remote_node_context_is_suspended(&idev->rnc) in isci_remote_device_terminate_requests()
207 ? 0 : idev->rnc.suspend_count; in isci_remote_device_terminate_requests()
214 rnc_suspend_count, idev->rnc.suspend_count); in isci_remote_device_terminate_requests()
240 rnc_suspend_count, idev->rnc.suspend_count, in isci_remote_device_terminate_requests()
241 rnc_state_name(idev->rnc.sm.current_state_id), in isci_remote_device_terminate_requests()
242 idev->rnc.suspend_type, in isci_remote_device_terminate_requests()
243 idev->rnc.destination_state, in isci_remote_device_terminate_requests()
[all …]
Dport.c545 union scu_remote_node_context *rnc; in sci_port_construct_dummy_rnc() local
547 rnc = &iport->owning_controller->remote_node_context_table[rni]; in sci_port_construct_dummy_rnc()
549 memset(rnc, 0, sizeof(union scu_remote_node_context)); in sci_port_construct_dummy_rnc()
551 rnc->ssp.remote_sas_address_hi = 0; in sci_port_construct_dummy_rnc()
552 rnc->ssp.remote_sas_address_lo = 0; in sci_port_construct_dummy_rnc()
554 rnc->ssp.remote_node_index = rni; in sci_port_construct_dummy_rnc()
555 rnc->ssp.remote_node_port_width = 1; in sci_port_construct_dummy_rnc()
556 rnc->ssp.logical_port_index = iport->physical_port_index; in sci_port_construct_dummy_rnc()
558 rnc->ssp.nexus_loss_timer_enable = false; in sci_port_construct_dummy_rnc()
559 rnc->ssp.check_bit = false; in sci_port_construct_dummy_rnc()
[all …]
Dremote_device.h100 struct sci_remote_node_context rnc; member
289 static inline struct isci_remote_device *rnc_to_dev(struct sci_remote_node_context *rnc) in rnc_to_dev() argument
293 idev = container_of(rnc, typeof(*idev), rnc); in rnc_to_dev()
Dremote_node_context.h200 void sci_remote_node_context_construct(struct sci_remote_node_context *rnc,
Drequest.c238 task_context->remote_node_index = idev->rnc.remote_node_index; in scu_ssp_request_construct_task_context()
520 task_context->remote_node_index = idev->rnc.remote_node_index; in scu_sata_request_construct_task_context()
2385 &ireq->target_device->rnc, in sci_request_handle_suspending_completions()
3097 if (idev->rnc.remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) in sci_io_request_construct()
3252 task_context->remote_node_index = idev->rnc.remote_node_index; in sci_io_request_construct_smp()