/openbmc/linux/drivers/extcon/ |
H A D | extcon-usbc-cros-ec.c | 36 EXTCON_USB, 317 extcon_set_state(info->edev, EXTCON_USB, device_connected); in extcon_cros_ec_detect_cable() 320 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 326 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 335 extcon_set_property(info->edev, EXTCON_USB, in extcon_cros_ec_detect_cable() 348 extcon_sync(info->edev, EXTCON_USB); in extcon_cros_ec_detect_cable() 435 extcon_set_property_capability(info->edev, EXTCON_USB, in extcon_cros_ec_probe() 439 extcon_set_property_capability(info->edev, EXTCON_USB, in extcon_cros_ec_probe() 445 extcon_set_property_capability(info->edev, EXTCON_USB, in extcon_cros_ec_probe()
|
H A D | extcon-fsa9480.c | 115 EXTCON_USB, 128 [DEV_DEDICATED_CHG] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_CHG_USB_DCP), 129 [DEV_USB_CHG] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_CHG_USB_SDP), 130 [DEV_CAR_KIT] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_CHG_USB_SDP) 133 [DEV_USB] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_CHG_USB_SDP), 142 [DEV_JIG_USB_OFF] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_JIG), 143 [DEV_JIG_USB_ON] = BIT_ULL(EXTCON_USB) | BIT_ULL(EXTCON_JIG),
|
H A D | extcon-qcom-spmi-misc.c | 32 EXTCON_USB, 70 extcon_set_property(info->edev, EXTCON_USB, in qcom_usb_extcon_detect_cable() 73 extcon_set_state_sync(info->edev, EXTCON_USB, state); in qcom_usb_extcon_detect_cable() 110 EXTCON_USB, EXTCON_PROP_USB_SS); in qcom_usb_extcon_probe()
|
H A D | extcon-max3355.c | 23 EXTCON_USB, 40 extcon_set_state_sync(data->edev, EXTCON_USB, true); in max3355_id_irq() 47 extcon_set_state_sync(data->edev, EXTCON_USB, false); in max3355_id_irq()
|
H A D | extcon-ptn5150.c | 61 EXTCON_USB, 90 extcon_set_state_sync(info->edev, EXTCON_USB, true); in ptn5150_check_state() 94 extcon_set_state_sync(info->edev, EXTCON_USB, false); in ptn5150_check_state() 146 EXTCON_USB, false); in ptn5150_irq_work() 302 extcon_set_property_capability(info->edev, EXTCON_USB, in ptn5150_i2c_probe()
|
H A D | extcon-usb-gpio.c | 38 EXTCON_USB, 77 extcon_set_state_sync(info->edev, EXTCON_USB, false); in usb_extcon_detect_cable() 83 extcon_set_state_sync(info->edev, EXTCON_USB, true); in usb_extcon_detect_cable()
|
H A D | extcon-usbc-tusb320.c | 95 EXTCON_USB, 262 extcon_set_state(priv->edev, EXTCON_USB, in tusb320_extcon_irq_handler() 266 extcon_set_property(priv->edev, EXTCON_USB, in tusb320_extcon_irq_handler() 272 extcon_sync(priv->edev, EXTCON_USB); in tusb320_extcon_irq_handler() 428 extcon_set_property_capability(priv->edev, EXTCON_USB, in tusb320_extcon_probe()
|
H A D | extcon-axp288.c | 92 EXTCON_USB, 265 extcon_set_state_sync(info->edev, EXTCON_USB, false); in axp288_handle_chrg_det_event() 270 extcon_set_state_sync(info->edev, EXTCON_USB, in axp288_handle_chrg_det_event()
|
H A D | extcon-palmas.c | 27 EXTCON_USB, 53 extcon_set_state_sync(edev, EXTCON_USB, true); in palmas_vbus_irq_handler() 62 extcon_set_state_sync(edev, EXTCON_USB, false); in palmas_vbus_irq_handler()
|
H A D | extcon-max77693.c | 198 EXTCON_USB, 510 extcon_set_state_sync(info->edev, EXTCON_USB, false); in max77693_muic_dock_handler() 600 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77693_muic_adc_ground_handler() 829 extcon_set_state_sync(info->edev, EXTCON_USB, in max77693_muic_chg_handler() 900 extcon_set_state_sync(info->edev, EXTCON_USB, in max77693_muic_chg_handler()
|
H A D | extcon-rt8973a.c | 90 EXTCON_USB, 348 id = EXTCON_USB; in rt8973a_muic_cable_handler() 399 if (id == EXTCON_USB) in rt8973a_muic_cable_handler()
|
H A D | extcon-sm5502.c | 130 EXTCON_USB, 488 id = EXTCON_USB; in sm5502_muic_cable_handler() 516 if (id == EXTCON_USB) in sm5502_muic_cable_handler()
|
H A D | extcon-intel-cht-wc.c | 95 EXTCON_USB, 274 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state()
|
H A D | extcon-max14577.c | 143 EXTCON_USB, 448 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
|
H A D | extcon-max8997.c | 142 EXTCON_USB, 328 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max8997_muic_handle_usb()
|
H A D | extcon-intel-mrfld.c | 58 EXTCON_USB,
|
H A D | extcon-max77843.c | 121 EXTCON_USB, 552 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77843_muic_chg_handler()
|
/openbmc/linux/drivers/usb/gadget/udc/ |
H A D | snps_udc_plat.c | 171 ret = extcon_register_notifier(udc->edev, EXTCON_USB, in udc_plat_probe() 178 ret = extcon_get_state(udc->edev, EXTCON_USB); in udc_plat_probe() 218 extcon_unregister_notifier(udc->edev, EXTCON_USB, &udc->nb); in udc_plat_probe() 247 extcon_unregister_notifier(dev->edev, EXTCON_USB, &dev->nb); in udc_plat_remove() 260 if (extcon_get_state(udc->edev, EXTCON_USB) > 0) { in udc_plat_suspend() 290 if (extcon_get_state(udc->edev, EXTCON_USB) > 0) { in udc_plat_resume()
|
/openbmc/linux/drivers/usb/phy/ |
H A D | phy-omap-otg.c | 119 EXTCON_USB, &otg_dev->vbus_nb); in omap_otg_probe() 125 otg_dev->vbus = extcon_get_state(extcon, EXTCON_USB); in omap_otg_probe()
|
H A D | phy-tahvo.c | 56 EXTCON_USB, 116 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state() 370 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
|
/openbmc/linux/drivers/phy/qualcomm/ |
H A D | phy-qcom-usb-hs.c | 158 state = extcon_get_state(uphy->vbus_edev, EXTCON_USB); in qcom_usb_hs_phy_power_on() 162 ret = extcon_register_notifier(uphy->vbus_edev, EXTCON_USB, in qcom_usb_hs_phy_power_on() 185 extcon_unregister_notifier(uphy->vbus_edev, EXTCON_USB, in qcom_usb_hs_phy_power_off()
|
/openbmc/linux/drivers/phy/broadcom/ |
H A D | phy-bcm-ns2-usbdrd.c | 73 EXTCON_USB, 247 extcon_set_state_sync(driver->edev, EXTCON_USB, false); in extcon_work() 250 extcon_set_state_sync(driver->edev, EXTCON_USB, true); in extcon_work()
|
/openbmc/linux/drivers/usb/dwc3/ |
H A D | dwc3-omap.c | 428 EXTCON_USB, &omap->vbus_nb); in dwc3_omap_extcon_register() 438 if (extcon_get_state(edev, EXTCON_USB) == true) in dwc3_omap_extcon_register() 590 if (extcon_get_state(omap->edev, EXTCON_USB)) in dwc3_omap_complete()
|
/openbmc/linux/drivers/phy/renesas/ |
H A D | phy-rcar-gen3-usb2.c | 148 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work() 151 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work() 605 EXTCON_USB,
|
/openbmc/linux/include/linux/ |
H A D | extcon.h | 38 #define EXTCON_USB 1 macro
|