Home
last modified time | relevance | path

Searched full:extcon_usb (Results 1 – 25 of 37) sorted by relevance

12

/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-usbc-tusb320.c96 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 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-rtk-type-c.c224 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 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-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-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-intel-cht-wc.c95 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 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-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-gpio.c79 * connectors such as EXTCON_USB, EXTCON_DISP_HDMI and so on. extcon_id in gpio_extcon_probe()
/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()
/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()
/linux/drivers/power/supply/
H A Dpm8916_lbc.c72 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 Dmt2712-evb.dts44 extcon_usb: extcon_iddig { label
202 extcon = <&extcon_usb>;
H A Dmt8173-evb.dts42 extcon_usb: extcon_iddig { label
520 extcon = <&extcon_usb>;
/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()
/linux/include/linux/
H A Dextcon.h38 #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 Dsm6125-xiaomi-laurel-sprout.dts64 extcon_usb: usb-id { label
412 extcon = <&extcon_usb>;
H A Dsdm660-xiaomi-lavender.dts86 extcon_usb: extcon-usb { label
427 extcon = <&extcon_usb>;
H A Dsm6125-sony-xperia-seine-pdx201.dts43 extcon_usb: extcon-usb { label
535 extcon = <&extcon_usb>;

12