Lines Matching refs:usb_irq
29 static struct resource *ac_irq, *usb_irq; variable
205 if (!usb_irq && new_usb_status != usb_status) { in polling_work_func()
308 usb_irq = platform_get_resource_byname(pdev, IORESOURCE_IRQ, "usb"); in pda_power_probe()
362 if (usb_irq) { in pda_power_probe()
363 ret = request_irq(usb_irq->start, power_changed_isr, in pda_power_probe()
364 get_irq_flags(usb_irq), in pda_power_probe()
365 usb_irq->name, pda_psy_usb); in pda_power_probe()
395 if (ac_irq || usb_irq) in pda_power_probe()
402 if (pdata->is_usb_online && usb_irq) in pda_power_probe()
403 free_irq(usb_irq->start, pda_psy_usb); in pda_power_probe()
436 if (pdata->is_usb_online && usb_irq) in pda_power_remove()
437 free_irq(usb_irq->start, pda_psy_usb); in pda_power_remove()
480 if (usb_irq) in pda_power_suspend()
481 usb_wakeup_enabled = !enable_irq_wake(usb_irq->start); in pda_power_suspend()
490 if (usb_irq && usb_wakeup_enabled) in pda_power_resume()
491 disable_irq_wake(usb_irq->start); in pda_power_resume()