Lines Matching refs:remote_node_table
76 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_get_group_index() argument
83 group_table = remote_node_table->remote_node_groups[group_table_index]; in sci_remote_node_table_get_group_index()
85 for (dword_index = 0; dword_index < remote_node_table->group_array_size; dword_index++) { in sci_remote_node_table_get_group_index()
110 struct sci_remote_node_table *remote_node_table, 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()
123 group_table = remote_node_table->remote_node_groups[group_table_index]; in sci_remote_node_table_clear_group_index()
140 struct sci_remote_node_table *remote_node_table, 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()
153 group_table = remote_node_table->remote_node_groups[group_table_index]; in sci_remote_node_table_set_group_index()
169 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_set_node_index() argument
178 (remote_node_table->available_nodes_array_size * SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD) in sci_remote_node_table_set_node_index()
187 remote_node_table->available_remote_nodes[dword_location] |= in sci_remote_node_table_set_node_index()
202 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_clear_node_index() argument
211 (remote_node_table->available_nodes_array_size * SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD) in sci_remote_node_table_clear_node_index()
220 remote_node_table->available_remote_nodes[dword_location] &= in sci_remote_node_table_clear_node_index()
233 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_clear_group() argument
241 (remote_node_table->available_nodes_array_size * SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD) in sci_remote_node_table_clear_group()
248 dword_value = remote_node_table->available_remote_nodes[dword_location]; in sci_remote_node_table_clear_group()
250 remote_node_table->available_remote_nodes[dword_location] = dword_value; in sci_remote_node_table_clear_group()
259 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_set_group() argument
267 (remote_node_table->available_nodes_array_size * SCIC_SDS_REMOTE_NODE_SETS_PER_DWORD) in sci_remote_node_table_set_group()
274 dword_value = remote_node_table->available_remote_nodes[dword_location]; in sci_remote_node_table_set_group()
276 remote_node_table->available_remote_nodes[dword_location] = dword_value; in sci_remote_node_table_set_group()
289 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_get_group_value() argument
299 dword_value = remote_node_table->available_remote_nodes[dword_location]; in sci_remote_node_table_get_group_value()
314 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_initialize() argument
323 remote_node_table->available_remote_nodes, in sci_remote_node_table_initialize()
325 sizeof(remote_node_table->available_remote_nodes) in sci_remote_node_table_initialize()
329 remote_node_table->remote_node_groups, in sci_remote_node_table_initialize()
331 sizeof(remote_node_table->remote_node_groups) in sci_remote_node_table_initialize()
335 remote_node_table->available_nodes_array_size = (u16) in sci_remote_node_table_initialize()
342 sci_remote_node_table_set_node_index(remote_node_table, index); in sci_remote_node_table_initialize()
345 remote_node_table->group_array_size = (u16) in sci_remote_node_table_initialize()
353 sci_remote_node_table_set_group_index(remote_node_table, 2, index); in sci_remote_node_table_initialize()
358 sci_remote_node_table_set_group_index(remote_node_table, 1, index); in sci_remote_node_table_initialize()
360 sci_remote_node_table_set_group_index(remote_node_table, 0, index); in sci_remote_node_table_initialize()
380 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_allocate_single_remote_node() argument
389 remote_node_table, group_table_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()
403 remote_node_table, group_table_index, group_index 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()
412 remote_node_table, group_table_index - 1, group_index in sci_remote_node_table_allocate_single_remote_node()
437 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_allocate_triple_remote_node() argument
444 remote_node_table, group_table_index); 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()
474 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_allocate_remote_node() argument
482 remote_node_table, 0); in sci_remote_node_table_allocate_remote_node()
487 remote_node_table, 1); in sci_remote_node_table_allocate_remote_node()
493 remote_node_table, 2); in sci_remote_node_table_allocate_remote_node()
498 remote_node_table, 2); in sci_remote_node_table_allocate_remote_node()
513 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_release_single_remote_node() argument
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()
547 sci_remote_node_table_set_node_index(remote_node_table, remote_node_index); in sci_remote_node_table_release_single_remote_node()
560 struct sci_remote_node_table *remote_node_table, in sci_remote_node_table_release_triple_remote_node() argument
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()
586 struct sci_remote_node_table *remote_node_table, 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()