FreeBSD/sys/dev/isci/isci_timer.c
/**
 * @brief This callback method asks the user to stop the supplied timer.
 *
 * @param[in]  controller This parameter specifies the controller with
 *             which this timer is to associated.
 * @param[in]  timer This parameter specifies the timer to be stopped.
 *
 * @return none
 */
@brief This callback method asks the user to stop the supplied timer.
@param[in]  controller This parameter specifies the controller with
which this timer is to associated.
@param[in]  timer This parameter specifies the timer to be stopped.

@return none
@brief This callback method asks the user to stop the supplied timer . @param [ in ] controller This parameter specifies the controller with which this timer is to associated . @param [ in ] timer This parameter specifies the timer to be stopped . @return none
void
scif_cb_timer_stop(SCI_CONTROLLER_HANDLE_T controller, void *timer)
{
	struct ISCI_TIMER *isci_timer = (struct ISCI_TIMER *)timer;
	isci_log_message(3, "TIMER", "stop %p\n", timer);
	isci_timer->is_started = FALSE;
	callout_stop(&isci_timer->callout);
}
void scif_cb_timer_stop ( SCI_CONTROLLER_HANDLE_T controller , void * timer ) { struct ISCI_TIMER * isci_timer = ( struct ISCI_TIMER * ) timer ; isci_log_message ( 3 , " " , " \n " , timer ) ; isci_timer -> is_started = FALSE ; callout_stop ( & isci_timer -> callout ) ; }
@brief This callback method asks the user to stop the supplied timer.
@brief This callback method asks the user to stop the supplied timer .