Home
last modified time | relevance | path

Searched refs:wui (Results 1 – 17 of 17) sorted by relevance

/Zephyr-latest/drivers/interrupt_controller/
Dintc_miwu.c110 if (BIT(cb->io_cb.params.wui.bit) & mask) { in intc_miwu_dispatch_isr()
118 if (BIT(cb->dev_cb.params.wui.bit) & mask) { in intc_miwu_dispatch_isr()
122 &cb->dev_cb.params.wui); in intc_miwu_dispatch_isr()
178 void npcx_miwu_irq_enable(const struct npcx_wui *wui) in npcx_miwu_irq_enable() argument
180 const struct intc_miwu_config *config = miwu_devs[wui->table]->config; in npcx_miwu_irq_enable()
185 struct intc_miwu_data *data = miwu_devs[wui->table]->data; in npcx_miwu_irq_enable()
190 NPCX_WKEN(base, wui->group) |= BIT(wui->bit); in npcx_miwu_irq_enable()
193 if ((data->both_edge_pins[wui->group] & BIT(wui->bit)) != 0) { in npcx_miwu_irq_enable()
194 npcx_miwu_set_pseudo_both_edge(wui->table, wui->group, wui->bit); in npcx_miwu_irq_enable()
200 void npcx_miwu_irq_disable(const struct npcx_wui *wui) in npcx_miwu_irq_disable() argument
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_miwu.h77 struct npcx_wui *wui);
90 struct npcx_wui wui; /** Wake-up input source of GPIO */ member
103 struct npcx_wui wui; /** Device instance register callback function */ member
139 void npcx_miwu_irq_enable(const struct npcx_wui *wui);
146 void npcx_miwu_irq_disable(const struct npcx_wui *wui);
153 void npcx_miwu_io_enable(const struct npcx_wui *wui);
160 void npcx_miwu_io_disable(const struct npcx_wui *wui);
169 bool npcx_miwu_irq_get_state(const struct npcx_wui *wui);
178 bool npcx_miwu_irq_get_and_clear_pending(const struct npcx_wui *wui);
190 int npcx_miwu_interrupt_configure(const struct npcx_wui *wui,
/Zephyr-latest/dts/arm/nuvoton/npcx/
Dnpcx-espi-vws-map.dtsi40 vw-wui = <&wui_vw_slp_s3>;
44 vw-wui = <&wui_vw_slp_s4>;
48 vw-wui = <&wui_vw_slp_s5>;
54 vw-wui = <&wui_vw_sus_stat>;
58 vw-wui = <&wui_vw_plt_rst>;
62 vw-wui = <&wui_vw_oob_rst_warn>;
68 vw-wui = <&wui_vw_host_rst_warn>;
74 vw-wui = <&wui_vw_sus_warn>;
78 vw-wui = <&wui_vw_sus_pwrdn_ack>;
82 vw-wui = <&wui_vw_slp_a>;
[all …]
Dnpcx7.dtsi9 /* NPCX7 series mapping table between MIWU wui bits and source device */
10 #include "npcx7/npcx7-miwus-wui-map.dtsi"
139 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
147 wui-maps = <&wui_io10 &wui_io11 &wui_none &wui_none
155 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
163 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
171 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
179 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
187 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
195 wui-maps = <&wui_io70 &wui_none &wui_io72 &wui_io73
[all …]
Dnpcx9.dtsi9 /* NPCX9 series mapping table between MIWU wui bits and source device */
10 #include "npcx9/npcx9-miwus-wui-map.dtsi"
172 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
180 wui-maps = <&wui_io10 &wui_io11 &wui_none &wui_none
188 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
196 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
204 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
212 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
220 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
228 wui-maps = <&wui_io70 &wui_none &wui_io72 &wui_io73
[all …]
Dnpcx4.dtsi9 /* npcx4 series mapping table between MIWU wui bits and source device */
10 #include "npcx4/npcx4-miwus-wui-map.dtsi"
172 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
180 wui-maps = <&wui_io10 &wui_io11 &wui_io12 &wui_io13
188 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
196 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
204 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
212 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
220 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
228 wui-maps = <&wui_io70 &wui_none &wui_io72 &wui_io73
[all …]
Dnpcx-miwus-wui-map.dtsi8 /* Mapping between MIWU wui bits and source device */
9 npcx-miwus-wui-map {
10 compatible = "nuvoton,npcx-miwu-wui-map";
496 /* Pseudo wui item means no mapping between source and wui */
497 wui_none: wui-pseudo {
Dnpcx-espi-vws-ex-map.dtsi37 vw-wui = <&wui_vw_dnx_warn>;
Dnpcx.dtsi347 espi-rst-wui = <&wui_espi_rst>;
377 host-acc-wui = <&wui_host_acc>;
521 wui-maps = <&wui_io31 &wui_io30 &wui_io27 &wui_io26
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-miwus-wui-map.dtsi8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-miwus-wui-map.dtsi8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/drivers/input/
Dinput_npcx_kbd.c50 static void npcx_kbd_ksi_isr(const struct device *dev, struct npcx_wui *wui) in npcx_kbd_ksi_isr() argument
52 ARG_UNUSED(wui); in npcx_kbd_ksi_isr()
122 const struct npcx_wui *wui, in npcx_kbd_init_ksi_wui_callback() argument
126 if (wui->table == NPCX_MIWU_TABLE_NONE) { in npcx_kbd_init_ksi_wui_callback()
131 npcx_miwu_init_dev_callback(callback, wui, handler, dev); in npcx_kbd_init_ksi_wui_callback()
135 npcx_miwu_interrupt_configure(wui, NPCX_MIWU_MODE_EDGE, NPCX_MIWU_TRIG_LOW); in npcx_kbd_init_ksi_wui_callback()
136 npcx_miwu_irq_enable(wui); in npcx_kbd_init_ksi_wui_callback()
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-miwus-wui-map.dtsi8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/drivers/watchdog/
Dwdt_npcx.c139 static void wdt_t0out_isr(const struct device *dev, struct npcx_wui *wui) in wdt_t0out_isr() argument
142 ARG_UNUSED(wui); in wdt_t0out_isr()
145 CONFIG_WDT_NPCX_WARNING_LEADING_TIME_MS, wui->table, wui->group, wui->bit); in wdt_t0out_isr()
/Zephyr-latest/drivers/espi/
Despi_npcx.c234 struct miwu_callback *callback, const struct npcx_wui *wui, in espi_init_wui_callback() argument
238 if (wui->table == NPCX_MIWU_TABLE_NONE) { in espi_init_wui_callback()
243 npcx_miwu_init_dev_callback(callback, wui, handler, dev); in espi_init_wui_callback()
247 npcx_miwu_interrupt_configure(wui, NPCX_MIWU_MODE_EDGE, in espi_init_wui_callback()
647 static void espi_vw_generic_isr(const struct device *dev, struct npcx_wui *wui) in espi_vw_generic_isr() argument
652 LOG_DBG("%s: WUI %d %d %d", __func__, wui->table, wui->group, wui->bit); in espi_vw_generic_isr()
654 if (wui->table == vw_in_tbl[idx].vw_wui.table && in espi_vw_generic_isr()
655 wui->group == vw_in_tbl[idx].vw_wui.group && in espi_vw_generic_isr()
656 wui->bit == vw_in_tbl[idx].vw_wui.bit) { in espi_vw_generic_isr()
662 LOG_ERR("Unknown VW event! %d %d %d", wui->table, in espi_vw_generic_isr()
[all …]
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_npcx.c900 static void shi_npcx_cs_wui_isr(const struct device *dev, struct npcx_wui *wui) in shi_npcx_cs_wui_isr() argument
/Zephyr-latest/drivers/serial/
Duart_npcx.c944 static __unused void uart_npcx_rx_wk_isr(const struct device *dev, struct npcx_wui *wui) in uart_npcx_rx_wk_isr() argument