Home
last modified time | relevance | path

Searched full:wui (Results 1 – 25 of 33) sorted by relevance

12

/Zephyr-latest/drivers/interrupt_controller/
Dintc_miwu.c19 * wake-up input (WUI) sources.
24 * 1. npcxn-miwus-wui-map.dtsi: it presents relationship between wake-up inputs
25 * (WUI) and its source device such as gpio, timer, eSPI VWs and so on.
110 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()
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx7/
Dnpcx7-miwus-wui-map.dtsi7 /* Common Wake-Up Unit Input (WUI) mapping configurations in npcx family */
8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
10 /* Specific Wake-Up Unit Input (WUI) mapping configurations in npcx7 series */
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/soc/nuvoton/npcx/common/
Dsoc_miwu.h62 * Used to indicate a Wake-Up Input source (WUI) belongs to which group and bit
74 * and corresponding WUI source.
77 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);
144 * @param wui A pointer on wake-up input source
146 void npcx_miwu_irq_disable(const struct npcx_wui *wui);
151 * @param wui A pointer on wake-up input source
153 void npcx_miwu_io_enable(const struct npcx_wui *wui);
[all …]
Dsoc_dt.h143 * @brief Get phandle from "name" property which contains wui information.
146 * @param name property 'name' which type is 'phandle' and contains wui info.
156 * @param name property 'name'which type is 'phandle' and contains wui info.
170 * @brief Get phandle from 'wui-maps' prop which type is 'phandles' at index 'i'
173 * @param i index of 'wui-maps' prop which type is 'phandles'
174 * @return phandle from 'wui-maps' prop at index 'i'
180 * @brief Construct a npcx_wui structure from wui-maps property at index 'i'
183 * @param i index of 'wui-maps' prop which type is 'phandles'
196 * @brief Length of npcx_wui structures in 'wui-maps' property
199 * @return length of 'wui-maps' prop which type is 'phandles'
[all …]
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx9/
Dnpcx9-miwus-wui-map.dtsi7 /* Common Wake-Up Unit Input (WUI) mapping configurations in npcx family */
8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
10 /* Specific Wake-Up Unit Input (WUI) mapping configurations in npcx9 series */
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/dts/bindings/espi/
Dnuvoton,npcx-host-sub.yaml19 host-acc-wui:
23 Mapping table between Wake-Up Input (WUI) and any legacy host
26 For example the WUI mapping on NPCX7 would be
27 host-acc-wui = <&wui_host_acc>;
Dnuvoton,npcx-espi-vw-conf.yaml19 vw-wui:
22 Mapping table between Wake-Up Input (WUI) and vw input signal.
24 For example the WUI mapping on NPCX7 for VW_SLP5 would be
25 vw-wui = <&wui_vw_slp_s5>;
Dnuvoton,npcx-espi.yaml25 espi-rst-wui:
29 Mapping table between Wake-Up Input (WUI) and ESPI_RST signal.
31 For example the WUI mapping on NPCX7 would be
32 espi-rst-wui = <&wui_cr_sin1>;
/Zephyr-latest/dts/bindings/shi/
Dnuvoton,npcx-shi.yaml21 shi-cs-wui:
25 Mapping table between Wake-Up Input (WUI) and SHI_CS signal.
27 For example the WUI mapping on NPCX7 would be
28 shi-cs-wui = <&wui_io53>;
/Zephyr-latest/dts/bindings/input/
Dnuvoton,npcx-kbd.yaml23 wui-maps:
27 Mapping table between Wake-Up Input (WUI) and KSIs.
29 For example the WUI mapping on 8 KSI pads would be
30 wui-maps = <&wui_io30 &wui_io31 &wui_io27 &wui_io26
/Zephyr-latest/dts/arm/nuvoton/npcx/
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 …]
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 …]
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.dtsi346 /* WUI maps for eSPI signals */
347 espi-rst-wui = <&wui_espi_rst>;
376 /* WUI map for accessing host sub-modules */
377 host-acc-wui = <&wui_host_acc>;
521 wui-maps = <&wui_io31 &wui_io30 &wui_io27 &wui_io26
/Zephyr-latest/dts/bindings/gpio/
Dnuvoton,npcx-gpio.yaml19 wui-maps:
23 Mapping table between Wake-Up Input (WUI) and 8 IOs belong to this device.
27 For example the WUI mapping on NPCX7 GPIO8 would be
28 wui-maps = <&wui_io80 &wui_io81 &wui_io82 &wui_io83
/Zephyr-latest/dts/arm/nuvoton/npcx/npcx4/
Dnpcx4-miwus-wui-map.dtsi7 /* Common Wake-Up Unit Input (WUI) mapping configurations in npcx family */
8 #include <nuvoton/npcx/npcx-miwus-wui-map.dtsi>
10 /* Specific Wake-Up Unit Input (WUI) mapping configurations in npcx4 series */
12 /* Mapping between MIWU wui bits and source device */
13 npcx-miwus-wui-map {
14 compatible = "nuvoton,npcx-miwu-wui-map";
/Zephyr-latest/dts/bindings/interrupt-controller/
Dnuvoton,npcx-miwu-wui-map.yaml4 description: NPCX-MIWU Wake-Up Unit Input (WUI) mapping child node
6 compatible: "nuvoton,npcx-miwu-wui-map"
/Zephyr-latest/dts/bindings/watchdog/
Dnuvoton,npcx-watchdog.yaml17 Mapping table between Wake-Up Input (WUI) and t0-out timer expired signal.
18 For example, the WUI mapping on NPCX7 t0-out timer would be
/Zephyr-latest/drivers/input/
Dinput_npcx_kbd.c36 /* Size of keyboard inputs-wui mapping array */
38 /* Mapping table between keyboard inputs and wui */
50 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/bindings/serial/
Dnuvoton,npcx-uart.yaml23 Mapping table between Wake-Up Input (WUI) and uart rx START signal.
25 For example the WUI mapping on NPCX7 UART1 would be
/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()
144 LOG_DBG("WDT reset will issue after %d delay cycle! WUI(%d %d %d)", 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.c137 struct npcx_wui vw_wui; /* WUI mapping in MIWU modules for VW signal */
234 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()
[all …]
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c100 /* Enable UART WUI */ in uart_it8xxx2_pm_action()
104 LOG_ERR("Failed to configure UART%d WUI (ret %d)", in uart_it8xxx2_pm_action()

12