Lines Matching refs:isr_data

122 	struct omap_dispc_isr_data *isr_data;  in _omap_dispc_set_irqs()  local
127 isr_data = &dispc_compat.registered_isr[i]; in _omap_dispc_set_irqs()
129 if (isr_data->isr == NULL) in _omap_dispc_set_irqs()
132 mask |= isr_data->mask; in _omap_dispc_set_irqs()
143 struct omap_dispc_isr_data *isr_data; in omap_dispc_register_isr() local
152 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_register_isr()
153 if (isr_data->isr == isr && isr_data->arg == arg && in omap_dispc_register_isr()
154 isr_data->mask == mask) { in omap_dispc_register_isr()
160 isr_data = NULL; in omap_dispc_register_isr()
164 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_register_isr()
166 if (isr_data->isr != NULL) in omap_dispc_register_isr()
169 isr_data->isr = isr; in omap_dispc_register_isr()
170 isr_data->arg = arg; in omap_dispc_register_isr()
171 isr_data->mask = mask; in omap_dispc_register_isr()
197 struct omap_dispc_isr_data *isr_data; in omap_dispc_unregister_isr() local
202 isr_data = &dispc_compat.registered_isr[i]; in omap_dispc_unregister_isr()
203 if (isr_data->isr != isr || isr_data->arg != arg || in omap_dispc_unregister_isr()
204 isr_data->mask != mask) in omap_dispc_unregister_isr()
209 isr_data->isr = NULL; in omap_dispc_unregister_isr()
210 isr_data->arg = NULL; in omap_dispc_unregister_isr()
211 isr_data->mask = 0; in omap_dispc_unregister_isr()
257 struct omap_dispc_isr_data *isr_data; in omap_dispc_irq_handler() local
294 isr_data = &registered_isr[i]; in omap_dispc_irq_handler()
296 if (!isr_data->isr) in omap_dispc_irq_handler()
299 if (isr_data->mask & irqstatus) { in omap_dispc_irq_handler()
300 isr_data->isr(isr_data->arg, irqstatus); in omap_dispc_irq_handler()
301 handledirqs |= isr_data->mask; in omap_dispc_irq_handler()