/* * This is the interrupt polling timeout function. */ static void int_poll_timeout(struct timer_list *t) { struct controller *ctrl = from_timer(ctrl, t, poll_timer); /* Poll for interrupt events. regs == NULL => polling */ shpc_isr(0, ctrl); if (!shpchp_poll_time) shpchp_poll_time = 2; /* default polling interval is 2 sec */ start_int_poll_timer(ctrl, shpchp_poll_time); }
/* * This is the interrupt polling timeout function. */ static void int_poll_timeout(unsigned long data) { struct controller *ctrl = (struct controller *)data; /* Poll for interrupt events. regs == NULL => polling */ shpc_isr(0, ctrl); init_timer(&ctrl->poll_timer); if (!shpchp_poll_time) shpchp_poll_time = 2; /* default polling interval is 2 sec */ start_int_poll_timer(ctrl, shpchp_poll_time); }
static void int_poll_timeout(unsigned long data) { struct controller *ctrl = (struct controller *)data; shpc_isr(0, ctrl); init_timer(&ctrl->poll_timer); if (!shpchp_poll_time) shpchp_poll_time = 2; start_int_poll_timer(ctrl, shpchp_poll_time); }
/* * This is the interrupt polling timeout function. */ static void int_poll_timeout(unsigned long lphp_ctlr) { struct php_ctlr_state_s *php_ctlr = (struct php_ctlr_state_s *)lphp_ctlr; DBG_ENTER_ROUTINE /* Poll for interrupt events. regs == NULL => polling */ shpc_isr(0, php_ctlr->callback_instance_id, NULL); init_timer(&php_ctlr->int_poll_timer); if (!shpchp_poll_time) shpchp_poll_time = 2; /* default polling interval is 2 sec */ start_int_poll_timer(php_ctlr, shpchp_poll_time); DBG_LEAVE_ROUTINE }