Home
last modified time | relevance | path

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

/linux/drivers/base/power/
H A 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()
H A 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()
H A 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
H A DMakefile2 obj-$(CONFIG_PM) += sysfs.o generic_ops.o common.o qos.o runtime.o wakeirq.o
/linux/drivers/net/wireless/ti/wlcore/
H A 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()
H A Dwlcore.h188 int wakeirq; member
H A 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/drivers/input/keyboard/
H A 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/drivers/phy/motorola/
H A 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/include/linux/
H A Dgpio_keys.h38 unsigned int wakeirq; member
H A Dpm_wakeup.h48 struct wake_irq *wakeirq; member
H A Dpm.h695 struct wake_irq *wakeirq; member
/linux/drivers/pinctrl/qcom/
H A Dpinctrl-msm.h124 unsigned int wakeirq; member
H A Dpinctrl-msm.c1355 *parent = map->wakeirq; in msm_gpio_wakeirq()
/linux/arch/arm/boot/dts/ti/omap/
H A 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
H A Domap3-evm-common.dtsi136 /* gpio_149 with uart1_rts pad as wakeirq */
/linux/drivers/mmc/host/
H A 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/drivers/i2c/
H A 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/drivers/tty/serial/8250/
H A 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/drivers/acpi/
H A Ddevice_pm.c722 } else if (device_may_wakeup(dev) && dev->power.wakeirq) { in acpi_dev_pm_get_state()