Home
last modified time | relevance | path

Searched refs:vbus_irq (Results 1 – 8 of 8) sorted by relevance

/Linux-v6.6/drivers/extcon/
Dextcon-qcom-spmi-misc.c26 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 …]
Dextcon-usb-gpio.c31 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()
Dextcon-palmas.c165 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()
/Linux-v6.6/drivers/usb/common/
Dusb-conn-gpio.c41 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()
/Linux-v6.6/drivers/usb/musb/
Dmusb_dsps.c105 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 …]
/Linux-v6.6/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c61 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()
/Linux-v6.6/drivers/staging/emxx_udc/
Demxx_udc.c38 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()
/Linux-v6.6/include/linux/mfd/
Dpalmas.h567 int vbus_irq; member