Home
last modified time | relevance | path

Searched refs:id_irq (Results 1 – 6 of 6) sorted by relevance

/drivers/extcon/
Dextcon-qcom-spmi-misc.c25 int id_irq; member
46 if (info->id_irq > 0) { in qcom_usb_extcon_detect_cable()
48 ret = irq_get_irqchip_state(info->id_irq, in qcom_usb_extcon_detect_cable()
126 info->id_irq = platform_get_irq_byname_optional(pdev, "usb_id"); in qcom_usb_extcon_probe()
127 if (info->id_irq > 0) { in qcom_usb_extcon_probe()
128 ret = devm_request_threaded_irq(dev, info->id_irq, NULL, in qcom_usb_extcon_probe()
152 if (info->id_irq < 0 && info->vbus_irq < 0) { in qcom_usb_extcon_probe()
173 if (info->id_irq > 0) in qcom_usb_extcon_suspend()
174 ret = enable_irq_wake(info->id_irq); in qcom_usb_extcon_suspend()
188 if (info->id_irq > 0) in qcom_usb_extcon_resume()
[all …]
Dextcon-usb-gpio.c30 int id_irq; member
152 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_extcon_probe()
153 if (info->id_irq < 0) { in usb_extcon_probe()
155 return info->id_irq; in usb_extcon_probe()
158 ret = devm_request_threaded_irq(dev, info->id_irq, NULL, in usb_extcon_probe()
214 ret = enable_irq_wake(info->id_irq); in usb_extcon_suspend()
222 disable_irq_wake(info->id_irq); in usb_extcon_suspend()
245 ret = disable_irq_wake(info->id_irq); in usb_extcon_resume()
253 enable_irq_wake(info->id_irq); in usb_extcon_resume()
Dextcon-palmas.c170 palmas_id_irq_handler(palmas_usb->id_irq, palmas_usb); in palmas_enable_irq()
271 palmas_usb->id_irq = regmap_irq_get_virq(palmas->irq_data, in palmas_usb_probe()
274 palmas_usb->id_irq, in palmas_usb_probe()
281 palmas_usb->id_irq, status); in palmas_usb_probe()
377 enable_irq_wake(palmas_usb->id_irq); in palmas_usb_suspend()
394 disable_irq_wake(palmas_usb->id_irq); in palmas_usb_resume()
/drivers/usb/common/
Dusb-conn-gpio.c40 int id_irq; member
227 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe()
228 if (info->id_irq < 0) { in usb_conn_probe()
230 ret = info->id_irq; in usb_conn_probe()
234 ret = devm_request_threaded_irq(dev, info->id_irq, NULL, in usb_conn_probe()
292 enable_irq_wake(info->id_irq); in usb_conn_suspend()
299 disable_irq(info->id_irq); in usb_conn_suspend()
314 disable_irq_wake(info->id_irq); in usb_conn_resume()
323 enable_irq(info->id_irq); in usb_conn_resume()
/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c60 int id_irq; member
345 driver->id_irq = gpiod_to_irq(driver->id_gpiod); in ns2_drd_phy_probe()
346 if (driver->id_irq < 0) { in ns2_drd_phy_probe()
348 return driver->id_irq; in ns2_drd_phy_probe()
357 ret = devm_request_irq(dev, driver->id_irq, gpio_irq_handler, in ns2_drd_phy_probe()
/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c210 int id_irq; member
1182 rport->id_irq = of_irq_get_byname(child_np, "otg-id"); in rockchip_usb2phy_port_irq_init()
1183 if (rport->id_irq < 0) { in rockchip_usb2phy_port_irq_init()
1185 ret = rport->id_irq; in rockchip_usb2phy_port_irq_init()
1189 ret = devm_request_threaded_irq(rphy->dev, rport->id_irq, in rockchip_usb2phy_port_irq_init()