Home
last modified time | relevance | path

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

12

/linux-6.1.9/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.c29 EXTCON_USB_HOST,
91 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
99 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
104 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_id_irq_handler()
109 extcon_set_state_sync(edev, EXTCON_USB_HOST, true); in palmas_id_irq_handler()
130 extcon_set_state_sync(edev, EXTCON_USB_HOST, false); in palmas_gpio_id_detect()
133 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.c92 EXTCON_USB_HOST,
261 extcon_set_state(priv->edev, EXTCON_USB_HOST, in tusb320_extcon_irq_handler()
266 extcon_set_property(priv->edev, EXTCON_USB_HOST, in tusb320_extcon_irq_handler()
270 extcon_sync(priv->edev, EXTCON_USB_HOST); in tusb320_extcon_irq_handler()
373 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,
388 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77843_muic_adc_gnd_handler()
454 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-rt8973a.c91 EXTCON_USB_HOST,
330 id = EXTCON_USB_HOST; in rt8973a_muic_cable_handler()
Dextcon-max8997.c143 EXTCON_USB_HOST,
325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb()
Dextcon-sm5502.c131 EXTCON_USB_HOST,
499 id = EXTCON_USB_HOST; in sm5502_muic_cable_handler()
/linux-6.1.9/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-6.1.9/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-6.1.9/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()
595 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-6.1.9/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-6.1.9/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-6.1.9/drivers/phy/rockchip/
Dphy-rockchip-inno-usb2.c71 EXTCON_USB_HOST,
571 if (extcon_get_state(rphy->edev, EXTCON_USB_HOST) > 0) { in rockchip_usb2phy_otg_sm_work()
645 if (extcon_get_state(rphy->edev, EXTCON_USB_HOST) == 0) { in rockchip_usb2phy_otg_sm_work()
954 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_id_irq()
1166 EXTCON_USB_HOST, &rport->event_nb); in rockchip_usb2phy_otg_port_init()
1175 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_otg_port_init()
/linux-6.1.9/drivers/phy/renesas/
Dphy-rcar-gen3-usb2.c149 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
152 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
608 EXTCON_USB_HOST,
/linux-6.1.9/include/linux/
Dextcon.h39 #define EXTCON_USB_HOST 2 macro

12