Lines Matching refs:remote_node_index
170 u32 remote_node_index) in sci_remote_node_table_set_node_index() argument
179 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_set_node_index()
182 dword_location = remote_node_index / SCIC_SDS_REMOTE_NODES_PER_DWORD; in sci_remote_node_table_set_node_index()
183 dword_remainder = remote_node_index % SCIC_SDS_REMOTE_NODES_PER_DWORD; in sci_remote_node_table_set_node_index()
185 slot_position = remote_node_index % SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_set_node_index()
203 u32 remote_node_index) in sci_remote_node_table_clear_node_index() argument
212 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_clear_node_index()
215 dword_location = remote_node_index / SCIC_SDS_REMOTE_NODES_PER_DWORD; in sci_remote_node_table_clear_node_index()
216 dword_remainder = remote_node_index % SCIC_SDS_REMOTE_NODES_PER_DWORD; in sci_remote_node_table_clear_node_index()
218 slot_position = remote_node_index % SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_clear_node_index()
386 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; in sci_remote_node_table_allocate_single_remote_node() local
399 remote_node_index = (u16)(group_index * SCU_STP_REMOTE_NODE_COUNT in sci_remote_node_table_allocate_single_remote_node()
407 remote_node_table, remote_node_index in sci_remote_node_table_allocate_single_remote_node()
421 return remote_node_index; in sci_remote_node_table_allocate_single_remote_node()
441 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; in sci_remote_node_table_allocate_triple_remote_node() local
447 remote_node_index = (u16)group_index * SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_allocate_triple_remote_node()
458 return remote_node_index; in sci_remote_node_table_allocate_triple_remote_node()
477 u16 remote_node_index = SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX; in sci_remote_node_table_allocate_remote_node() local
480 remote_node_index = in sci_remote_node_table_allocate_remote_node()
484 if (remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) { in sci_remote_node_table_allocate_remote_node()
485 remote_node_index = in sci_remote_node_table_allocate_remote_node()
490 if (remote_node_index == SCIC_SDS_REMOTE_NODE_CONTEXT_INVALID_INDEX) { in sci_remote_node_table_allocate_remote_node()
491 remote_node_index = in sci_remote_node_table_allocate_remote_node()
496 remote_node_index = in sci_remote_node_table_allocate_remote_node()
501 return remote_node_index; in sci_remote_node_table_allocate_remote_node()
514 u16 remote_node_index) in sci_remote_node_table_release_single_remote_node() argument
519 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_single_remote_node()
547 sci_remote_node_table_set_node_index(remote_node_table, remote_node_index); in sci_remote_node_table_release_single_remote_node()
561 u16 remote_node_index) in sci_remote_node_table_release_triple_remote_node() argument
565 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_triple_remote_node()
588 u16 remote_node_index) in sci_remote_node_table_release_remote_node_index() argument
592 remote_node_table, remote_node_index); in sci_remote_node_table_release_remote_node_index()
595 remote_node_table, remote_node_index); in sci_remote_node_table_release_remote_node_index()