Home
last modified time | relevance | path

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

/linux/drivers/extcon/
H A Dextcon-max77693.c501 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max77693_muic_dock_handler()
502 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_dock_handler()
510 extcon_set_state_sync(info->edev, EXTCON_USB, false); in max77693_muic_dock_handler()
511 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_dock_handler()
526 extcon_set_state_sync(info->edev, dock_id, attached); in max77693_muic_dock_handler()
592 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max77693_muic_adc_ground_handler()
600 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max77693_muic_adc_ground_handler()
601 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max77693_muic_adc_ground_handler()
607 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max77693_muic_adc_ground_handler()
649 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max77693_muic_jig_handler()
[all …]
H A Dextcon-max8997.c325 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, attached); in max8997_muic_handle_usb()
328 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max8997_muic_handle_usb()
329 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max8997_muic_handle_usb()
355 extcon_set_state_sync(info->edev, EXTCON_DOCK, attached); in max8997_muic_handle_dock()
378 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max8997_muic_handle_jig_uart()
400 extcon_set_state_sync(info->edev, EXTCON_DISP_MHL, attached); in max8997_muic_adc_handler()
483 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max8997_muic_chg_handler()
487 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max8997_muic_chg_handler()
491 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max8997_muic_chg_handler()
495 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max8997_muic_chg_handler()
H A Dextcon-palmas.c53 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()
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()
H A Dextcon-ptn5150.c88 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, false); in ptn5150_check_state()
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()
101 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, true); in ptn5150_check_state()
143 extcon_set_state_sync(info->edev, in ptn5150_irq_work()
145 extcon_set_state_sync(info->edev, in ptn5150_irq_work()
H A Dextcon-max14577.c351 extcon_set_state_sync(info->edev, EXTCON_JIG, attached); in max14577_muic_jig_handler()
448 extcon_set_state_sync(info->edev, EXTCON_USB, attached); in max14577_muic_chg_handler()
449 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in max14577_muic_chg_handler()
453 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_DCP, in max14577_muic_chg_handler()
457 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_CDP, in max14577_muic_chg_handler()
461 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SLOW, in max14577_muic_chg_handler()
465 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_FAST, in max14577_muic_chg_handler()
H A Dextcon-axp288.c263 extcon_set_state_sync(info->edev, info->previous_cable, false); in axp288_handle_chrg_det_event()
265 extcon_set_state_sync(info->edev, EXTCON_USB, false); in axp288_handle_chrg_det_event()
268 extcon_set_state_sync(info->edev, cable, vbus_attach); in axp288_handle_chrg_det_event()
270 extcon_set_state_sync(info->edev, EXTCON_USB, in axp288_handle_chrg_det_event()
H A Dextcon-qcom-spmi-misc.c58 extcon_set_state_sync(info->edev, EXTCON_USB_HOST, !state); in qcom_usb_extcon_detect_cable()
73 extcon_set_state_sync(info->edev, EXTCON_USB, state); in qcom_usb_extcon_detect_cable()
H A Dextcon-intel-cht-wc.c272 extcon_set_state_sync(ext->edev, cable, state); in cht_wc_extcon_set_state()
274 extcon_set_state_sync(ext->edev, EXTCON_USB, state); in cht_wc_extcon_set_state()
328 extcon_set_state_sync(ext->edev, EXTCON_USB_HOST, ext->usb_host); in cht_wc_extcon_pwrsrc_event()
H A Dextcon-gpio.c53 extcon_set_state_sync(data->edev, data->extcon_id, state); in gpio_extcon_work()
H A Dextcon-lc824206xa.c333 extcon_set_state_sync(data->edev, data->previous_cable, false); in lc824206xa_work()
334 extcon_set_state_sync(data->edev, data->cable, true); in lc824206xa_work()
H A Dextcon-intel-int3496.c101 extcon_set_state_sync(data->edev, EXTCON_USB_HOST, !id); in int3496_do_usb_id()
H A Dextcon-rt8973a.c398 extcon_set_state_sync(info->edev, id, attached); in rt8973a_muic_cable_handler()
400 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in rt8973a_muic_cable_handler()
H A Dextcon-sm5502.c515 extcon_set_state_sync(info->edev, id, attached); in sm5502_muic_cable_handler()
517 extcon_set_state_sync(info->edev, EXTCON_CHG_USB_SDP, in sm5502_muic_cable_handler()
H A Dextcon-fsa9480.c212 extcon_set_state_sync(usbsw->edev, cable, attached); in fsa9480_handle_change()
H A Dextcon.c598 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, bool state) in extcon_set_state_sync() function
608 EXPORT_SYMBOL_GPL(extcon_set_state_sync);
/linux/drivers/usb/phy/
H A Dphy-tahvo.c116 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in check_vbus_state()
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()
370 extcon_set_state_sync(tu->extcon, EXTCON_USB, tu->vbus_state); in tahvo_usb_probe()
/linux/include/linux/
H A Dextcon-provider.h43 int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id,
103 static inline int extcon_set_state_sync(struct extcon_dev *edev, unsigned int id, in extcon_set_state_sync() function
/linux/drivers/phy/broadcom/
H A Dphy-bcm-ns2-usbdrd.c241 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()
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/drivers/phy/renesas/
H A Dphy-rcar-gen3-usb2.c155 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work()
156 extcon_set_state_sync(ch->extcon, EXTCON_USB, false); in rcar_gen3_phy_usb2_work()
158 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, false); in rcar_gen3_phy_usb2_work()
159 extcon_set_state_sync(ch->extcon, EXTCON_USB, true); in rcar_gen3_phy_usb2_work()
/linux/drivers/power/supply/
H A Dpm8916_lbc.c190 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()
H A Dqcom_smbb.c379 extcon_set_state_sync(chg->edev, EXTCON_USB, in smbb_usb_valid_handler()
H A Dbq24190_charger.c1748 ret = extcon_set_state_sync(bdi->edev, EXTCON_USB, otg_enabled); in bq24190_configure_usb_otg()
/linux/drivers/phy/rockchip/
H A Dphy-rockchip-inno-usb2.c722 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work()
725 extcon_set_state_sync(rphy->edev, in rockchip_usb2phy_otg_sm_work()
1063 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_id_irq()
1313 extcon_set_state_sync(rphy->edev, EXTCON_USB_HOST, !id); in rockchip_usb2phy_otg_port_init()
/linux/drivers/phy/allwinner/
H A Dphy-sun4i-usb.c635 extcon_set_state_sync(data->extcon, EXTCON_USB_HOST, in sun4i_usb_phy0_id_vbus_det_scan()
655 extcon_set_state_sync(data->extcon, EXTCON_USB, vbus_det); in sun4i_usb_phy0_id_vbus_det_scan()
/linux/drivers/usb/gadget/udc/
H A Drenesas_usb3.c492 extcon_set_state_sync(usb3->extcon, EXTCON_USB_HOST, usb3->extcon_host); in renesas_usb3_extcon_work()
493 extcon_set_state_sync(usb3->extcon, EXTCON_USB, usb3->extcon_usb); in renesas_usb3_extcon_work()