FreeBSD/sys/dev/isci/scil/scic_sds_controller.c
/**
 * @brief This is the method provided to handle legacy interrupts for the
 *        controller object.
 *
 * @param[in] controller
 *
 * @return BOOL
 * @retval TRUE if an interrupt is processed
 *         FALSE if no interrupt was processed
 */
@brief This is the method provided to handle legacy interrupts for the
controller object.

@param[in] controller

@return BOOL
@retval TRUE if an interrupt is processed
FALSE if no interrupt was processed
@brief This is the method provided to handle legacy interrupts for the controller object . @param [ in ] controller @return BOOL @retval TRUE if an interrupt is processed FALSE if no interrupt was processed
static
BOOL scic_sds_controller_legacy_interrupt_handler(
   SCI_CONTROLLER_HANDLE_T controller
)
{
   U32                    interrupt_status;
   BOOL                   is_completion_needed;
   SCIC_SDS_CONTROLLER_T *this_controller = (SCIC_SDS_CONTROLLER_T*)controller;
   interrupt_status     = SMU_ISR_READ(this_controller);
   is_completion_needed = scic_sds_controller_standard_interrupt_handler(
                             this_controller, interrupt_status
                          );
   return is_completion_needed;
}
static BOOL scic_sds_controller_legacy_interrupt_handler ( SCI_CONTROLLER_HANDLE_T controller ) { U32 interrupt_status ; BOOL is_completion_needed ; SCIC_SDS_CONTROLLER_T * this_controller = ( SCIC_SDS_CONTROLLER_T * ) controller ; interrupt_status = SMU_ISR_READ ( this_controller ) ; is_completion_needed = scic_sds_controller_standard_interrupt_handler ( this_controller , interrupt_status ) ; return is_completion_needed ; }
@brief This is the method provided to handle legacy interrupts for the
        controller object.
@brief This is the method provided to handle legacy interrupts for the controller object .