/Linux-v5.10/drivers/base/power/ |
D | wakeirq.c | 30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 36 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq() 89 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_clear_wake_irq() 97 dev->power.wakeirq = NULL; in dev_pm_clear_wake_irq() 232 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq() 249 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq() 273 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_enable_wake_irq_check() 300 struct wake_irq *wirq = dev->power.wakeirq; in dev_pm_disable_wake_irq_check()
|
D | wakeup.c | 324 if (dev->power.wakeirq) in device_wakeup_attach() 325 device_wakeup_attach_irq(dev, dev->power.wakeirq); in device_wakeup_attach() 371 struct wake_irq *wakeirq) in device_wakeup_attach_irq() argument 379 if (ws->wakeirq) in device_wakeup_attach_irq() 382 ws->wakeirq = wakeirq; in device_wakeup_attach_irq() 399 ws->wakeirq = NULL; in device_wakeup_detach_irq() 414 dev_pm_arm_wake_irq(ws->wakeirq); in device_wakeup_arm_wake_irqs() 430 dev_pm_disarm_wake_irq(ws->wakeirq); in device_wakeup_disarm_wake_irqs()
|
D | power.h | 46 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq); 54 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-v5.10/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 221 static int wlcore_probe_of(struct device *dev, int *irq, int *wakeirq, in wlcore_probe_of() argument 239 *wakeirq = irq_of_parse_and_map(np, 1); in wlcore_probe_of() 250 static int wlcore_probe_of(struct device *dev, int *irq, int *wakeirq, in wlcore_probe_of() argument 265 int irq, wakeirq, num_irqs; in wl1271_probe() local 290 ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); in wl1271_probe() 334 if (wakeirq > 0) { in wl1271_probe() 335 res[1].start = wakeirq; in wl1271_probe() 337 irqd_get_trigger_type(irq_get_irq_data(wakeirq)); in wl1271_probe()
|
D | wlcore.h | 188 int wakeirq; member
|
D | main.c | 6651 wl->wakeirq = res->start; in wlcore_nvs_cb() 6653 ret = dev_pm_set_dedicated_wake_irq(wl->dev, wl->wakeirq); in wlcore_nvs_cb() 6655 wl->wakeirq = -ENODEV; in wlcore_nvs_cb() 6657 wl->wakeirq = -ENODEV; in wlcore_nvs_cb() 6686 if (wl->wakeirq >= 0) in wlcore_nvs_cb() 6838 if (wl->wakeirq >= 0) { in wlcore_remove() 6840 wl->wakeirq = -ENODEV; in wlcore_remove()
|
/Linux-v5.10/drivers/phy/motorola/ |
D | phy-mapphone-mdm6600.c | 378 int error = 0, wakeirq; in phy_mdm6600_device_power_on() local 431 wakeirq = gpiod_to_irq(mode_gpio1); in phy_mdm6600_device_power_on() 432 if (wakeirq <= 0) in phy_mdm6600_device_power_on() 433 return wakeirq; in phy_mdm6600_device_power_on() 435 error = devm_request_threaded_irq(ddata->dev, wakeirq, NULL, in phy_mdm6600_device_power_on() 444 wakeirq, error); in phy_mdm6600_device_power_on()
|
/Linux-v5.10/drivers/tty/serial/ |
D | stm32-usart.c | 990 stm32port->wakeirq = platform_get_irq_optional(pdev, 1); in stm32_init_port() 991 if (stm32port->wakeirq <= 0 && stm32port->wakeirq != -ENXIO) in stm32_init_port() 992 return stm32port->wakeirq ? : -ENODEV; in stm32_init_port() 1225 if (stm32port->wakeirq > 0) { in stm32_serial_probe() 1231 stm32port->wakeirq); in stm32_serial_probe() 1260 if (stm32port->wakeirq > 0) in stm32_serial_probe() 1264 if (stm32port->wakeirq > 0) in stm32_serial_probe() 1302 if (stm32_port->wakeirq > 0) { in stm32_serial_remove() 1425 if (stm32_port->wakeirq <= 0) in stm32_serial_enable_wakeup()
|
D | omap-serial.c | 128 int wakeirq; member 727 if (up->wakeirq) { in serial_omap_startup() 728 retval = dev_pm_set_dedicated_wake_irq(up->dev, up->wakeirq); in serial_omap_startup() 1648 int wakeirq = 0; in serial_omap_probe() local 1656 wakeirq = irq_of_parse_and_map(pdev->dev.of_node, 1); in serial_omap_probe() 1703 up->wakeirq = wakeirq; in serial_omap_probe() 1704 if (!up->wakeirq) in serial_omap_probe()
|
D | stm32-usart.h | 275 int wakeirq; member
|
/Linux-v5.10/drivers/pinctrl/qcom/ |
D | pinctrl-msm.h | 103 unsigned int wakeirq; member
|
D | pinctrl-msm.c | 1200 *parent = map->wakeirq; in msm_gpio_wakeirq()
|
/Linux-v5.10/include/linux/ |
D | pm_wakeup.h | 48 struct wake_irq *wakeirq; member
|
D | pm.h | 596 struct wake_irq *wakeirq; member
|
/Linux-v5.10/drivers/i2c/ |
D | i2c-core-base.c | 490 int wakeirq; in i2c_device_probe() local 492 wakeirq = of_irq_get_byname(dev->of_node, "wakeup"); in i2c_device_probe() 493 if (wakeirq == -EPROBE_DEFER) { in i2c_device_probe() 494 status = wakeirq; in i2c_device_probe() 500 if (wakeirq > 0 && wakeirq != client->irq) in i2c_device_probe() 501 status = dev_pm_set_dedicated_wake_irq(dev, wakeirq); in i2c_device_probe()
|
/Linux-v5.10/arch/arm/boot/dts/ |
D | omap3-evm-common.dtsi | 136 /* gpio_149 with uart1_rts pad as wakeirq */
|
D | motorola-mapphone-common.dtsi | 375 /* uart2_tx.sdmmc3_dat1 pad as wakeirq */ 389 /* gpio_100 with gpmc_wait2 pad as wakeirq */ 730 * pad as the shared wakeirq for the UART rather than the RX or CTS pad as we
|
/Linux-v5.10/drivers/tty/serial/8250/ |
D | 8250_omap.c | 116 int wakeirq; member 625 if (priv->wakeirq) { in omap_8250_startup() 626 ret = dev_pm_set_dedicated_wake_irq(port->dev, priv->wakeirq); in omap_8250_startup() 1302 priv->wakeirq = irq_of_parse_and_map(np, 1); in omap8250_probe()
|