Home
last modified time | relevance | path

Searched refs:rnc (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/isci/
H A 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 in sci_remote_node_context_construct_buffer()
211 sci_remote_node_context_notify_user( struct sci_remote_node_context *rnc) sci_remote_node_context_notify_user() argument
222 sci_remote_node_context_continue_state_transitions(struct sci_remote_node_context *rnc) sci_remote_node_context_continue_state_transitions() argument
277 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_initial_state_enter() local
302 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_invalidating_state_enter() local
311 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_resuming_state_enter() local
332 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_ready_state_enter() local
354 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_tx_suspended_state_enter() local
361 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_tx_rx_suspended_state_enter() local
382 struct sci_remote_node_context *rnc sci_remote_node_context_await_suspend_state_exit() local
417 sci_remote_node_context_construct(struct sci_remote_node_context *rnc, u16 remote_node_index) sci_remote_node_context_construct() argument
[all...]
H A 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()
211 "rnc_suspend_count=%d, rnc.suspend_count=%d" in isci_remote_device_terminate_requests()
214 rnc_suspend_count, idev->rnc.suspend_count); in isci_remote_device_terminate_requests()
233 "rnc_suspend_count=%d, rnc.suspend_count=%d " 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 in isci_remote_device_terminate_requests()
[all...]
H A Dport.c294 /* flag dummy rnc hanling when exiting a ready state */
534 * sci_port_construct_dummy_rnc() - create dummy rnc for si workaround
545 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 in sci_port_construct_dummy_rnc()
995 union scu_remote_node_context *rnc; sci_port_invalidate_dummy_remote_node() local
1463 union scu_remote_node_context *rnc; sci_port_post_dummy_remote_node() local
[all...]
H A 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()
H A Dremote_node_context.h200 void sci_remote_node_context_construct(struct sci_remote_node_context *rnc,
H A 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()
2222 /* the hw will have suspended the rnc, so complete the in atapi_data_tc_completion_handler()
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()
/kernel/linux/linux-6.6/drivers/scsi/isci/
H A 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 in sci_remote_node_context_construct_buffer()
204 sci_remote_node_context_notify_user( struct sci_remote_node_context *rnc) sci_remote_node_context_notify_user() argument
215 sci_remote_node_context_continue_state_transitions(struct sci_remote_node_context *rnc) sci_remote_node_context_continue_state_transitions() argument
270 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_initial_state_enter() local
295 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_invalidating_state_enter() local
304 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_resuming_state_enter() local
325 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_ready_state_enter() local
347 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_tx_suspended_state_enter() local
354 struct sci_remote_node_context *rnc = container_of(sm, typeof(*rnc), sm); sci_remote_node_context_tx_rx_suspended_state_enter() local
375 struct sci_remote_node_context *rnc sci_remote_node_context_await_suspend_state_exit() local
410 sci_remote_node_context_construct(struct sci_remote_node_context *rnc, u16 remote_node_index) sci_remote_node_context_construct() argument
[all...]
H A 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()
211 "rnc_suspend_count=%d, rnc.suspend_count=%d" in isci_remote_device_terminate_requests()
214 rnc_suspend_count, idev->rnc.suspend_count); in isci_remote_device_terminate_requests()
233 "rnc_suspend_count=%d, rnc.suspend_count=%d " 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 in isci_remote_device_terminate_requests()
[all...]
H A Dport.c294 /* flag dummy rnc hanling when exiting a ready state */
535 * sci_port_construct_dummy_rnc() - create dummy rnc for si workaround
546 union scu_remote_node_context *rnc; in sci_port_construct_dummy_rnc() local
548 rnc = &iport->owning_controller->remote_node_context_table[rni]; in sci_port_construct_dummy_rnc()
550 memset(rnc, 0, sizeof(union scu_remote_node_context)); in sci_port_construct_dummy_rnc()
552 rnc->ssp.remote_sas_address_hi = 0; in sci_port_construct_dummy_rnc()
553 rnc->ssp.remote_sas_address_lo = 0; in sci_port_construct_dummy_rnc()
555 rnc->ssp.remote_node_index = rni; in sci_port_construct_dummy_rnc()
556 rnc->ssp.remote_node_port_width = 1; in sci_port_construct_dummy_rnc()
557 rnc in sci_port_construct_dummy_rnc()
997 union scu_remote_node_context *rnc; sci_port_invalidate_dummy_remote_node() local
1465 union scu_remote_node_context *rnc; sci_port_post_dummy_remote_node() local
[all...]
H A 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()
H A Dremote_node_context.h200 void sci_remote_node_context_construct(struct sci_remote_node_context *rnc,
H A Drequest.c235 task_context->remote_node_index = idev->rnc.remote_node_index; in scu_ssp_request_construct_task_context()
515 task_context->remote_node_index = idev->rnc.remote_node_index; in scu_sata_request_construct_task_context()
2212 /* the hw will have suspended the rnc, so complete the in atapi_data_tc_completion_handler()
2375 &ireq->target_device->rnc, in sci_request_handle_suspending_completions()
3089 if (idev->rnc.remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) in sci_io_request_construct()
3244 task_context->remote_node_index = idev->rnc.remote_node_index; in sci_io_request_construct_smp()

Completed in 23 milliseconds