Lines Matching refs:isr_data
133 struct omap_dispc_isr_data *isr_data; in _omap_dispc_set_irqs() local
138 isr_data = &dispc_compat.registered_isr[i]; in _omap_dispc_set_irqs()
140 if (isr_data->isr == NULL) in _omap_dispc_set_irqs()
143 mask |= isr_data->mask; in _omap_dispc_set_irqs()
154 struct omap_dispc_isr_data *isr_data; in omap_dispc_register_isr() local
163 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_register_isr()
164 if (isr_data->isr == isr && isr_data->arg == arg && in omap_dispc_register_isr()
165 isr_data->mask == mask) { in omap_dispc_register_isr()
171 isr_data = NULL; in omap_dispc_register_isr()
175 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_register_isr()
177 if (isr_data->isr != NULL) in omap_dispc_register_isr()
180 isr_data->isr = isr; in omap_dispc_register_isr()
181 isr_data->arg = arg; in omap_dispc_register_isr()
182 isr_data->mask = mask; in omap_dispc_register_isr()
208 struct omap_dispc_isr_data *isr_data; in omap_dispc_unregister_isr() local
213 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_unregister_isr()
214 if (isr_data->isr != isr || isr_data->arg != arg || in omap_dispc_unregister_isr()
215 isr_data->mask != mask) in omap_dispc_unregister_isr()
220 isr_data->isr = NULL; in omap_dispc_unregister_isr()
221 isr_data->arg = NULL; in omap_dispc_unregister_isr()
222 isr_data->mask = 0; in omap_dispc_unregister_isr()
268 struct omap_dispc_isr_data *isr_data; in omap_dispc_irq_handler() local
305 isr_data = ®istered_isr[i]; in omap_dispc_irq_handler()
307 if (!isr_data->isr) in omap_dispc_irq_handler()
310 if (isr_data->mask & irqstatus) { in omap_dispc_irq_handler()
311 isr_data->isr(isr_data->arg, irqstatus); in omap_dispc_irq_handler()
312 handledirqs |= isr_data->mask; in omap_dispc_irq_handler()