Home
last modified time | relevance | path

Searched refs:EXTCON_USB_HOST (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v6.6/drivers/extcon/
Dextcon-usbc-cros-ec.c37 EXTCON_USB_HOST,
318 extcon_set_state(info->edev, EXTCON_USB_HOST, host_connected); in extcon_cros_ec_detect_cable()
323 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable()
329 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable()
338 extcon_set_property(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_detect_cable()
349 extcon_sync(info->edev, EXTCON_USB_HOST); in extcon_cros_ec_detect_cable()
437 extcon_set_property_capability(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_probe()
441 extcon_set_property_capability(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_probe()
447 extcon_set_property_capability(info->edev, EXTCON_USB_HOST, in extcon_cros_ec_probe()
Dextcon-ptn5150.c62 EXTCON_USB_HOST,
88 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in ptn5150_check_state()
101 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in ptn5150_check_state()
144 EXTCON_USB_HOST, false); in ptn5150_irq_work()
304 extcon_set_property_capability(info->edev, EXTCON_USB_HOST, in ptn5150_i2c_probe()
306 extcon_set_property_capability(info->edev, EXTCON_USB_HOST, in ptn5150_i2c_probe()
Dextcon-qcom-spmi-misc.c33 EXTCON_USB_HOST,
55 extcon_set_property(info->edev, EXTCON_USB_HOST, in qcom_usb_extcon_detect_cable()
58 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !state); in qcom_usb_extcon_detect_cable()
112 EXTCON_USB_HOST, EXTCON_PROP_USB_SS); in qcom_usb_extcon_probe()
Dextcon-palmas.c28 EXTCON_USB_HOST,
90 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
98 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
103 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
108 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
129 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_gpio_id_detect()
132 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_gpio_id_detect()
Dextcon-max3355.c24 EXTCON_USB_HOST,
39 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, false); in max3355_id_irq()
48 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, true); in max3355_id_irq()
Dextcon-usb-gpio.c39 EXTCON_USB_HOST,
75 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in usb_extcon_detect_cable()
80 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in usb_extcon_detect_cable()
Dextcon-usbc-tusb320.c96 EXTCON_USB_HOST,
264 extcon_set_state(priv->edev, EXTCON_USB_HOST, in tusb320_extcon_irq_handler()
269 extcon_set_property(priv->edev, EXTCON_USB_HOST, in tusb320_extcon_irq_handler()
273 extcon_sync(priv->edev, EXTCON_USB_HOST); in tusb320_extcon_irq_handler()
430 extcon_set_property_capability(priv->edev, EXTCON_USB_HOST, in tusb320_extcon_probe()
Dextcon-intel-int3496.c40 EXTCON_USB_HOST,
101 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
Dextcon-intel-mrfld.c59 EXTCON_USB_HOST,
147 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, usb_host); in mrfld_extcon_role_detect()
Dextcon-fsa9480.c114 EXTCON_USB_HOST,
127 [DEV_USB_OTG] = BIT_ULL(EXTCON_USB_HOST),
Dextcon-max77843.c122 EXTCON_USB_HOST,
387 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_adc_gnd_handler()
453 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_dock_handler()
Dextcon-intel-cht-wc.c96 EXTCON_USB_HOST,
328 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
Dextcon-max8997.c143 EXTCON_USB_HOST,
325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb()
Dextcon-rt8973a.c91 EXTCON_USB_HOST,
330 id = EXTCON_USB_HOST; in rt8973a_muic_cable_handler()
Dextcon-sm5502.c131 EXTCON_USB_HOST,
499 id = EXTCON_USB_HOST; in sm5502_muic_cable_handler()
/Linux-v6.6/drivers/usb/phy/
Dphy-omap-otg.c114 EXTCON_USB_HOST, &otg_dev->id_nb); in omap_otg_probe()
124 otg_dev->id = extcon_get_state(extcon, EXTCON_USB_HOST); in omap_otg_probe()
Dphy-tahvo.c57 EXTCON_USB_HOST,
125 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, true); in tahvo_usb_become_host()
144 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, false); in tahvo_usb_become_peripheral()
368 extcon_set_state_sync(tu->extcon, EXTCON_USB_HOST, in tahvo_usb_probe()
/Linux-v6.6/drivers/phy/broadcom/
Dphy-bcm-ns2-usbdrd.c74 EXTCON_USB_HOST,
241 extcon_set_state_sync(driver->edev, EXTCON_USB_HOST, true); in extcon_work()
246 extcon_set_state_sync(driver->edev, EXTCON_USB_HOST, false); in extcon_work()
/Linux-v6.6/drivers/usb/dwc3/
Ddwc3-omap.c434 EXTCON_USB_HOST, &omap->id_nb); in dwc3_omap_extcon_register()
443 if (extcon_get_state(edev, EXTCON_USB_HOST) == true) in dwc3_omap_extcon_register()
593 if (extcon_get_state(omap->edev, EXTCON_USB_HOST)) in dwc3_omap_complete()
Ddrd.c420 id = extcon_get_state(dwc->edev, EXTCON_USB_HOST); in dwc3_drd_update()
547 ret = extcon_register_notifier(dwc->edev, EXTCON_USB_HOST, in dwc3_drd_init()
595 extcon_unregister_notifier(dwc->edev, EXTCON_USB_HOST, in dwc3_drd_exit()
/Linux-v6.6/drivers/phy/
Dphy-lgm-usb.c56 ret = extcon_get_property(ta->phy.edev, EXTCON_USB_HOST, in get_flipped()
150 connected = extcon_get_state(ta->phy.edev, EXTCON_USB_HOST); in tca_work()
/Linux-v6.6/drivers/usb/mtu3/
Dmtu3_dr.c207 ret = devm_extcon_register_notifier(ssusb->dev, edev, EXTCON_USB_HOST, in ssusb_extcon_register()
214 ret = extcon_get_state(edev, EXTCON_USB_HOST); in ssusb_extcon_register()
/Linux-v6.6/drivers/phy/renesas/
Dphy-rcar-gen3-usb2.c147 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
150 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
606 EXTCON_USB_HOST,
/Linux-v6.6/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c74 EXTCON_USB_HOST,
653 if (extcon_get_state(rphy->edev, EXTCON_USB_HOST) > 0) { in rockchip_usb2phy_otg_sm_work()
727 if (extcon_get_state(rphy->edev, EXTCON_USB_HOST) == 0) { in rockchip_usb2phy_otg_sm_work()
1042 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_id_irq()
1283 EXTCON_USB_HOST, &rport->event_nb); in rockchip_usb2phy_otg_port_init()
1292 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_otg_port_init()
/Linux-v6.6/include/linux/
Dextcon.h39 #define EXTCON_USB_HOST 2 macro

12