Searched refs:vbus_irq (Results 1 – 7 of 7) sorted by relevance
/drivers/extcon/ |
D | extcon-qcom-spmi-misc.c | 26 int vbus_irq; member 61 if (info->vbus_irq > 0) { in qcom_usb_extcon_detect_cable() 63 ret = irq_get_irqchip_state(info->vbus_irq, in qcom_usb_extcon_detect_cable() 139 info->vbus_irq = platform_get_irq_byname_optional(pdev, "usb_vbus"); in qcom_usb_extcon_probe() 140 if (info->vbus_irq > 0) { in qcom_usb_extcon_probe() 141 ret = devm_request_threaded_irq(dev, info->vbus_irq, NULL, in qcom_usb_extcon_probe() 152 if (info->id_irq < 0 && info->vbus_irq < 0) { in qcom_usb_extcon_probe() 175 if (info->vbus_irq > 0) in qcom_usb_extcon_suspend() 176 ret = enable_irq_wake(info->vbus_irq); in qcom_usb_extcon_suspend() 190 if (info->vbus_irq > 0) in qcom_usb_extcon_resume() [all …]
|
D | extcon-usb-gpio.c | 31 int vbus_irq; member 170 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_extcon_probe() 171 if (info->vbus_irq < 0) { in usb_extcon_probe() 173 return info->vbus_irq; in usb_extcon_probe() 176 ret = devm_request_threaded_irq(dev, info->vbus_irq, NULL, in usb_extcon_probe() 219 ret = enable_irq_wake(info->vbus_irq); in usb_extcon_suspend() 250 ret = disable_irq_wake(info->vbus_irq); in usb_extcon_resume()
|
D | extcon-palmas.c | 165 palmas_vbus_irq_handler(palmas_usb->vbus_irq, palmas_usb); in palmas_enable_irq() 309 palmas_usb->vbus_irq = regmap_irq_get_virq(palmas->irq_data, in palmas_usb_probe() 312 palmas_usb->vbus_irq, NULL, in palmas_usb_probe() 319 palmas_usb->vbus_irq, status); in palmas_usb_probe() 373 enable_irq_wake(palmas_usb->vbus_irq); in palmas_usb_suspend() 390 disable_irq_wake(palmas_usb->vbus_irq); in palmas_usb_resume()
|
/drivers/usb/common/ |
D | usb-conn-gpio.c | 41 int vbus_irq; member 244 info->vbus_irq = gpiod_to_irq(info->vbus_gpiod); in usb_conn_probe() 245 if (info->vbus_irq < 0) { in usb_conn_probe() 247 ret = info->vbus_irq; in usb_conn_probe() 251 ret = devm_request_threaded_irq(dev, info->vbus_irq, NULL, in usb_conn_probe() 294 enable_irq_wake(info->vbus_irq); in usb_conn_suspend() 301 disable_irq(info->vbus_irq); in usb_conn_suspend() 316 disable_irq_wake(info->vbus_irq); in usb_conn_resume() 325 enable_irq(info->vbus_irq); in usb_conn_resume()
|
/drivers/usb/musb/ |
D | musb_dsps.c | 105 int vbus_irq; /* optional vbus irq */ member 151 if (glue->vbus_irq) in dsps_mod_timer_optional() 216 if (glue->vbus_irq) in dsps_check_status() 248 if (!glue->vbus_irq) { in dsps_check_status() 841 glue->vbus_irq = platform_get_irq_byname(pdev, "vbus"); in dsps_setup_optional_vbus_irq() 842 if (glue->vbus_irq == -EPROBE_DEFER) in dsps_setup_optional_vbus_irq() 845 if (glue->vbus_irq <= 0) { in dsps_setup_optional_vbus_irq() 846 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq() 850 error = devm_request_threaded_irq(glue->dev, glue->vbus_irq, in dsps_setup_optional_vbus_irq() 855 glue->vbus_irq = 0; in dsps_setup_optional_vbus_irq() [all …]
|
/drivers/phy/broadcom/ |
D | phy-bcm-ns2-usbdrd.c | 61 int vbus_irq; member 351 driver->vbus_irq = gpiod_to_irq(driver->vbus_gpiod); in ns2_drd_phy_probe() 352 if (driver->vbus_irq < 0) { in ns2_drd_phy_probe() 354 return driver->vbus_irq; in ns2_drd_phy_probe() 365 ret = devm_request_irq(dev, driver->vbus_irq, gpio_irq_handler, in ns2_drd_phy_probe()
|
/drivers/staging/emxx_udc/ |
D | emxx_udc.c | 38 static int vbus_irq; variable 3114 vbus_irq = gpiod_to_irq(vbus_gpio); in nbu2ss_drv_probe() 3115 irq_set_irq_type(vbus_irq, IRQ_TYPE_EDGE_BOTH); in nbu2ss_drv_probe() 3116 status = request_irq(vbus_irq, in nbu2ss_drv_probe() 3156 free_irq(vbus_irq, udc); in nbu2ss_drv_remove()
|