Lines Matching refs:cb
43 wkpu_nxp_s32_callback_t cb; member
49 struct wkpu_nxp_s32_cb *cb; member
67 if (data->cb[irq].cb != NULL) { in wkpu_nxp_s32_interrupt_handler()
68 data->cb[irq].cb(data->cb[irq].pin, data->cb[irq].data); in wkpu_nxp_s32_interrupt_handler()
76 wkpu_nxp_s32_callback_t cb, void *arg) in wkpu_nxp_s32_set_callback() argument
82 if ((data->cb[irq].cb == cb) && (data->cb[irq].data == arg)) { in wkpu_nxp_s32_set_callback()
86 if (data->cb[irq].cb) { in wkpu_nxp_s32_set_callback()
90 data->cb[irq].cb = cb; in wkpu_nxp_s32_set_callback()
91 data->cb[irq].pin = pin; in wkpu_nxp_s32_set_callback()
92 data->cb[irq].data = arg; in wkpu_nxp_s32_set_callback()
103 data->cb[irq].cb = NULL; in wkpu_nxp_s32_unset_callback()
104 data->cb[irq].pin = 0; in wkpu_nxp_s32_unset_callback()
105 data->cb[irq].data = NULL; in wkpu_nxp_s32_unset_callback()
205 .cb = wkpu_nxp_s32_cb_##n, \