Lines Matching refs:io_cb
94 BUILD_ASSERT(offsetof(struct miwu_callback, io_cb.params) +
98 BUILD_ASSERT(offsetof(struct miwu_callback, io_cb.params.cb_type) ==
109 if (cb->io_cb.params.cb_type == NPCX_MIWU_CALLBACK_GPIO) { in intc_miwu_dispatch_isr()
110 if (BIT(cb->io_cb.params.wui.bit) & mask) { in intc_miwu_dispatch_isr()
111 __ASSERT(cb->io_cb.handler, "No GPIO callback handler!"); in intc_miwu_dispatch_isr()
112 cb->io_cb.handler( in intc_miwu_dispatch_isr()
113 npcx_get_gpio_dev(cb->io_cb.params.gpio_port), in intc_miwu_dispatch_isr()
115 cb->io_cb.params.pin_mask); in intc_miwu_dispatch_isr()
354 callback->io_cb.params.wui.table = io_wui->table; in npcx_miwu_init_gpio_callback()
355 callback->io_cb.params.wui.bit = io_wui->bit; in npcx_miwu_init_gpio_callback()
356 callback->io_cb.params.gpio_port = port; in npcx_miwu_init_gpio_callback()
357 callback->io_cb.params.cb_type = NPCX_MIWU_CALLBACK_GPIO; in npcx_miwu_init_gpio_callback()
358 callback->io_cb.params.wui.group = io_wui->group; in npcx_miwu_init_gpio_callback()
381 if (cb->io_cb.params.cb_type == NPCX_MIWU_CALLBACK_GPIO) { in npcx_miwu_manage_callback()
382 wui = &cb->io_cb.params.wui; in npcx_miwu_manage_callback()