FreeBSD/sys/dev/isci/scil/scic_sds_remote_node_table.c
/**
 * This method will clear the group index entry in the specified group index
 * table.
 *
 * @param[in out] remote_node_table This the remote node table in which to
 *       clear the selector.
 * @param[in] set_index This is the remote node selector in which the change
 *       will be made.
 * @param[in] group_index This is the bit index in the table to be modified.
 *
 * @return none
 */
This method will clear the group index entry in the specified group index
table.

@param[in out] remote_node_table This the remote node table in which to
clear the selector.
@param[in] set_index This is the remote node selector in which the change
will be made.
@param[in] group_index This is the bit index in the table to be modified.

@return none
This method will clear the group index entry in the specified group index table . @param [ in out ] remote_node_table This the remote node table in which to clear the selector . @param [ in ] set_index This is the remote node selector in which the change will be made . @param [ in ] group_index This is the bit index in the table to be modified . @return none
static
void scic_sds_remote_node_table_clear_group_index(
   SCIC_REMOTE_NODE_TABLE_T * remote_node_table,
   U32                        group_table_index,
   U32                        group_index
)
{
   U32   dword_index;
   U32   bit_index;
   U32 * group_table;
   ASSERT(group_table_index < SCU_STP_REMOTE_NODE_COUNT);
   ASSERT(group_index < (U32)(remote_node_table->group_array_size * 32));
   dword_index = group_index / 32;
   bit_index   = group_index % 32;
   group_table = remote_node_table->remote_node_groups[group_table_index];
   group_table[dword_index] = group_table[dword_index] & ~(1 << bit_index);
}
static void scic_sds_remote_node_table_clear_group_index ( SCIC_REMOTE_NODE_TABLE_T * remote_node_table , U32 group_table_index , U32 group_index ) { U32 dword_index ; U32 bit_index ; U32 * group_table ; ASSERT ( group_table_index < SCU_STP_REMOTE_NODE_COUNT ) ; ASSERT ( group_index < ( U32 ) ( remote_node_table -> group_array_size * 32 ) ) ; dword_index = group_index / 32 ; bit_index = group_index % 32 ; group_table = remote_node_table -> remote_node_groups [ group_table_index ] ; group_table [ dword_index ] = group_table [ dword_index ] & ~ ( 1 << bit_index ) ; }
This method will clear the group index entry in the specified group index
 table.
This method will clear the group index entry in the specified group index table .