Searched refs:remote_node_index (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/scsi/isci/
H A Dremote_node_table.c164 * @remote_node_index: This is the remote node index that is being returned to
172 u32 remote_node_index) sci_remote_node_table_set_node_index()
181 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) sci_remote_node_table_set_node_index()
184 dword_location = remote_node_index / SCIC_SDS_REMOTE_NODES_PER_DWORD; sci_remote_node_table_set_node_index()
185 dword_remainder = remote_node_index % SCIC_SDS_REMOTE_NODES_PER_DWORD; sci_remote_node_table_set_node_index()
187 slot_position = remote_node_index % SCU_STP_REMOTE_NODE_COUNT; sci_remote_node_table_set_node_index()
197 * @remote_node_index: This is the remote node index which is to be cleared
205 u32 remote_node_index) sci_remote_node_table_clear_node_index()
214 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) sci_remote_node_table_clear_node_index()
217 dword_location = remote_node_index / SCIC_SDS_REMOTE_NODES_PER_DWORD; sci_remote_node_table_clear_node_index()
218 dword_remainder = remote_node_index % SCIC_SDS_REMOTE_NODES_PER_DWORD; sci_remote_node_table_clear_node_index()
220 slot_position = remote_node_index % SCU_STP_REMOTE_NODE_COUNT; sci_remote_node_table_clear_node_index()
389 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; sci_remote_node_table_allocate_single_remote_node() local
402 remote_node_index = (u16)(group_index * SCU_STP_REMOTE_NODE_COUNT sci_remote_node_table_allocate_single_remote_node()
410 remote_node_table, remote_node_index sci_remote_node_table_allocate_single_remote_node()
424 return remote_node_index; sci_remote_node_table_allocate_single_remote_node()
444 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; sci_remote_node_table_allocate_triple_remote_node() local
450 remote_node_index = (u16)group_index * SCU_STP_REMOTE_NODE_COUNT; sci_remote_node_table_allocate_triple_remote_node()
461 return remote_node_index; sci_remote_node_table_allocate_triple_remote_node()
480 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; sci_remote_node_table_allocate_remote_node() local
483 remote_node_index = sci_remote_node_table_allocate_remote_node()
487 if (remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) { sci_remote_node_table_allocate_remote_node()
488 remote_node_index = sci_remote_node_table_allocate_remote_node()
493 if (remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) { sci_remote_node_table_allocate_remote_node()
494 remote_node_index = sci_remote_node_table_allocate_remote_node()
499 remote_node_index = sci_remote_node_table_allocate_remote_node()
504 return remote_node_index; sci_remote_node_table_allocate_remote_node()
516 u16 remote_node_index) sci_remote_node_table_release_single_remote_node()
521 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; sci_remote_node_table_release_single_remote_node()
549 sci_remote_node_table_set_node_index(remote_node_table, remote_node_index); sci_remote_node_table_release_single_remote_node()
562 u16 remote_node_index) sci_remote_node_table_release_triple_remote_node()
566 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; sci_remote_node_table_release_triple_remote_node()
588 u16 remote_node_index) sci_remote_node_table_release_remote_node_index()
592 remote_node_table, remote_node_index); sci_remote_node_table_release_remote_node_index()
595 remote_node_table, remote_node_index); sci_remote_node_table_release_remote_node_index()
170 sci_remote_node_table_set_node_index( struct sci_remote_node_table *remote_node_table, u32 remote_node_index) sci_remote_node_table_set_node_index() argument
203 sci_remote_node_table_clear_node_index( struct sci_remote_node_table *remote_node_table, u32 remote_node_index) sci_remote_node_table_clear_node_index() argument
514 sci_remote_node_table_release_single_remote_node( struct sci_remote_node_table *remote_node_table, u16 remote_node_index) sci_remote_node_table_release_single_remote_node() argument
560 sci_remote_node_table_release_triple_remote_node( struct sci_remote_node_table *remote_node_table, u16 remote_node_index) sci_remote_node_table_release_triple_remote_node() argument
585 sci_remote_node_table_release_remote_node_index( struct sci_remote_node_table *remote_node_table, u32 remote_node_count, u16 remote_node_index) sci_remote_node_table_release_remote_node_index() argument
H A Dremote_node_context.c115 int rni = sci_rnc->remote_node_index; sci_remote_node_context_construct_buffer()
126 rnc->ssp.remote_node_index = rni; sci_remote_node_context_construct_buffer()
243 rnc_buffer = sci_rnc_by_id(ihost, sci_rnc->remote_node_index); sci_remote_node_context_validate_context_buffer()
254 sci_rnc->remote_node_index); sci_remote_node_context_validate_context_buffer()
264 rnc_buffer = sci_rnc_by_id(ihost, sci_rnc->remote_node_index); sci_remote_node_context_invalidate_context_buffer()
322 sci_port_setup_transports(idev->owning_port, rnc->remote_node_index); sci_remote_node_context_resuming_state_enter()
415 u16 remote_node_index) sci_remote_node_context_construct()
419 rnc->remote_node_index = remote_node_index; sci_remote_node_context_construct()
677 if (sci_rnc->remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) sci_remote_node_context_resume()
414 sci_remote_node_context_construct(struct sci_remote_node_context *rnc, u16 remote_node_index) sci_remote_node_context_construct() argument
H A Dremote_node_context.h165 u16 remote_node_index; member in struct:sci_remote_node_context
201 u16 remote_node_index);
H A Dremote_node_table.h186 u16 remote_node_index);
H A Dscu_remote_node_context.h81 u32 remote_node_index:12; member in struct:ssp_remote_node_context
H A Dremote_device.c961 idev->rnc.remote_node_index; sci_remote_device_post_request()
1028 idev->rnc.remote_node_index); sci_remote_device_destruct()
1029 idev->rnc.remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; sci_remote_device_destruct()
1287 &idev->rnc.remote_node_index); sci_remote_device_da_construct()
1319 &idev->rnc.remote_node_index); sci_remote_device_ea_construct()
H A Drequest.c238 task_context->remote_node_index = idev->rnc.remote_node_index; scu_ssp_reqeust_construct_task_context()
520 task_context->remote_node_index = idev->rnc.remote_node_index; scu_sata_reqeust_construct_task_context()
3097 if (idev->rnc.remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) sci_io_request_construct()
3249 task_context->remote_node_index = idev->rnc.remote_node_index; sci_io_request_construct_smp()
H A Dscu_task_context.h609 u32 remote_node_index:12; member in struct:scu_task_context
H A Dport.c553 rnc->ssp.remote_node_index = rni; sci_port_construct_dummy_rnc()
585 task_context->remote_node_index = iport->reserved_rni; sci_port_construct_dummy_task()

Completed in 447 milliseconds