Lines Matching refs:cb
52 eirq_nxp_s32_callback_t cb; member
58 struct eirq_nxp_s32_cb *cb; member
79 if (data->cb[irq].cb != NULL) { in eirq_nxp_s32_interrupt_handler()
80 data->cb[irq].cb(data->cb[irq].pin, data->cb[irq].data); in eirq_nxp_s32_interrupt_handler()
88 eirq_nxp_s32_callback_t cb, void *arg) in eirq_nxp_s32_set_callback() argument
94 if ((data->cb[irq].cb == cb) && (data->cb[irq].data == arg)) { in eirq_nxp_s32_set_callback()
98 if (data->cb[irq].cb) { in eirq_nxp_s32_set_callback()
102 data->cb[irq].cb = cb; in eirq_nxp_s32_set_callback()
103 data->cb[irq].pin = pin; in eirq_nxp_s32_set_callback()
104 data->cb[irq].data = arg; in eirq_nxp_s32_set_callback()
115 data->cb[irq].cb = NULL; in eirq_nxp_s32_unset_callback()
116 data->cb[irq].pin = 0; in eirq_nxp_s32_unset_callback()
117 data->cb[irq].data = NULL; in eirq_nxp_s32_unset_callback()
243 .cb = eirq_nxp_s32_cb_##n, \