/Linux-v6.6/drivers/extcon/ |
D | extcon-usbc-cros-ec.c | 37 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()
|
D | extcon-ptn5150.c | 62 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()
|
D | extcon-qcom-spmi-misc.c | 33 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()
|
D | extcon-palmas.c | 28 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()
|
D | extcon-max3355.c | 24 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()
|
D | extcon-usb-gpio.c | 39 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()
|
D | extcon-usbc-tusb320.c | 96 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()
|
D | extcon-intel-int3496.c | 40 EXTCON_USB_HOST, 101 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
|
D | extcon-intel-mrfld.c | 59 EXTCON_USB_HOST, 147 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, usb_host); in mrfld_extcon_role_detect()
|
D | extcon-fsa9480.c | 114 EXTCON_USB_HOST, 127 [DEV_USB_OTG] = BIT_ULL(EXTCON_USB_HOST),
|
D | extcon-max77843.c | 122 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()
|
D | extcon-intel-cht-wc.c | 96 EXTCON_USB_HOST, 328 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
|
D | extcon-max8997.c | 143 EXTCON_USB_HOST, 325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb()
|
D | extcon-rt8973a.c | 91 EXTCON_USB_HOST, 330 id = EXTCON_USB_HOST; in rt8973a_muic_cable_handler()
|
D | extcon-sm5502.c | 131 EXTCON_USB_HOST, 499 id = EXTCON_USB_HOST; in sm5502_muic_cable_handler()
|
/Linux-v6.6/drivers/usb/phy/ |
D | phy-omap-otg.c | 114 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()
|
D | phy-tahvo.c | 57 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/ |
D | phy-bcm-ns2-usbdrd.c | 74 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/ |
D | dwc3-omap.c | 434 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()
|
D | drd.c | 420 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/ |
D | phy-lgm-usb.c | 56 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/ |
D | mtu3_dr.c | 207 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/ |
D | phy-rcar-gen3-usb2.c | 147 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/ |
D | phy-rockchip-inno-usb2.c | 74 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/ |
D | extcon.h | 39 #define EXTCON_USB_HOST 2 macro
|