Home
last modified time | relevance | path

Searched refs:wakeirq (Results 1 – 21 of 21) sorted by relevance

/linux-6.12.1/drivers/base/power/
Dwakeirq.c27 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()
Dwakeup.c320 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()
Dpower.h50 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq);
58 struct wake_irq *wakeirq) {} in device_wakeup_attach_irq() argument
DMakefile2 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/
Dsdio.c219 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()
Dwlcore.h188 int wakeirq; member
Dmain.c6652 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/
Dgpio_keys.c48 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/
Dphy-mapphone-mdm6600.c367 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/
Dgpio_keys.h38 unsigned int wakeirq; member
Dpm_wakeup.h48 struct wake_irq *wakeirq; member
Dpm.h695 struct wake_irq *wakeirq; member
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-msm.h124 unsigned int wakeirq; member
Dpinctrl-msm.c1355 *parent = map->wakeirq; in msm_gpio_wakeirq()
/linux-6.12.1/drivers/tty/serial/
Domap-serial.c129 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/
Dmotorola-mapphone-common.dtsi160 /* 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
Domap3-evm-common.dtsi136 /* gpio_149 with uart1_rts pad as wakeirq */
/linux-6.12.1/drivers/mmc/host/
Dsdhci-omap.c121 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/
Di2c-core-base.c547 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/
D8250_omap.c139 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/
Ddevice_pm.c722 } else if (device_may_wakeup(dev) && dev->power.wakeirq) { in acpi_dev_pm_get_state()