/Zephyr-Core-3.5.0/drivers/interrupt_controller/ |
D | intc_miwu.c | 19 * 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/ |
D | npcx7-miwus-wui-map.dtsi | 7 /* 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/ |
D | soc_miwu.h | 62 * 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 …]
|
D | soc_dt.h | 129 * @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/ |
D | npcx9-miwus-wui-map.dtsi | 7 /* 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/ |
D | npcx7.dtsi | 9 /* 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 …]
|
D | npcx9.dtsi | 9 /* 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 …]
|
D | npcx4.dtsi | 9 /* 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 …]
|
D | npcx-espi-vws-map.dtsi | 40 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 …]
|
D | npcx-miwus-wui-map.dtsi | 8 /* 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/ |
D | nuvoton,npcx-host-sub.yaml | 19 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>;
|
D | nuvoton,npcx-espi-vw-conf.yaml | 19 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>;
|
D | nuvoton,npcx-espi.yaml | 25 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/ |
D | nuvoton,npcx-shi.yaml | 21 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/ |
D | nuvoton,npcx-gpio.yaml | 19 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/ |
D | nuvoton,npcx-kbd.yaml | 23 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/ |
D | npcx4-miwus-wui-map.dtsi | 7 /* 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/ |
D | nuvoton,npcx-miwu-wui-map.yaml | 4 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/ |
D | nuvoton,npcx-watchdog.yaml | 17 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/ |
D | nuvoton,npcx-uart.yaml | 23 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/ |
D | input_npcx_kbd.c | 43 /* 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/ |
D | wdt_npcx.c | 136 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/ |
D | espi_npcx.c | 111 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/ |
D | uart_ite_it8xxx2.c | 100 /* 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/ |
D | gpio_npcx.c | 36 /* 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!"); \
|