Lines Matching refs:isr_data
374 struct dsi_isr_data *isr_data; in dsi_call_isrs() local
378 isr_data = &isr_array[i]; in dsi_call_isrs()
379 if (isr_data->isr && isr_data->mask & irqstatus) in dsi_call_isrs()
380 isr_data->isr(isr_data->arg, irqstatus); in dsi_call_isrs()
482 struct dsi_isr_data *isr_data; in _omap_dsi_configure_irqs() local
490 isr_data = &isr_array[i]; in _omap_dsi_configure_irqs()
492 if (isr_data->isr == NULL) in _omap_dsi_configure_irqs()
495 mask |= isr_data->mask; in _omap_dsi_configure_irqs()
558 struct dsi_isr_data *isr_data; in _dsi_register_isr() local
567 isr_data = &isr_array[i]; in _dsi_register_isr()
569 if (isr_data->isr == isr && isr_data->arg == arg && in _dsi_register_isr()
570 isr_data->mask == mask) { in _dsi_register_isr()
574 if (isr_data->isr == NULL && free_idx == -1) in _dsi_register_isr()
581 isr_data = &isr_array[free_idx]; in _dsi_register_isr()
582 isr_data->isr = isr; in _dsi_register_isr()
583 isr_data->arg = arg; in _dsi_register_isr()
584 isr_data->mask = mask; in _dsi_register_isr()
592 struct dsi_isr_data *isr_data; in _dsi_unregister_isr() local
596 isr_data = &isr_array[i]; in _dsi_unregister_isr()
597 if (isr_data->isr != isr || isr_data->arg != arg || in _dsi_unregister_isr()
598 isr_data->mask != mask) in _dsi_unregister_isr()
601 isr_data->isr = NULL; in _dsi_unregister_isr()
602 isr_data->arg = NULL; in _dsi_unregister_isr()
603 isr_data->mask = 0; in _dsi_unregister_isr()