/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-usbc-tusb320.c | 96 EXTCON_USB, 263 extcon_set_state(priv->edev, EXTCON_USB, in tusb320_extcon_irq_handler() 267 extcon_set_property(priv->edev, EXTCON_USB, in tusb320_extcon_irq_handler() 273 extcon_sync(priv->edev, EXTCON_USB); in tusb320_extcon_irq_handler() 429 extcon_set_property_capability(priv->edev, EXTCON_USB, in tusb320_extcon_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-rtk-type-c.c | 224 EXTCON_USB, 319 /* for EXTCON_USB device mode */ in switch_type_c_dr_mode() 320 extcon_set_state(type_c->edev, EXTCON_USB, is_device); in switch_type_c_dr_mode() 321 extcon_set_property(type_c->edev, EXTCON_USB, in switch_type_c_dr_mode() 324 extcon_set_property(type_c->edev, EXTCON_USB, in switch_type_c_dr_mode() 327 extcon_set_property(type_c->edev, EXTCON_USB, in switch_type_c_dr_mode() 343 /* sync EXTCON_USB and EXTCON_USB_HOST */ in switch_type_c_dr_mode() 344 extcon_sync(type_c->edev, EXTCON_USB); in switch_type_c_dr_mode() 1300 extcon_set_property_capability(type_c->edev, EXTCON_USB, in extcon_rtk_type_c_edev_register() 1302 extcon_set_property_capability(type_c->edev, EXTCON_USB, in extcon_rtk_type_c_edev_register() [all …]
|
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-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-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-intel-cht-wc.c | 95 EXTCON_USB, 268 /* Small helper to sync EXTCON_CHG_USB_SDP and EXTCON_USB state */ 274 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state()
|
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-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-gpio.c | 79 * connectors such as EXTCON_USB, EXTCON_DISP_HDMI and so on. extcon_id in gpio_extcon_probe()
|
/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()
|
/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()
|
/linux/drivers/power/supply/ |
H A D | pm8916_lbc.c | 72 EXTCON_USB, 190 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online); in pm8916_lbc_charger_state_changed_irq() 348 extcon_set_state_sync(chg->edev, EXTCON_USB, chg->online); in pm8916_lbc_charger_probe()
|
/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt2712-evb.dts | 44 extcon_usb: extcon_iddig { label 202 extcon = <&extcon_usb>;
|
H A D | mt8173-evb.dts | 42 extcon_usb: extcon_iddig { label 520 extcon = <&extcon_usb>;
|
/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()
|
/linux/include/linux/ |
H A D | extcon.h | 38 #define EXTCON_USB 1 macro 46 * appear together with EXTCON_USB. The same as ACA charger connector,
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sm6125-xiaomi-laurel-sprout.dts | 64 extcon_usb: usb-id { label 412 extcon = <&extcon_usb>;
|
H A D | sdm660-xiaomi-lavender.dts | 86 extcon_usb: extcon-usb { label 427 extcon = <&extcon_usb>;
|
H A D | sm6125-sony-xperia-seine-pdx201.dts | 43 extcon_usb: extcon-usb { label 535 extcon = <&extcon_usb>;
|