Home
last modified time | relevance | path

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

12

/Zephyr-Core-3.5.0/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.
106 if (BIT(cb->io_cb.params.wui.bit) & mask) { in intc_miwu_dispatch_isr()
114 if (BIT(cb->dev_cb.params.wui.bit) & mask) { in intc_miwu_dispatch_isr()
118 &cb->dev_cb.params.wui); in intc_miwu_dispatch_isr()
141 void npcx_miwu_irq_enable(const struct npcx_wui *wui) in npcx_miwu_irq_enable() argument
143 const struct intc_miwu_config *config = miwu_devs[wui->table]->config; in npcx_miwu_irq_enable()
146 NPCX_WKEN(base, wui->group) |= BIT(wui->bit); in npcx_miwu_irq_enable()
149 void npcx_miwu_irq_disable(const struct npcx_wui *wui) in npcx_miwu_irq_disable() argument
[all …]
/Zephyr-Core-3.5.0/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-Core-3.5.0/soc/arm/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.h129 * @brief Get phandle from "name" property which contains wui information.
132 * @param name property 'name' which type is 'phandle' and contains wui info.
142 * @param name property 'name'which type is 'phandle' and contains wui info.
156 * @brief Get phandle from 'wui-maps' prop which type is 'phandles' at index 'i'
159 * @param i index of 'wui-maps' prop which type is 'phandles'
160 * @return phandle from 'wui-maps' prop at index 'i'
166 * @brief Construct a npcx_wui structure from wui-maps property at index 'i'
169 * @param i index of 'wui-maps' prop which type is 'phandles'
182 * @brief Length of npcx_wui structures in 'wui-maps' property
185 * @return length of 'wui-maps' prop which type is 'phandles'
[all …]
/Zephyr-Core-3.5.0/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-Core-3.5.0/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"
110 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
118 wui-maps = <&wui_io10 &wui_io11 &wui_none &wui_none
126 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
134 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
142 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
150 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
158 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
166 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"
131 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
139 wui-maps = <&wui_io10 &wui_io11 &wui_none &wui_none
147 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
155 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
163 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
171 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
179 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
187 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"
132 wui-maps = <&wui_io00 &wui_io01 &wui_io02 &wui_io03
140 wui-maps = <&wui_io10 &wui_io11 &wui_io12 &wui_io13
148 wui-maps = <&wui_io20 &wui_io21 &wui_io22 &wui_io23
156 wui-maps = <&wui_io30 &wui_io31 &wui_none &wui_io33
164 wui-maps = <&wui_io40 &wui_io41 &wui_io42 &wui_io43
172 wui-maps = <&wui_io50 &wui_io51 &wui_io52 &wui_io53
180 wui-maps = <&wui_io60 &wui_io61 &wui_io62 &wui_io63
188 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 …]
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";
493 /* Pseudo wui item means no mapping between source and wui */
494 wui_none: wui-pseudo {
/Zephyr-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/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-Core-3.5.0/drivers/input/
Dinput_npcx_kbd.c43 /* Size of keyboard inputs-wui mapping array */
49 /* Mapping table between keyboard inputs and wui */
75 static void input_npcx_kbd_ksi_isr(const struct device *dev, struct npcx_wui *wui) in input_npcx_kbd_ksi_isr() argument
77 ARG_UNUSED(wui); in input_npcx_kbd_ksi_isr()
394 const struct npcx_wui *wui, in input_npcx_kbd_init_ksi_wui_callback() argument
398 if (wui->table == NPCX_MIWU_TABLE_NONE) { in input_npcx_kbd_init_ksi_wui_callback()
403 npcx_miwu_init_dev_callback(callback, wui, handler, dev); in input_npcx_kbd_init_ksi_wui_callback()
407 npcx_miwu_interrupt_configure(wui, NPCX_MIWU_MODE_EDGE, NPCX_MIWU_TRIG_BOTH); in input_npcx_kbd_init_ksi_wui_callback()
408 npcx_miwu_irq_enable(wui); in input_npcx_kbd_init_ksi_wui_callback()
/Zephyr-Core-3.5.0/drivers/watchdog/
Dwdt_npcx.c136 static void wdt_t0out_isr(const struct device *dev, struct npcx_wui *wui) in wdt_t0out_isr() argument
139 ARG_UNUSED(wui); in wdt_t0out_isr()
141 LOG_DBG("WDT reset will issue after %d delay cycle! WUI(%d %d %d)", in wdt_t0out_isr()
142 CONFIG_WDT_NPCX_DELAY_CYCLES, wui->table, wui->group, wui->bit); in wdt_t0out_isr()
/Zephyr-Core-3.5.0/drivers/espi/
Despi_npcx.c111 struct npcx_wui vw_wui; /* WUI mapping in MIWU modules for VW signal */
194 struct miwu_callback *callback, const struct npcx_wui *wui, in espi_init_wui_callback() argument
198 if (wui->table == NPCX_MIWU_TABLE_NONE) in espi_init_wui_callback()
202 npcx_miwu_init_dev_callback(callback, wui, handler, dev); in espi_init_wui_callback()
206 npcx_miwu_interrupt_configure(wui, NPCX_MIWU_MODE_EDGE, in espi_init_wui_callback()
488 static void espi_vw_generic_isr(const struct device *dev, struct npcx_wui *wui) in espi_vw_generic_isr() argument
493 LOG_DBG("%s: WUI %d %d %d", __func__, wui->table, wui->group, wui->bit); in espi_vw_generic_isr()
495 if (wui->table == vw_in_tbl[idx].vw_wui.table && in espi_vw_generic_isr()
496 wui->group == vw_in_tbl[idx].vw_wui.group && in espi_vw_generic_isr()
497 wui->bit == vw_in_tbl[idx].vw_wui.bit) { in espi_vw_generic_isr()
[all …]
/Zephyr-Core-3.5.0/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()
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_npcx.c36 /* Mapping table between gpio bits and wui */
374 /* Initialize WUI information in unused bits field */ in gpio_npcx_manage_callback()
416 "size of prop. wui-maps must equal to pin number!"); \

12