/linux-6.12.1/drivers/base/power/ |
D | wakeirq.c | 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 33 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq() 86 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_clear_wake_irq() 94 dev->power.wakeirq = NULL; in dev_pm_clear_wake_irq() 253 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_check() 284 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq_check() 310 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_complete()
|
D | wakeup.c | 320 if (dev->power.wakeirq) in device_wakeup_attach() 321 device_wakeup_attach_irq(dev, dev->power.wakeirq); in device_wakeup_attach() 367 struct wake_irq *wakeirq) in device_wakeup_attach_irq() argument 375 if (ws->wakeirq) in device_wakeup_attach_irq() 378 ws->wakeirq = wakeirq; in device_wakeup_attach_irq() 395 ws->wakeirq = NULL; in device_wakeup_detach_irq() 410 dev_pm_arm_wake_irq(ws->wakeirq); in device_wakeup_arm_wake_irqs() 426 dev_pm_disarm_wake_irq(ws->wakeirq); in device_wakeup_disarm_wake_irqs()
|
D | power.h | 50 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq); 58 struct wake_irq *wakeirq) {} in device_wakeup_attach_irq() argument
|
D | Makefile | 2 obj-$(CONFIG_PM) += sysfs.o generic_ops.o common.o qos.o runtime.o wakeirq.o
|
/linux-6.12.1/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 219 static int wlcore_probe_of(struct device *dev, int *irq, int *wakeirq, in wlcore_probe_of() argument 237 *wakeirq = irq_of_parse_and_map(np, 1); in wlcore_probe_of() 248 static int wlcore_probe_of(struct device *dev, int *irq, int *wakeirq, in wlcore_probe_of() argument 263 int irq, wakeirq, num_irqs; in wl1271_probe() local 288 ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); in wl1271_probe() 332 if (wakeirq > 0) { in wl1271_probe() 333 res[1].start = wakeirq; in wl1271_probe() 335 irqd_get_trigger_type(irq_get_irq_data(wakeirq)); in wl1271_probe()
|
D | wlcore.h | 188 int wakeirq; member
|
D | main.c | 6652 wl->wakeirq = res->start; in wlcore_nvs_cb() 6654 ret = dev_pm_set_dedicated_wake_irq(wl->dev, wl->wakeirq); in wlcore_nvs_cb() 6656 wl->wakeirq = -ENODEV; in wlcore_nvs_cb() 6658 wl->wakeirq = -ENODEV; in wlcore_nvs_cb() 6687 if (wl->wakeirq >= 0) in wlcore_nvs_cb() 6839 if (wl->wakeirq >= 0) { in wlcore_remove() 6841 wl->wakeirq = -ENODEV; in wlcore_remove()
|
/linux-6.12.1/drivers/input/keyboard/ |
D | gpio_keys.c | 48 unsigned int wakeirq; member 676 if (!button->wakeirq) in gpio_keys_setup_key() 684 bdata->wakeirq = button->wakeirq; in gpio_keys_setup_key() 692 error = devm_request_any_context_irq(dev, bdata->wakeirq, isr, in gpio_keys_setup_key() 704 disable_irq(bdata->wakeirq); in gpio_keys_setup_key() 790 button->wakeirq = irq; in gpio_keys_get_devtree_pdata() 792 if (!button->irq && !button->wakeirq) in gpio_keys_get_devtree_pdata() 963 if (bdata->wakeirq) { in gpio_keys_button_enable_wakeup() 964 enable_irq(bdata->wakeirq); in gpio_keys_button_enable_wakeup() 976 if (bdata->wakeirq) { in gpio_keys_button_disable_wakeup() [all …]
|
/linux-6.12.1/drivers/phy/motorola/ |
D | phy-mapphone-mdm6600.c | 367 int error = 0, wakeirq; in phy_mdm6600_device_power_on() local 420 wakeirq = gpiod_to_irq(mode_gpio1); in phy_mdm6600_device_power_on() 421 if (wakeirq <= 0) in phy_mdm6600_device_power_on() 422 return wakeirq; in phy_mdm6600_device_power_on() 424 error = devm_request_threaded_irq(ddata->dev, wakeirq, NULL, in phy_mdm6600_device_power_on() 433 wakeirq, error); in phy_mdm6600_device_power_on()
|
/linux-6.12.1/include/linux/ |
D | gpio_keys.h | 38 unsigned int wakeirq; member
|
D | pm_wakeup.h | 48 struct wake_irq *wakeirq; member
|
D | pm.h | 695 struct wake_irq *wakeirq; member
|
/linux-6.12.1/drivers/pinctrl/qcom/ |
D | pinctrl-msm.h | 124 unsigned int wakeirq; member
|
D | pinctrl-msm.c | 1355 *parent = map->wakeirq; in msm_gpio_wakeirq()
|
/linux-6.12.1/drivers/tty/serial/ |
D | omap-serial.c | 129 int wakeirq; member 674 if (up->wakeirq) { in serial_omap_startup() 675 retval = dev_pm_set_dedicated_wake_irq(up->dev, up->wakeirq); in serial_omap_startup() 1546 int wakeirq = 0; in serial_omap_probe() local 1554 wakeirq = irq_of_parse_and_map(pdev->dev.of_node, 1); in serial_omap_probe() 1600 up->wakeirq = wakeirq; in serial_omap_probe() 1601 if (!up->wakeirq) in serial_omap_probe()
|
/linux-6.12.1/arch/arm/boot/dts/ti/omap/ |
D | motorola-mapphone-common.dtsi | 160 /* uart2_tx.sdmmc3_dat1 pad as wakeirq */ 174 /* gpio_100 with gpmc_wait2 pad as wakeirq */ 379 * pad as the shared wakeirq for the UART rather than the RX or CTS pad as we
|
D | omap3-evm-common.dtsi | 136 /* gpio_149 with uart1_rts pad as wakeirq */
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci-omap.c | 121 int wakeirq; member 1361 omap_host->wakeirq = of_irq_get_byname(dev->of_node, "wakeup"); in sdhci_omap_probe() 1362 if (omap_host->wakeirq == -EPROBE_DEFER) { in sdhci_omap_probe() 1366 if (omap_host->wakeirq > 0) { in sdhci_omap_probe() 1368 ret = dev_pm_set_dedicated_wake_irq(dev, omap_host->wakeirq); in sdhci_omap_probe()
|
/linux-6.12.1/drivers/i2c/ |
D | i2c-core-base.c | 547 int wakeirq; in i2c_device_probe() local 549 wakeirq = of_irq_get_byname(dev->of_node, "wakeup"); in i2c_device_probe() 550 if (wakeirq == -EPROBE_DEFER) { in i2c_device_probe() 551 status = wakeirq; in i2c_device_probe() 557 if (wakeirq > 0 && wakeirq != client->irq) in i2c_device_probe() 558 status = dev_pm_set_dedicated_wake_irq(dev, wakeirq); in i2c_device_probe()
|
/linux-6.12.1/drivers/tty/serial/8250/ |
D | 8250_omap.c | 139 int wakeirq; member 717 if (priv->wakeirq) { in omap_8250_startup() 718 ret = dev_pm_set_dedicated_wake_irq(port->dev, priv->wakeirq); in omap_8250_startup() 1588 priv->wakeirq = irq_of_parse_and_map(np, 1); in omap8250_probe()
|
/linux-6.12.1/drivers/acpi/ |
D | device_pm.c | 722 } else if (device_may_wakeup(dev) && dev->power.wakeirq) { in acpi_dev_pm_get_state()
|