Lines Matching refs:group_index
112 u32 group_index) in sci_remote_node_table_clear_group_index() argument
119 BUG_ON(group_index >= (u32)(remote_node_table->group_array_size * 32)); in sci_remote_node_table_clear_group_index()
121 dword_index = group_index / 32; in sci_remote_node_table_clear_group_index()
122 bit_index = group_index % 32; in sci_remote_node_table_clear_group_index()
142 u32 group_index) in sci_remote_node_table_set_group_index() argument
149 BUG_ON(group_index >= (u32)(remote_node_table->group_array_size * 32)); in sci_remote_node_table_set_group_index()
151 dword_index = group_index / 32; in sci_remote_node_table_set_group_index()
152 bit_index = group_index % 32; in sci_remote_node_table_set_group_index()
234 u32 group_index) in sci_remote_node_table_clear_group() argument
242 <= (group_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_clear_group()
245 dword_location = group_index / SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_clear_group()
246 dword_remainder = group_index % SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_clear_group()
260 u32 group_index) in sci_remote_node_table_set_group() argument
268 <= (group_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_set_group()
271 dword_location = group_index / SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_set_group()
272 dword_remainder = group_index % SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_set_group()
290 u32 group_index) in sci_remote_node_table_get_group_value() argument
296 dword_location = group_index / SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_get_group_value()
297 dword_remainder = group_index % SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD; in sci_remote_node_table_get_group_value()
385 u32 group_index; in sci_remote_node_table_allocate_single_remote_node() local
388 group_index = sci_remote_node_table_get_group_index( in sci_remote_node_table_allocate_single_remote_node()
392 if (group_index != SCIC_SDS_REMOTE_NODE_TABLE_INVALID_INDEX) { in sci_remote_node_table_allocate_single_remote_node()
394 remote_node_table, group_index); in sci_remote_node_table_allocate_single_remote_node()
399 remote_node_index = (u16)(group_index * SCU_STP_REMOTE_NODE_COUNT in sci_remote_node_table_allocate_single_remote_node()
403 remote_node_table, group_table_index, group_index in sci_remote_node_table_allocate_single_remote_node()
412 remote_node_table, group_table_index - 1, group_index in sci_remote_node_table_allocate_single_remote_node()
440 u32 group_index; in sci_remote_node_table_allocate_triple_remote_node() local
443 group_index = sci_remote_node_table_get_group_index( in sci_remote_node_table_allocate_triple_remote_node()
446 if (group_index != SCIC_SDS_REMOTE_NODE_TABLE_INVALID_INDEX) { in sci_remote_node_table_allocate_triple_remote_node()
447 remote_node_index = (u16)group_index * SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_allocate_triple_remote_node()
450 remote_node_table, group_table_index, group_index in sci_remote_node_table_allocate_triple_remote_node()
454 remote_node_table, group_index in sci_remote_node_table_allocate_triple_remote_node()
516 u32 group_index; in sci_remote_node_table_release_single_remote_node() local
519 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_single_remote_node()
521 group_value = sci_remote_node_table_get_group_value(remote_node_table, group_index); in sci_remote_node_table_release_single_remote_node()
532 sci_remote_node_table_set_group_index(remote_node_table, 0, group_index); in sci_remote_node_table_release_single_remote_node()
537 sci_remote_node_table_clear_group_index(remote_node_table, 0, group_index); in sci_remote_node_table_release_single_remote_node()
538 sci_remote_node_table_set_group_index(remote_node_table, 1, group_index); in sci_remote_node_table_release_single_remote_node()
543 sci_remote_node_table_clear_group_index(remote_node_table, 1, group_index); in sci_remote_node_table_release_single_remote_node()
544 sci_remote_node_table_set_group_index(remote_node_table, 2, group_index); in sci_remote_node_table_release_single_remote_node()
563 u32 group_index; in sci_remote_node_table_release_triple_remote_node() local
565 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_triple_remote_node()
568 remote_node_table, 2, group_index in sci_remote_node_table_release_triple_remote_node()
571 sci_remote_node_table_set_group(remote_node_table, group_index); in sci_remote_node_table_release_triple_remote_node()