Lines Matching refs:pmdev
25 struct device *pmdev; member
33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() local
45 if (pmdev) in gpio_ir_recv_irq()
46 pm_runtime_get(pmdev); in gpio_ir_recv_irq()
52 if (pmdev) { in gpio_ir_recv_irq()
53 pm_runtime_mark_last_busy(pmdev); in gpio_ir_recv_irq()
54 pm_runtime_put_autosuspend(pmdev); in gpio_ir_recv_irq()
115 gpio_dev->pmdev = dev; in gpio_ir_recv_probe()
132 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_remove() local
134 if (pmdev) { in gpio_ir_recv_remove()
135 pm_runtime_get_sync(pmdev); in gpio_ir_recv_remove()
138 pm_runtime_disable(pmdev); in gpio_ir_recv_remove()
139 pm_runtime_put_noidle(pmdev); in gpio_ir_recv_remove()
140 pm_runtime_set_suspended(pmdev); in gpio_ir_recv_remove()