Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/base/power/
Dwakeirq.c30 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()
Dwakeup.c324 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()
Dpower.h46 extern void device_wakeup_attach_irq(struct device *dev, struct wake_irq *wakeirq);
54 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-v5.10/drivers/net/wireless/ti/wlcore/
Dsdio.c221 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()
Dwlcore.h188 int wakeirq; member
Dmain.c6651 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/
Dphy-mapphone-mdm6600.c378 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/
Dstm32-usart.c990 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()
Domap-serial.c128 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()
Dstm32-usart.h275 int wakeirq; member
/Linux-v5.10/drivers/pinctrl/qcom/
Dpinctrl-msm.h103 unsigned int wakeirq; member
Dpinctrl-msm.c1200 *parent = map->wakeirq; in msm_gpio_wakeirq()
/Linux-v5.10/include/linux/
Dpm_wakeup.h48 struct wake_irq *wakeirq; member
Dpm.h596 struct wake_irq *wakeirq; member
/Linux-v5.10/drivers/i2c/
Di2c-core-base.c490 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/
Domap3-evm-common.dtsi136 /* gpio_149 with uart1_rts pad as wakeirq */
Dmotorola-mapphone-common.dtsi375 /* 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/
D8250_omap.c116 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()