FreeBSD/sys/dev/isci/scil/scif_sas_controller.c
void scif_sas_controller_save_interrupt_coalescence(
   SCIF_SAS_CONTROLLER_T * fw_controller
)
{
   if ( !scif_sas_controller_is_overriding_interrupt_coalescence(fw_controller))
   {
      // Override core's interrupt coalescing settings during SMP
      // DISCOVER process cause' there is only 1 outstanding SMP
      // request per domain is allowed.
      scic_controller_get_interrupt_coalescence(
         fw_controller->core_object,
         (U32*)&(fw_controller->saved_interrupt_coalesce_number),
         &(fw_controller->saved_interrupt_coalesce_timeout)
      );

      // Temporarily disable the interrupt coalescing.
      scic_controller_set_interrupt_coalescence(fw_controller->core_object,0,0);
   }
}
/**
 * @brief This method will save the interrupt coalescence values.  If
 *        the interrupt coalescence values have already been saved,
 *        then this method performs no operations.
 *
 * @param[in,out] fw_controller This parameter specifies the controller
 *                for which to save the interrupt coalescence values.
 *
 * @return none
 */
@brief This method will save the interrupt coalescence values.  If
the interrupt coalescence values have already been saved,
then this method performs no operations.

@param[in,out] fw_controller This parameter specifies the controller
for which to save the interrupt coalescence values.

@return none
@brief This method will save the interrupt coalescence values . If the interrupt coalescence values have already been saved then this method performs no operations . @param [ in out ] fw_controller This parameter specifies the controller for which to save the interrupt coalescence values . @return none
void scif_sas_controller_save_interrupt_coalescence(
   SCIF_SAS_CONTROLLER_T * fw_controller
)
{
   if ( !scif_sas_controller_is_overriding_interrupt_coalescence(fw_controller))
   {
      scic_controller_get_interrupt_coalescence(
         fw_controller->core_object,
         (U32*)&(fw_controller->saved_interrupt_coalesce_number),
         &(fw_controller->saved_interrupt_coalesce_timeout)
      );
      scic_controller_set_interrupt_coalescence(fw_controller->core_object,0,0);
   }
}
void scif_sas_controller_save_interrupt_coalescence ( SCIF_SAS_CONTROLLER_T * fw_controller ) { if ( ! scif_sas_controller_is_overriding_interrupt_coalescence ( fw_controller ) ) { scic_controller_get_interrupt_coalescence ( fw_controller -> core_object , ( U32 * ) & ( fw_controller -> saved_interrupt_coalesce_number ) , & ( fw_controller -> saved_interrupt_coalesce_timeout ) ) ; scic_controller_set_interrupt_coalescence ( fw_controller -> core_object , 0 , 0 ) ; } }
@brief This method will save the interrupt coalescence values.
@brief This method will save the interrupt coalescence values .
// Override core's interrupt coalescing settings during SMP // DISCOVER process cause' there is only 1 outstanding SMP // request per domain is allowed. // Temporarily disable the interrupt coalescing.