Lines Matching refs:SCU_STP_REMOTE_NODE_COUNT
118 BUG_ON(group_table_index >= SCU_STP_REMOTE_NODE_COUNT); in sci_remote_node_table_clear_group_index()
148 BUG_ON(group_table_index >= SCU_STP_REMOTE_NODE_COUNT); in sci_remote_node_table_set_group_index()
179 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_set_node_index()
184 slot_normalized = (dword_remainder / SCU_STP_REMOTE_NODE_COUNT) * sizeof(u32); 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()
212 <= (remote_node_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_clear_node_index()
217 slot_normalized = (dword_remainder / SCU_STP_REMOTE_NODE_COUNT) * sizeof(u32); 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()
242 <= (group_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_clear_group()
268 <= (group_index / SCU_STP_REMOTE_NODE_COUNT) in sci_remote_node_table_set_group()
346 (remote_node_entries / (SCU_STP_REMOTE_NODE_COUNT * 32)) in sci_remote_node_table_initialize()
347 + ((remote_node_entries % (SCU_STP_REMOTE_NODE_COUNT * 32)) != 0); in sci_remote_node_table_initialize()
349 for (index = 0; index < (remote_node_entries / SCU_STP_REMOTE_NODE_COUNT); index++) { in sci_remote_node_table_initialize()
357 if ((remote_node_entries % SCU_STP_REMOTE_NODE_COUNT) == 2) { in sci_remote_node_table_initialize()
359 } else if ((remote_node_entries % SCU_STP_REMOTE_NODE_COUNT) == 1) { in sci_remote_node_table_initialize()
396 for (index = 0; index < SCU_STP_REMOTE_NODE_COUNT; 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()
447 remote_node_index = (u16)group_index * SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_allocate_triple_remote_node()
495 } else if (remote_node_count == SCU_STP_REMOTE_NODE_COUNT) { in sci_remote_node_table_allocate_remote_node()
519 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_single_remote_node()
565 group_index = remote_node_index / SCU_STP_REMOTE_NODE_COUNT; in sci_remote_node_table_release_triple_remote_node()
593 } else if (remote_node_count == SCU_STP_REMOTE_NODE_COUNT) { in sci_remote_node_table_release_remote_node_index()