Home
last modified time | relevance | path

Searched refs:EXTCON_USB (Results 1 – 25 of 36) sorted by relevance

12

/openbmc/linux/drivers/extcon/
H A Dextcon-usbc-cros-ec.c36 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 Dextcon-fsa9480.c115 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 Dextcon-qcom-spmi-misc.c32 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 Dextcon-max3355.c23 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 Dextcon-ptn5150.c61 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 Dextcon-usb-gpio.c38 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 Dextcon-usbc-tusb320.c95 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 Dextcon-axp288.c92 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 Dextcon-palmas.c27 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 Dextcon-max77693.c198 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 Dextcon-rt8973a.c90 EXTCON_USB,
348 id = EXTCON_USB; in rt8973a_muic_cable_handler()
399 if (id == EXTCON_USB) in rt8973a_muic_cable_handler()
H A Dextcon-sm5502.c130 EXTCON_USB,
488 id = EXTCON_USB; in sm5502_muic_cable_handler()
516 if (id == EXTCON_USB) in sm5502_muic_cable_handler()
H A Dextcon-intel-cht-wc.c95 EXTCON_USB,
274 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state()
H A Dextcon-max14577.c143 EXTCON_USB,
448 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
H A Dextcon-max8997.c142 EXTCON_USB,
328 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max8997_muic_handle_usb()
H A Dextcon-intel-mrfld.c58 EXTCON_USB,
H A Dextcon-max77843.c121 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 Dsnps_udc_plat.c171 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 Dphy-omap-otg.c119 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 Dphy-tahvo.c56 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 Dphy-qcom-usb-hs.c158 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 Dphy-bcm-ns2-usbdrd.c73 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 Ddwc3-omap.c428 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 Dphy-rcar-gen3-usb2.c148 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 Dextcon.h38 #define EXTCON_USB 1 macro

12