Home
last modified time | relevance | path

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

/linux-5.19.10/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(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.c171 palmas_id_irq_handler(palmas_usb->id_irq, palmas_usb); in palmas_enable_irq()
272 palmas_usb->id_irq = regmap_irq_get_virq(palmas->irq_data, in palmas_usb_probe()
275 palmas_usb->id_irq, in palmas_usb_probe()
282 palmas_usb->id_irq, status); in palmas_usb_probe()
378 enable_irq_wake(palmas_usb->id_irq); in palmas_usb_suspend()
395 disable_irq_wake(palmas_usb->id_irq); in palmas_usb_resume()
/linux-5.19.10/drivers/usb/common/
Dusb-conn-gpio.c40 int id_irq; member
226 info->id_irq = gpiod_to_irq(info->id_gpiod); in usb_conn_probe()
227 if (info->id_irq < 0) { in usb_conn_probe()
229 ret = info->id_irq; in usb_conn_probe()
233 ret = devm_request_threaded_irq(dev, info->id_irq, NULL, in usb_conn_probe()
290 disable_irq(info->id_irq); in usb_conn_suspend()
306 enable_irq(info->id_irq); in usb_conn_resume()
/linux-5.19.10/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c70 int id_irq; member
355 driver->id_irq = gpiod_to_irq(driver->id_gpiod); in ns2_drd_phy_probe()
356 if (driver->id_irq < 0) { in ns2_drd_phy_probe()
358 return driver->id_irq; in ns2_drd_phy_probe()
367 ret = devm_request_irq(dev, driver->id_irq, gpio_irq_handler, in ns2_drd_phy_probe()
/linux-5.19.10/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c191 int id_irq; member
1063 rport->id_irq = of_irq_get_byname(child_np, "otg-id"); in rockchip_usb2phy_port_irq_init()
1064 if (rport->id_irq < 0) { in rockchip_usb2phy_port_irq_init()
1066 ret = rport->id_irq; in rockchip_usb2phy_port_irq_init()
1070 ret = devm_request_threaded_irq(rphy->dev, rport->id_irq, in rockchip_usb2phy_port_irq_init()
/linux-5.19.10/include/linux/mfd/
Dpalmas.h574 int id_irq; member